1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
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
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxChoicebook swig_types[32]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
245 #define SWIGTYPE_p_wxArrayString swig_types[34]
246 #define SWIGTYPE_p_wxListbook swig_types[35]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[36]
248 #define SWIGTYPE_p_wxSlider swig_types[37]
249 #define SWIGTYPE_p_wxStaticBox swig_types[38]
250 #define SWIGTYPE_p_wxArrayInt swig_types[39]
251 #define SWIGTYPE_p_wxContextHelp swig_types[40]
252 #define SWIGTYPE_p_long swig_types[41]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
254 #define SWIGTYPE_p_wxListEvent swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxListBox swig_types[45]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[46]
258 #define SWIGTYPE_p_wxSpinButton swig_types[47]
259 #define SWIGTYPE_p_wxButton swig_types[48]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[51]
263 #define SWIGTYPE_p_wxRadioBox swig_types[52]
264 #define SWIGTYPE_p_wxScrollBar swig_types[53]
265 #define SWIGTYPE_p_char swig_types[54]
266 #define SWIGTYPE_p_wxTreeItemId swig_types[55]
267 #define SWIGTYPE_p_wxComboBox swig_types[56]
268 #define SWIGTYPE_p_wxHelpEvent swig_types[57]
269 #define SWIGTYPE_p_wxListItem swig_types[58]
270 #define SWIGTYPE_p_wxNotebookSizer swig_types[59]
271 #define SWIGTYPE_p_wxSpinEvent swig_types[60]
272 #define SWIGTYPE_p_wxGenericDragImage swig_types[61]
273 #define SWIGTYPE_p_wxSpinCtrl swig_types[62]
274 #define SWIGTYPE_p_wxImageList swig_types[63]
275 #define SWIGTYPE_p_wxHelpProvider swig_types[64]
276 #define SWIGTYPE_p_wxTextAttr swig_types[65]
277 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
278 #define SWIGTYPE_p_wxPoint swig_types[67]
279 #define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxListbookEvent swig_types[69]
281 #define SWIGTYPE_p_wxNotebookEvent swig_types[70]
282 #define SWIGTYPE_p_wxObject swig_types[71]
283 #define SWIGTYPE_p_wxCursor swig_types[72]
284 #define SWIGTYPE_p_wxKeyEvent swig_types[73]
285 #define SWIGTYPE_p_wxWindow swig_types[74]
286 #define SWIGTYPE_p_wxString swig_types[75]
287 #define SWIGTYPE_p_wxBitmap swig_types[76]
288 #define SWIGTYPE_p_wxTreeEvent swig_types[77]
289 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxStaticText swig_types[80]
292 #define SWIGTYPE_p_wxControlWithItems swig_types[81]
293 #define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297 #define SWIGTYPE_p_wxValidator swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _controls_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_controls_
308 #define SWIG_name "_controls_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyControlNameStr(wxControlNameStr
);
377 const wxArrayString wxPyEmptyStringArray
;
379 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
384 SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
388 if (value
< min_value
) {
390 PyErr_Format(PyExc_OverflowError
,
391 "value %ld is less than '%s' minimum %ld",
392 value
, errmsg
, min_value
);
395 } else if (value
> max_value
) {
397 PyErr_Format(PyExc_OverflowError
,
398 "value %ld is greater than '%s' maximum %ld",
399 value
, errmsg
, max_value
);
407 // See my_fragments.i
408 SWIGSTATICINLINE(int)
409 SWIG_AsVal_long(PyObject
* obj
, long* val
)
411 if (PyNumber_Check(obj
)) {
412 if (val
) *val
= PyInt_AsLong(obj
);
416 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
417 obj
->ob_type
->tp_name
);
418 PyErr_SetObject(PyExc_TypeError
, errmsg
);
425 #if INT_MAX != LONG_MAX
426 SWIGSTATICINLINE(int)
427 SWIG_AsVal_int(PyObject
*obj
, int *val
)
429 const char* errmsg
= val
? "int" : 0;
431 if (SWIG_AsVal_long(obj
, &v
)) {
432 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
433 if (val
) *val
= swig_numeric_cast(v
, int);
442 PyErr_SetString(PyExc_TypeError
, "an int is expected");
447 SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject
*obj
, int *val
)
450 return SWIG_AsVal_long(obj
,(long*)val
);
455 SWIGSTATICINLINE(int)
456 SWIG_As_int(PyObject
* obj
)
459 if (!SWIG_AsVal_int(obj
, &v
)) {
461 this is needed to make valgrind/purify happier. the other
462 solution is throw an exception, but since this code should work
465 memset((void*)&v
, 0, sizeof(int));
471 SWIGSTATICINLINE(long)
472 SWIG_As_long(PyObject
* obj
)
475 if (!SWIG_AsVal_long(obj
, &v
)) {
477 this is needed to make valgrind/purify happier. the other
478 solution is throw an exception, but since this code should work
481 memset((void*)&v
, 0, sizeof(long));
487 SWIGSTATICINLINE(int)
488 SWIG_Check_int(PyObject
* obj
)
490 return SWIG_AsVal_int(obj
, (int*)0);
494 SWIGSTATICINLINE(int)
495 SWIG_Check_long(PyObject
* obj
)
497 return SWIG_AsVal_long(obj
, (long*)0);
500 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj
== Py_True
) {
507 if (val
) *val
= true;
510 if (obj
== Py_False
) {
511 if (val
) *val
= false;
515 if (SWIG_AsVal_int(obj
, &res
)) {
516 if (val
) *val
= (bool)res
;
520 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
526 SWIGSTATICINLINE(bool)
527 SWIG_As_bool(PyObject
* obj
)
530 if (!SWIG_AsVal_bool(obj
, &v
)) {
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
536 memset((void*)&v
, 0, sizeof(bool));
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject
* obj
)
545 return SWIG_AsVal_bool(obj
, (bool*)0);
548 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
549 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
550 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
551 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
552 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
553 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
555 #include <wx/checklst.h>
558 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
559 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
561 wxPyClientData
* data
= new wxPyClientData(clientData
);
562 self
->Insert(item
, pos
, data
);
564 self
->Insert(item
, pos
);
566 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
568 self
->GetSelections(lst
);
569 PyObject
*tup
= PyTuple_New(lst
.GetCount());
570 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
571 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
575 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
577 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
578 self
->GetItem(item
)->SetTextColour(c
);
581 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
583 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
584 self
->GetItem(item
)->SetBackgroundColour(c
);
587 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
589 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
590 self
->GetItem(item
)->SetFont(f
);
593 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
595 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
601 } else if (target
== Py_None
) {
605 if (!PyTuple_Check(target
)) {
607 target
= PyTuple_New(1);
608 PyTuple_SetItem(target
, 0, o2
);
611 PyTuple_SetItem(o3
, 0, o
);
614 target
= PySequence_Concat(o2
, o3
);
623 // See my_fragments.i
624 SWIGSTATICINLINE(int)
625 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
628 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
629 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
633 *val
= (unsigned long)v
;
638 SWIGSTATICINLINE(unsigned long)
639 SWIG_As_unsigned_SS_long(PyObject
* obj
)
642 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
644 this is needed to make valgrind/purify happier. the other
645 solution is throw an exception, but since this code should work
648 memset((void*)&v
, 0, sizeof(unsigned long));
654 SWIGSTATICINLINE(int)
655 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
657 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
660 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
661 self
->AppendText(text
);
663 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
664 return self
->GetValue().Mid(from
, to
- from
);
666 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
667 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
668 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
669 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
670 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
672 #include <wx/slider.h>
675 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
676 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
679 // implement dummy items for platforms that don't have this class
681 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
683 class wxToggleButton
: public wxControl
686 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
687 const wxPoint
&, const wxSize
&, long,
688 const wxValidator
&, const wxString
&)
689 { wxPyRaiseNotImplemented(); }
692 { wxPyRaiseNotImplemented(); }
696 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
698 SWIGSTATICINLINE(PyObject
* )
699 SWIG_From_unsigned_SS_long(unsigned long value
)
701 return (value
> LONG_MAX
) ?
702 PyLong_FromUnsignedLong(value
)
703 : PyInt_FromLong(swig_numeric_cast(value
,long));
706 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
707 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
708 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
710 Py_INCREF(udata
->m_obj
);
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
718 self
->SetClientData(new wxPyUserData(clientData
));
720 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
){
721 wxPyUserData
* udata
= NULL
;
722 if (clientData
&& clientData
!= Py_None
)
723 udata
= new wxPyUserData(clientData
);
724 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
725 shortHelp
, longHelp
, udata
);
727 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
){
728 wxPyUserData
* udata
= NULL
;
729 if (clientData
&& clientData
!= Py_None
)
730 udata
= new wxPyUserData(clientData
);
731 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
732 shortHelp
, longHelp
, udata
);
734 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
735 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
737 Py_INCREF(udata
->m_obj
);
744 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
745 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
748 #include <wx/listctrl.h>
750 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
755 PyObject
* func
= (PyObject
*)funcPtr
;
756 bool blocked
= wxPyBeginBlockThreads();
758 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
759 PyObject
* result
= PyEval_CallObject(func
, args
);
762 retval
= PyInt_AsLong(result
);
766 wxPyEndBlockThreads(blocked
);
770 // C++ Version of a Python aware class
771 class wxPyListCtrl
: public wxListCtrl
{
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
779 const wxValidator
& validator
,
780 const wxString
& name
) :
781 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
783 bool Create(wxWindow
* parent
, wxWindowID id
,
787 const wxValidator
& validator
,
788 const wxString
& name
) {
789 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
793 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
794 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
799 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
801 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
802 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
803 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
807 item
.SetMask( wxLIST_MASK_STATE
|
815 if (self
->GetColumn(col
, item
))
816 return new wxListItem(item
);
820 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
821 wxListItem
* info
= new wxListItem
;
822 info
->m_itemId
= itemId
;
824 info
->m_mask
= 0xFFFF;
825 self
->GetItem(*info
);
828 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
830 self
->GetItemPosition(item
, pos
);
833 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
835 self
->GetItemRect(item
, rect
, code
);
839 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
840 if (!PyCallable_Check(func
))
842 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
844 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
852 #include <wx/treectrl.h>
853 #include "wx/wxPython/pytree.h"
855 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
856 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
857 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
858 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
859 // C++ version of Python aware wxTreeCtrl
860 class wxPyTreeCtrl
: public wxTreeCtrl
{
861 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
863 wxPyTreeCtrl() : wxTreeCtrl() {}
864 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
868 const wxValidator
& validator
,
869 const wxString
& name
) :
870 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
872 bool Create(wxWindow
*parent
, wxWindowID id
,
876 const wxValidator
& validator
,
877 const wxString
& name
) {
878 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
882 int OnCompareItems(const wxTreeItemId
& item1
,
883 const wxTreeItemId
& item2
) {
886 bool blocked
= wxPyBeginBlockThreads();
887 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
888 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
889 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
894 wxPyEndBlockThreads(blocked
);
896 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
902 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
906 #if UINT_MAX < LONG_MAX
907 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
908 #define SWIG_From_unsigned_SS_int SWIG_From_long
911 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
912 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
917 SWIGSTATICINLINE(int)
918 SWIG_CheckUnsignedLongInRange(unsigned long value
,
919 unsigned long max_value
,
922 if (value
> max_value
) {
924 PyErr_Format(PyExc_OverflowError
,
925 "value %ld is greater than '%s' minimum %ld",
926 value
, errmsg
, max_value
);
934 #if UINT_MAX != ULONG_MAX
935 SWIGSTATICINLINE(int)
936 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
938 const char* errmsg
= val
? "unsigned int" : 0;
940 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
941 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
942 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
949 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
954 SWIGSTATICINLINE(unsigned int)
955 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
957 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
962 SWIGSTATICINLINE(unsigned int)
963 SWIG_As_unsigned_SS_int(PyObject
* obj
)
966 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
968 this is needed to make valgrind/purify happier. the other
969 solution is throw an exception, but since this code should work
972 memset((void*)&v
, 0, sizeof(unsigned int));
978 SWIGSTATICINLINE(int)
979 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
981 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
984 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
985 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
987 data
= new wxPyTreeItemData();
988 data
->SetId(item
); // set the id
989 self
->SetItemData(item
, data
);
993 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
994 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
996 data
= new wxPyTreeItemData();
997 data
->SetId(item
); // set the id
998 self
->SetItemData(item
, data
);
1000 return data
->GetData();
1002 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1003 data
->SetId(item
); // set the id
1004 self
->SetItemData(item
, data
);
1006 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1007 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1009 data
= new wxPyTreeItemData(obj
);
1010 data
->SetId(item
); // set the id
1011 self
->SetItemData(item
, data
);
1015 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1016 bool blocked
= wxPyBeginBlockThreads();
1017 PyObject
* rval
= PyList_New(0);
1018 wxArrayTreeItemIds array
;
1020 num
= self
->GetSelections(array
);
1021 for (x
=0; x
< num
; x
++) {
1022 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1023 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1024 PyList_Append(rval
, item
);
1027 wxPyEndBlockThreads(blocked
);
1030 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1032 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1033 bool blocked
= wxPyBeginBlockThreads();
1034 PyObject
* tup
= PyTuple_New(2);
1035 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1036 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1037 wxPyEndBlockThreads(blocked
);
1040 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1041 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1042 bool blocked
= wxPyBeginBlockThreads();
1043 PyObject
* tup
= PyTuple_New(2);
1044 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1045 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1046 wxPyEndBlockThreads(blocked
);
1049 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1051 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1052 bool blocked
= wxPyBeginBlockThreads();
1053 wxRect
* r
= new wxRect(rect
);
1054 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
1055 wxPyEndBlockThreads(blocked
);
1061 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1063 SWIGSTATICINLINE(PyObject
*)
1064 SWIG_From_bool(bool value
)
1066 PyObject
*obj
= value
? Py_True
: Py_False
;
1072 // C++ version of Python aware wxControl
1073 class wxPyControl
: public wxControl
1075 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1077 wxPyControl() : wxControl() {}
1078 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1079 const wxPoint
& pos
= wxDefaultPosition
,
1080 const wxSize
& size
= wxDefaultSize
,
1082 const wxValidator
& validator
=wxDefaultValidator
,
1083 const wxString
& name
= wxPyControlNameStr
)
1084 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1086 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1088 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1089 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1090 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1091 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1093 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1094 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1095 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1097 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1098 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1100 DEC_PYCALLBACK__(InitDialog
);
1101 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1102 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1103 DEC_PYCALLBACK_BOOL_(Validate
);
1105 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1106 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1107 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1109 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1110 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1112 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1113 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1114 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1119 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1121 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1122 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1123 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1124 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1126 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1127 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1128 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1131 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1133 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1134 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1135 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1136 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1138 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1139 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1140 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1142 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1143 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1145 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1146 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1147 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1151 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1153 #include <wx/generic/dragimgg.h>
1158 static int _wrap_ButtonNameStr_set(PyObject
*) {
1159 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1164 static PyObject
*_wrap_ButtonNameStr_get() {
1169 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1171 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1178 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxWindow
*arg1
= (wxWindow
*) 0 ;
1181 int arg2
= (int) -1 ;
1182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1184 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1185 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1186 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1187 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1188 long arg6
= (long) 0 ;
1189 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1190 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1191 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1194 bool temp3
= false ;
1197 bool temp8
= false ;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj1
= 0 ;
1200 PyObject
* obj2
= 0 ;
1201 PyObject
* obj3
= 0 ;
1202 PyObject
* obj4
= 0 ;
1203 PyObject
* obj5
= 0 ;
1204 PyObject
* obj6
= 0 ;
1205 PyObject
* obj7
= 0 ;
1207 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 arg2
= (int)SWIG_As_int(obj1
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1219 arg3
= wxString_in_helper(obj2
);
1220 if (arg3
== NULL
) SWIG_fail
;
1227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1237 arg6
= (long)SWIG_As_long(obj5
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1241 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1245 PyErr_SetString(PyExc_TypeError
,"null reference");
1251 arg8
= wxString_in_helper(obj7
);
1252 if (arg8
== NULL
) SWIG_fail
;
1257 if (!wxPyCheckForApp()) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1287 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1296 if (!wxPyCheckForApp()) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 result
= (wxButton
*)new wxButton();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1310 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxButton
*arg1
= (wxButton
*) 0 ;
1313 wxWindow
*arg2
= (wxWindow
*) 0 ;
1314 int arg3
= (int) -1 ;
1315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1321 long arg7
= (long) 0 ;
1322 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1323 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1324 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1327 bool temp4
= false ;
1330 bool temp9
= false ;
1331 PyObject
* obj0
= 0 ;
1332 PyObject
* obj1
= 0 ;
1333 PyObject
* obj2
= 0 ;
1334 PyObject
* obj3
= 0 ;
1335 PyObject
* obj4
= 0 ;
1336 PyObject
* obj5
= 0 ;
1337 PyObject
* obj6
= 0 ;
1338 PyObject
* obj7
= 0 ;
1339 PyObject
* obj8
= 0 ;
1341 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg3
= (int)SWIG_As_int(obj2
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1355 arg4
= wxString_in_helper(obj3
);
1356 if (arg4
== NULL
) SWIG_fail
;
1363 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1369 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1373 arg7
= (long)SWIG_As_long(obj6
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1381 PyErr_SetString(PyExc_TypeError
,"null reference");
1387 arg9
= wxString_in_helper(obj8
);
1388 if (arg9
== NULL
) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1424 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
*resultobj
;
1426 wxButton
*arg1
= (wxButton
*) 0 ;
1427 PyObject
* obj0
= 0 ;
1429 (char *) "self", NULL
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 (arg1
)->SetDefault();
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 Py_INCREF(Py_None
); resultobj
= Py_None
;
1449 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= wxButton::GetDefaultSize();
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1466 resultptr
= new wxSize((wxSize
&) result
);
1467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1475 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1478 wxVisualAttributes result
;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "variant", NULL
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1486 arg1
= (int)SWIG_As_int(obj0
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1490 if (!wxPyCheckForApp()) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1498 wxVisualAttributes
* resultptr
;
1499 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1508 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1511 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1513 return Py_BuildValue((char *)"");
1515 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
*resultobj
;
1517 wxWindow
*arg1
= (wxWindow
*) 0 ;
1518 int arg2
= (int) -1 ;
1519 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1520 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1525 long arg6
= (long) wxBU_AUTODRAW
;
1526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1528 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1530 wxBitmapButton
*result
;
1533 bool temp8
= false ;
1534 PyObject
* obj0
= 0 ;
1535 PyObject
* obj1
= 0 ;
1536 PyObject
* obj2
= 0 ;
1537 PyObject
* obj3
= 0 ;
1538 PyObject
* obj4
= 0 ;
1539 PyObject
* obj5
= 0 ;
1540 PyObject
* obj6
= 0 ;
1541 PyObject
* obj7
= 0 ;
1543 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1550 arg2
= (int)SWIG_As_int(obj1
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1558 PyErr_SetString(PyExc_TypeError
,"null reference");
1565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1575 arg6
= (long)SWIG_As_long(obj5
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1583 PyErr_SetString(PyExc_TypeError
,"null reference");
1589 arg8
= wxString_in_helper(obj7
);
1590 if (arg8
== NULL
) SWIG_fail
;
1595 if (!wxPyCheckForApp()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1617 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*result
;
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1626 if (!wxPyCheckForApp()) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 result
= (wxBitmapButton
*)new wxBitmapButton();
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1640 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 wxWindow
*arg2
= (wxWindow
*) 0 ;
1644 int arg3
= (int) -1 ;
1645 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1646 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1651 long arg7
= (long) wxBU_AUTODRAW
;
1652 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1653 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1654 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1655 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1659 bool temp9
= false ;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1664 PyObject
* obj4
= 0 ;
1665 PyObject
* obj5
= 0 ;
1666 PyObject
* obj6
= 0 ;
1667 PyObject
* obj7
= 0 ;
1668 PyObject
* obj8
= 0 ;
1670 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 arg3
= (int)SWIG_As_int(obj2
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1687 PyErr_SetString(PyExc_TypeError
,"null reference");
1694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1704 arg7
= (long)SWIG_As_long(obj6
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1712 PyErr_SetString(PyExc_TypeError
,"null reference");
1718 arg9
= wxString_in_helper(obj8
);
1719 if (arg9
== NULL
) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1747 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1751 PyObject
* obj0
= 0 ;
1753 (char *) "self", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 result
= (arg1
)->GetBitmapLabel();
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1767 wxBitmap
* resultptr
;
1768 resultptr
= new wxBitmap((wxBitmap
&) result
);
1769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1777 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (arg1
)->GetBitmapDisabled();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxBitmap
* resultptr
;
1798 resultptr
= new wxBitmap((wxBitmap
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1807 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= (arg1
)->GetBitmapFocus();
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 wxBitmap
* resultptr
;
1828 resultptr
= new wxBitmap((wxBitmap
&) result
);
1829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1837 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (arg1
)->GetBitmapSelected();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1857 wxBitmap
* resultptr
;
1858 resultptr
= new wxBitmap((wxBitmap
&) result
);
1859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1867 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 wxBitmap
*arg2
= 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "self",(char *) "bitmap", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1884 PyErr_SetString(PyExc_TypeError
,"null reference");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1904 wxBitmap
*arg2
= 0 ;
1905 PyObject
* obj0
= 0 ;
1906 PyObject
* obj1
= 0 ;
1908 (char *) "self",(char *) "bitmap", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1918 PyErr_SetString(PyExc_TypeError
,"null reference");
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 Py_INCREF(Py_None
); resultobj
= Py_None
;
1935 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1938 wxBitmap
*arg2
= 0 ;
1939 PyObject
* obj0
= 0 ;
1940 PyObject
* obj1
= 0 ;
1942 (char *) "self",(char *) "bitmap", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1952 PyErr_SetString(PyExc_TypeError
,"null reference");
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 Py_INCREF(Py_None
); resultobj
= Py_None
;
1969 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1972 wxBitmap
*arg2
= 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1976 (char *) "self",(char *) "bitmap", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1986 PyErr_SetString(PyExc_TypeError
,"null reference");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "x",(char *) "y", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetMargins(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2042 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_From_int((int)result
);
2062 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_From_int((int)result
);
2088 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2091 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2093 return Py_BuildValue((char *)"");
2095 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2096 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2101 static PyObject
*_wrap_CheckBoxNameStr_get() {
2106 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2108 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2115 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxWindow
*arg1
= (wxWindow
*) 0 ;
2118 int arg2
= (int) -1 ;
2119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
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 long arg6
= (long) 0 ;
2126 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2127 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2128 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2129 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2131 bool temp3
= false ;
2134 bool temp8
= false ;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2137 PyObject
* obj2
= 0 ;
2138 PyObject
* obj3
= 0 ;
2139 PyObject
* obj4
= 0 ;
2140 PyObject
* obj5
= 0 ;
2141 PyObject
* obj6
= 0 ;
2142 PyObject
* obj7
= 0 ;
2144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 arg2
= (int)SWIG_As_int(obj1
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2156 arg3
= wxString_in_helper(obj2
);
2157 if (arg3
== NULL
) SWIG_fail
;
2164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2174 arg6
= (long)SWIG_As_long(obj5
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2182 PyErr_SetString(PyExc_TypeError
,"null reference");
2188 arg8
= wxString_in_helper(obj7
);
2189 if (arg8
== NULL
) SWIG_fail
;
2194 if (!wxPyCheckForApp()) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2224 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2233 if (!wxPyCheckForApp()) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 result
= (wxCheckBox
*)new wxCheckBox();
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2247 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 wxWindow
*arg2
= (wxWindow
*) 0 ;
2251 int arg3
= (int) -1 ;
2252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2258 long arg7
= (long) 0 ;
2259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2261 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2264 bool temp4
= false ;
2267 bool temp9
= false ;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2270 PyObject
* obj2
= 0 ;
2271 PyObject
* obj3
= 0 ;
2272 PyObject
* obj4
= 0 ;
2273 PyObject
* obj5
= 0 ;
2274 PyObject
* obj6
= 0 ;
2275 PyObject
* obj7
= 0 ;
2276 PyObject
* obj8
= 0 ;
2278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 arg3
= (int)SWIG_As_int(obj2
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2292 arg4
= wxString_in_helper(obj3
);
2293 if (arg4
== NULL
) SWIG_fail
;
2300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2310 arg7
= (long)SWIG_As_long(obj6
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2318 PyErr_SetString(PyExc_TypeError
,"null reference");
2324 arg9
= wxString_in_helper(obj8
);
2325 if (arg9
== NULL
) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2361 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2363 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2365 PyObject
* obj0
= 0 ;
2367 (char *) "self", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 result
= (bool)(arg1
)->GetValue();
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2389 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2395 (char *) "self", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (bool)(arg1
)->IsChecked();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2417 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "state", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 arg2
= (bool)SWIG_As_bool(obj1
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 (arg1
)->SetValue(arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "self", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 resultobj
= SWIG_From_int((int)result
);
2472 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2476 PyObject
* obj0
= 0 ;
2477 PyObject
* obj1
= 0 ;
2479 (char *) "self",(char *) "state", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int)SWIG_As_int(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2507 (char *) "self", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2529 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2557 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2560 wxVisualAttributes result
;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "variant", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2568 arg1
= (int)SWIG_As_int(obj0
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2580 wxVisualAttributes
* resultptr
;
2581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2590 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2595 return Py_BuildValue((char *)"");
2597 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2598 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2603 static PyObject
*_wrap_ChoiceNameStr_get() {
2608 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2610 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2617 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxWindow
*arg1
= (wxWindow
*) 0 ;
2620 int arg2
= (int) -1 ;
2621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2625 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2626 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2627 long arg6
= (long) 0 ;
2628 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2629 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2630 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2631 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 bool temp5
= false ;
2636 bool temp8
= false ;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2639 PyObject
* obj2
= 0 ;
2640 PyObject
* obj3
= 0 ;
2641 PyObject
* obj4
= 0 ;
2642 PyObject
* obj5
= 0 ;
2643 PyObject
* obj6
= 0 ;
2644 PyObject
* obj7
= 0 ;
2646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 arg2
= (int)SWIG_As_int(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2670 if (! PySequence_Check(obj4
)) {
2671 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2674 arg5
= new wxArrayString
;
2676 int i
, len
=PySequence_Length(obj4
);
2677 for (i
=0; i
<len
; i
++) {
2678 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2680 PyObject
* str
= PyObject_Unicode(item
);
2682 PyObject
* str
= PyObject_Str(item
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg5
->Add(Py2wxString(str
));
2692 arg6
= (long)SWIG_As_long(obj5
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2700 PyErr_SetString(PyExc_TypeError
,"null reference");
2706 arg8
= wxString_in_helper(obj7
);
2707 if (arg8
== NULL
) SWIG_fail
;
2712 if (!wxPyCheckForApp()) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2721 if (temp5
) delete arg5
;
2730 if (temp5
) delete arg5
;
2740 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2749 if (!wxPyCheckForApp()) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 result
= (wxChoice
*)new wxChoice();
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2763 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxChoice
*arg1
= (wxChoice
*) 0 ;
2766 wxWindow
*arg2
= (wxWindow
*) 0 ;
2767 int arg3
= (int) -1 ;
2768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2772 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2773 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2774 long arg7
= (long) 0 ;
2775 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2776 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2777 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2778 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2782 bool temp6
= false ;
2783 bool temp9
= false ;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2787 PyObject
* obj3
= 0 ;
2788 PyObject
* obj4
= 0 ;
2789 PyObject
* obj5
= 0 ;
2790 PyObject
* obj6
= 0 ;
2791 PyObject
* obj7
= 0 ;
2792 PyObject
* obj8
= 0 ;
2794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 arg3
= (int)SWIG_As_int(obj2
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2820 if (! PySequence_Check(obj5
)) {
2821 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2824 arg6
= new wxArrayString
;
2826 int i
, len
=PySequence_Length(obj5
);
2827 for (i
=0; i
<len
; i
++) {
2828 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2830 PyObject
* str
= PyObject_Unicode(item
);
2832 PyObject
* str
= PyObject_Str(item
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2835 arg6
->Add(Py2wxString(str
));
2842 arg7
= (long)SWIG_As_long(obj6
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2850 PyErr_SetString(PyExc_TypeError
,"null reference");
2856 arg9
= wxString_in_helper(obj8
);
2857 if (arg9
== NULL
) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2872 if (temp6
) delete arg6
;
2881 if (temp6
) delete arg6
;
2891 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxChoice
*arg1
= (wxChoice
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "self",(char *) "n", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2904 arg2
= (int)SWIG_As_int(obj1
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->SetSelection(arg2
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxChoice
*arg1
= (wxChoice
*) 0 ;
2923 wxString
*arg2
= 0 ;
2925 bool temp2
= false ;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2929 (char *) "self",(char *) "string", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 arg2
= wxString_in_helper(obj1
);
2937 if (arg2
== NULL
) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2964 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxChoice
*arg1
= (wxChoice
*) 0 ;
2968 wxString
*arg3
= 0 ;
2969 bool temp3
= false ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2972 PyObject
* obj2
= 0 ;
2974 (char *) "self",(char *) "n",(char *) "string", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 arg2
= (int)SWIG_As_int(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 arg3
= wxString_in_helper(obj2
);
2984 if (arg3
== NULL
) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3012 wxVisualAttributes result
;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "variant", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3020 arg1
= (int)SWIG_As_int(obj0
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 if (!wxPyCheckForApp()) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 wxVisualAttributes
* resultptr
;
3033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3042 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3045 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3047 return Py_BuildValue((char *)"");
3049 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3050 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3055 static PyObject
*_wrap_ComboBoxNameStr_get() {
3060 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3062 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3069 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxWindow
*arg1
= (wxWindow
*) 0 ;
3072 int arg2
= (int) -1 ;
3073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3079 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3080 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3081 long arg7
= (long) 0 ;
3082 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3083 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3084 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3085 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3087 bool temp3
= false ;
3090 bool temp6
= false ;
3091 bool temp9
= false ;
3092 PyObject
* obj0
= 0 ;
3093 PyObject
* obj1
= 0 ;
3094 PyObject
* obj2
= 0 ;
3095 PyObject
* obj3
= 0 ;
3096 PyObject
* obj4
= 0 ;
3097 PyObject
* obj5
= 0 ;
3098 PyObject
* obj6
= 0 ;
3099 PyObject
* obj7
= 0 ;
3100 PyObject
* obj8
= 0 ;
3102 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= (int)SWIG_As_int(obj1
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3114 arg3
= wxString_in_helper(obj2
);
3115 if (arg3
== NULL
) SWIG_fail
;
3122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3133 if (! PySequence_Check(obj5
)) {
3134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3137 arg6
= new wxArrayString
;
3139 int i
, len
=PySequence_Length(obj5
);
3140 for (i
=0; i
<len
; i
++) {
3141 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3143 PyObject
* str
= PyObject_Unicode(item
);
3145 PyObject
* str
= PyObject_Str(item
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 arg6
->Add(Py2wxString(str
));
3155 arg7
= (long)SWIG_As_long(obj6
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3163 PyErr_SetString(PyExc_TypeError
,"null reference");
3169 arg9
= wxString_in_helper(obj8
);
3170 if (arg9
== NULL
) SWIG_fail
;
3175 if (!wxPyCheckForApp()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3188 if (temp6
) delete arg6
;
3201 if (temp6
) delete arg6
;
3211 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3220 if (!wxPyCheckForApp()) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= (wxComboBox
*)new wxComboBox();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3234 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3237 wxWindow
*arg2
= (wxWindow
*) 0 ;
3238 int arg3
= (int) -1 ;
3239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3241 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3242 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3243 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3244 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3245 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3246 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3247 long arg8
= (long) 0 ;
3248 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3249 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3250 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3251 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3253 bool temp4
= false ;
3256 bool temp7
= false ;
3257 bool temp10
= false ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3263 PyObject
* obj5
= 0 ;
3264 PyObject
* obj6
= 0 ;
3265 PyObject
* obj7
= 0 ;
3266 PyObject
* obj8
= 0 ;
3267 PyObject
* obj9
= 0 ;
3269 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 arg3
= (int)SWIG_As_int(obj2
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3283 arg4
= wxString_in_helper(obj3
);
3284 if (arg4
== NULL
) SWIG_fail
;
3291 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3302 if (! PySequence_Check(obj6
)) {
3303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3306 arg7
= new wxArrayString
;
3308 int i
, len
=PySequence_Length(obj6
);
3309 for (i
=0; i
<len
; i
++) {
3310 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3312 PyObject
* str
= PyObject_Unicode(item
);
3314 PyObject
* str
= PyObject_Str(item
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3317 arg7
->Add(Py2wxString(str
));
3324 arg8
= (long)SWIG_As_long(obj7
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3332 PyErr_SetString(PyExc_TypeError
,"null reference");
3338 arg10
= wxString_in_helper(obj9
);
3339 if (arg10
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3358 if (temp7
) delete arg7
;
3371 if (temp7
) delete arg7
;
3381 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3387 (char *) "self", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= ((wxComboBox
const *)arg1
)->GetValue();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3413 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3416 wxString
*arg2
= 0 ;
3417 bool temp2
= false ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "value", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= wxString_in_helper(obj1
);
3429 if (arg2
== NULL
) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetValue((wxString
const &)*arg2
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3484 (char *) "self", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "pos", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (long)SWIG_As_long(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetInsertionPoint(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_From_long((long)result
);
3584 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= SWIG_From_long((long)result
);
3610 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3615 wxString
*arg4
= 0 ;
3616 bool temp4
= false ;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 PyObject
* obj3
= 0 ;
3622 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 arg2
= (long)SWIG_As_long(obj1
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3630 arg3
= (long)SWIG_As_long(obj2
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 arg4
= wxString_in_helper(obj3
);
3634 if (arg4
== NULL
) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "n", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg2
= (int)SWIG_As_int(obj1
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetSelection(arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "from",(char *) "to", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 arg2
= (long)SWIG_As_long(obj1
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3705 arg3
= (long)SWIG_As_long(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetSelection(arg2
,arg3
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3724 wxString
*arg2
= 0 ;
3726 bool temp2
= false ;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "string", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= wxString_in_helper(obj1
);
3738 if (arg2
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3765 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3769 wxString
*arg3
= 0 ;
3770 bool temp3
= false ;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3775 (char *) "self",(char *) "n",(char *) "string", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 arg2
= (int)SWIG_As_int(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 arg3
= wxString_in_helper(obj2
);
3785 if (arg3
== NULL
) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "editable", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3823 arg2
= (bool)SWIG_As_bool(obj1
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->SetEditable(arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetInsertionPointEnd();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3871 PyObject
* obj2
= 0 ;
3873 (char *) "self",(char *) "from",(char *) "to", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= (long)SWIG_As_long(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3881 arg3
= (long)SWIG_As_long(obj2
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 (arg1
)->Remove(arg2
,arg3
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3900 wxVisualAttributes result
;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "variant", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3908 arg1
= (int)SWIG_As_int(obj0
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 wxVisualAttributes
* resultptr
;
3921 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3930 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3933 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3935 return Py_BuildValue((char *)"");
3937 static int _wrap_GaugeNameStr_set(PyObject
*) {
3938 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3943 static PyObject
*_wrap_GaugeNameStr_get() {
3948 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3950 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3957 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxWindow
*arg1
= (wxWindow
*) 0 ;
3960 int arg2
= (int) -1 ;
3961 int arg3
= (int) 100 ;
3962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3966 long arg6
= (long) wxGA_HORIZONTAL
;
3967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3969 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3974 bool temp8
= false ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3978 PyObject
* obj3
= 0 ;
3979 PyObject
* obj4
= 0 ;
3980 PyObject
* obj5
= 0 ;
3981 PyObject
* obj6
= 0 ;
3982 PyObject
* obj7
= 0 ;
3984 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= (int)SWIG_As_int(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 arg3
= (int)SWIG_As_int(obj2
);
3996 if (PyErr_Occurred()) SWIG_fail
;
4001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4011 arg6
= (long)SWIG_As_long(obj5
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4019 PyErr_SetString(PyExc_TypeError
,"null reference");
4025 arg8
= wxString_in_helper(obj7
);
4026 if (arg8
== NULL
) SWIG_fail
;
4031 if (!wxPyCheckForApp()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4053 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4062 if (!wxPyCheckForApp()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (wxGauge
*)new wxGauge();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4076 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4079 wxWindow
*arg2
= (wxWindow
*) 0 ;
4080 int arg3
= (int) -1 ;
4081 int arg4
= (int) 100 ;
4082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4086 long arg7
= (long) wxGA_HORIZONTAL
;
4087 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4088 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4089 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4090 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4094 bool temp9
= false ;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj2
= 0 ;
4098 PyObject
* obj3
= 0 ;
4099 PyObject
* obj4
= 0 ;
4100 PyObject
* obj5
= 0 ;
4101 PyObject
* obj6
= 0 ;
4102 PyObject
* obj7
= 0 ;
4103 PyObject
* obj8
= 0 ;
4105 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg3
= (int)SWIG_As_int(obj2
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 arg4
= (int)SWIG_As_int(obj3
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4134 arg7
= (long)SWIG_As_long(obj6
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4142 PyErr_SetString(PyExc_TypeError
,"null reference");
4148 arg9
= wxString_in_helper(obj8
);
4149 if (arg9
== NULL
) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "range", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int)SWIG_As_int(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetRange(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pos", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int)SWIG_As_int(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetValue(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_From_int((int)result
);
4287 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxGauge
*arg1
= (wxGauge
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4315 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxGauge
*arg1
= (wxGauge
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "w", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (int)SWIG_As_int(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetShadowWidth(arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxGauge
*arg1
= (wxGauge
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_From_int((int)result
);
4370 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxGauge
*arg1
= (wxGauge
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4377 (char *) "self",(char *) "w", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4383 arg2
= (int)SWIG_As_int(obj1
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBezelFace(arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxGauge
*arg1
= (wxGauge
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4405 (char *) "self", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int((int)result
);
4425 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4428 wxVisualAttributes result
;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "variant", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4436 arg1
= (int)SWIG_As_int(obj0
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4440 if (!wxPyCheckForApp()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 wxVisualAttributes
* resultptr
;
4449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4458 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4461 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4463 return Py_BuildValue((char *)"");
4465 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4466 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4471 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4476 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4478 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4485 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4486 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4491 static PyObject
*_wrap_StaticBoxNameStr_get() {
4496 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4498 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4505 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4506 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4511 static PyObject
*_wrap_StaticTextNameStr_get() {
4516 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4518 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4525 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxWindow
*arg1
= (wxWindow
*) 0 ;
4528 int arg2
= (int) -1 ;
4529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4535 long arg6
= (long) 0 ;
4536 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4538 wxStaticBox
*result
;
4539 bool temp3
= false ;
4542 bool temp7
= false ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4545 PyObject
* obj2
= 0 ;
4546 PyObject
* obj3
= 0 ;
4547 PyObject
* obj4
= 0 ;
4548 PyObject
* obj5
= 0 ;
4549 PyObject
* obj6
= 0 ;
4551 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (int)SWIG_As_int(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4563 arg3
= wxString_in_helper(obj2
);
4564 if (arg3
== NULL
) SWIG_fail
;
4571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4581 arg6
= (long)SWIG_As_long(obj5
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4586 arg7
= wxString_in_helper(obj6
);
4587 if (arg7
== NULL
) SWIG_fail
;
4592 if (!wxPyCheckForApp()) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4622 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxStaticBox
*result
;
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4631 if (!wxPyCheckForApp()) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxStaticBox
*)new wxStaticBox();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4645 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4648 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 int arg3
= (int) -1 ;
4650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4660 bool temp4
= false ;
4663 bool temp8
= false ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4670 PyObject
* obj6
= 0 ;
4671 PyObject
* obj7
= 0 ;
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 arg3
= (int)SWIG_As_int(obj2
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4687 arg4
= wxString_in_helper(obj3
);
4688 if (arg4
== NULL
) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4701 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4705 arg7
= (long)SWIG_As_long(obj6
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 arg8
= wxString_in_helper(obj7
);
4711 if (arg8
== NULL
) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4750 wxVisualAttributes result
;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "variant", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4758 arg1
= (int)SWIG_As_int(obj0
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 wxVisualAttributes
* resultptr
;
4771 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4780 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4783 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4785 return Py_BuildValue((char *)"");
4787 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxWindow
*arg1
= (wxWindow
*) 0 ;
4790 int arg2
= (int) -1 ;
4791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4795 long arg5
= (long) wxLI_HORIZONTAL
;
4796 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4798 wxStaticLine
*result
;
4801 bool temp6
= false ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4805 PyObject
* obj3
= 0 ;
4806 PyObject
* obj4
= 0 ;
4807 PyObject
* obj5
= 0 ;
4809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4816 arg2
= (int)SWIG_As_int(obj1
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4832 arg5
= (long)SWIG_As_long(obj4
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4837 arg6
= wxString_in_helper(obj5
);
4838 if (arg6
== NULL
) SWIG_fail
;
4843 if (!wxPyCheckForApp()) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4865 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStaticLine
*result
;
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4874 if (!wxPyCheckForApp()) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxStaticLine
*)new wxStaticLine();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4888 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4891 wxWindow
*arg2
= (wxWindow
*) 0 ;
4892 int arg3
= (int) -1 ;
4893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4897 long arg6
= (long) wxLI_HORIZONTAL
;
4898 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4903 bool temp7
= false ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 arg3
= (int)SWIG_As_int(obj2
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4937 arg6
= (long)SWIG_As_long(obj5
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 arg7
= wxString_in_helper(obj6
);
4943 if (arg7
== NULL
) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4971 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)wxStaticLine::GetDefaultSize();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int((int)result
);
5021 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5024 wxVisualAttributes result
;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "variant", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5032 arg1
= (int)SWIG_As_int(obj0
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 if (!wxPyCheckForApp()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 wxVisualAttributes
* resultptr
;
5045 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5054 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5057 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5059 return Py_BuildValue((char *)"");
5061 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxWindow
*arg1
= (wxWindow
*) 0 ;
5064 int arg2
= (int) -1 ;
5065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5071 long arg6
= (long) 0 ;
5072 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5074 wxStaticText
*result
;
5075 bool temp3
= false ;
5078 bool temp7
= false ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5084 PyObject
* obj5
= 0 ;
5085 PyObject
* obj6
= 0 ;
5087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int)SWIG_As_int(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 arg3
= wxString_in_helper(obj2
);
5100 if (arg3
== NULL
) SWIG_fail
;
5107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5117 arg6
= (long)SWIG_As_long(obj5
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5122 arg7
= wxString_in_helper(obj6
);
5123 if (arg7
== NULL
) SWIG_fail
;
5128 if (!wxPyCheckForApp()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5158 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStaticText
*result
;
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxStaticText
*)new wxStaticText();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5181 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5184 wxWindow
*arg2
= (wxWindow
*) 0 ;
5185 int arg3
= (int) -1 ;
5186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5192 long arg7
= (long) 0 ;
5193 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5196 bool temp4
= false ;
5199 bool temp8
= false ;
5200 PyObject
* obj0
= 0 ;
5201 PyObject
* obj1
= 0 ;
5202 PyObject
* obj2
= 0 ;
5203 PyObject
* obj3
= 0 ;
5204 PyObject
* obj4
= 0 ;
5205 PyObject
* obj5
= 0 ;
5206 PyObject
* obj6
= 0 ;
5207 PyObject
* obj7
= 0 ;
5209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 arg3
= (int)SWIG_As_int(obj2
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5223 arg4
= wxString_in_helper(obj3
);
5224 if (arg4
== NULL
) SWIG_fail
;
5231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5241 arg7
= (long)SWIG_As_long(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5283 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5286 wxVisualAttributes result
;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "variant", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5294 arg1
= (int)SWIG_As_int(obj0
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 if (!wxPyCheckForApp()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 wxVisualAttributes
* resultptr
;
5307 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5316 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5319 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5321 return Py_BuildValue((char *)"");
5323 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxWindow
*arg1
= (wxWindow
*) 0 ;
5326 int arg2
= (int) -1 ;
5327 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5328 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5333 long arg6
= (long) 0 ;
5334 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5336 wxStaticBitmap
*result
;
5339 bool temp7
= false ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5342 PyObject
* obj2
= 0 ;
5343 PyObject
* obj3
= 0 ;
5344 PyObject
* obj4
= 0 ;
5345 PyObject
* obj5
= 0 ;
5346 PyObject
* obj6
= 0 ;
5348 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (int)SWIG_As_int(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5363 PyErr_SetString(PyExc_TypeError
,"null reference");
5370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5380 arg6
= (long)SWIG_As_long(obj5
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 arg7
= wxString_in_helper(obj6
);
5386 if (arg7
== NULL
) SWIG_fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5413 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxStaticBitmap
*result
;
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5422 if (!wxPyCheckForApp()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5436 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5439 wxWindow
*arg2
= (wxWindow
*) 0 ;
5440 int arg3
= (int) -1 ;
5441 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5442 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5447 long arg7
= (long) 0 ;
5448 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5453 bool temp8
= false ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 PyObject
* obj2
= 0 ;
5457 PyObject
* obj3
= 0 ;
5458 PyObject
* obj4
= 0 ;
5459 PyObject
* obj5
= 0 ;
5460 PyObject
* obj6
= 0 ;
5461 PyObject
* obj7
= 0 ;
5463 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 arg3
= (int)SWIG_As_int(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5480 PyErr_SetString(PyExc_TypeError
,"null reference");
5487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5497 arg7
= (long)SWIG_As_long(obj6
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 arg8
= wxString_in_helper(obj7
);
5503 if (arg8
== NULL
) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5531 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (arg1
)->GetBitmap();
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 wxBitmap
* resultptr
;
5552 resultptr
= new wxBitmap((wxBitmap
&) result
);
5553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5561 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5564 wxBitmap
*arg2
= 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "bitmap", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5578 PyErr_SetString(PyExc_TypeError
,"null reference");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "icon", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5612 PyErr_SetString(PyExc_TypeError
,"null reference");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5632 wxVisualAttributes result
;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "variant", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5640 arg1
= (int)SWIG_As_int(obj0
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 if (!wxPyCheckForApp()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 wxVisualAttributes
* resultptr
;
5653 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5662 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5667 return Py_BuildValue((char *)"");
5669 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5670 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5675 static PyObject
*_wrap_ListBoxNameStr_get() {
5680 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5682 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5689 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxWindow
*arg1
= (wxWindow
*) 0 ;
5692 int arg2
= (int) -1 ;
5693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5697 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5698 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5699 long arg6
= (long) 0 ;
5700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5702 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5707 bool temp5
= false ;
5708 bool temp8
= false ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 PyObject
* obj2
= 0 ;
5712 PyObject
* obj3
= 0 ;
5713 PyObject
* obj4
= 0 ;
5714 PyObject
* obj5
= 0 ;
5715 PyObject
* obj6
= 0 ;
5716 PyObject
* obj7
= 0 ;
5718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 arg2
= (int)SWIG_As_int(obj1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5742 if (! PySequence_Check(obj4
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg5
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj4
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5752 PyObject
* str
= PyObject_Unicode(item
);
5754 PyObject
* str
= PyObject_Str(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5757 arg5
->Add(Py2wxString(str
));
5764 arg6
= (long)SWIG_As_long(obj5
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5772 PyErr_SetString(PyExc_TypeError
,"null reference");
5778 arg8
= wxString_in_helper(obj7
);
5779 if (arg8
== NULL
) SWIG_fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5793 if (temp5
) delete arg5
;
5802 if (temp5
) delete arg5
;
5812 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxListBox
*)new wxListBox();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5835 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxListBox
*arg1
= (wxListBox
*) 0 ;
5838 wxWindow
*arg2
= (wxWindow
*) 0 ;
5839 int arg3
= (int) -1 ;
5840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5844 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5845 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5846 long arg7
= (long) 0 ;
5847 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5848 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5849 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5850 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5854 bool temp6
= false ;
5855 bool temp9
= false ;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 PyObject
* obj2
= 0 ;
5859 PyObject
* obj3
= 0 ;
5860 PyObject
* obj4
= 0 ;
5861 PyObject
* obj5
= 0 ;
5862 PyObject
* obj6
= 0 ;
5863 PyObject
* obj7
= 0 ;
5864 PyObject
* obj8
= 0 ;
5866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg3
= (int)SWIG_As_int(obj2
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5892 if (! PySequence_Check(obj5
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg6
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj5
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg6
->Add(Py2wxString(str
));
5914 arg7
= (long)SWIG_As_long(obj6
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5922 PyErr_SetString(PyExc_TypeError
,"null reference");
5928 arg9
= wxString_in_helper(obj8
);
5929 if (arg9
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 if (temp6
) delete arg6
;
5953 if (temp6
) delete arg6
;
5963 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 wxString
*arg2
= 0 ;
5968 PyObject
*arg4
= (PyObject
*) NULL
;
5969 bool temp2
= false ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5975 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 arg2
= wxString_in_helper(obj1
);
5983 if (arg2
== NULL
) SWIG_fail
;
5986 arg3
= (int)SWIG_As_int(obj2
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxListBox
*arg1
= (wxListBox
*) 0 ;
6016 wxArrayString
*arg2
= 0 ;
6018 bool temp2
= false ;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 PyObject
* obj2
= 0 ;
6023 (char *) "self",(char *) "items",(char *) "pos", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 if (! PySequence_Check(obj1
)) {
6031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6034 arg2
= new wxArrayString
;
6036 int i
, len
=PySequence_Length(obj1
);
6037 for (i
=0; i
<len
; i
++) {
6038 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6040 PyObject
* str
= PyObject_Unicode(item
);
6042 PyObject
* str
= PyObject_Str(item
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6045 arg2
->Add(Py2wxString(str
));
6050 arg3
= (int)SWIG_As_int(obj2
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 if (temp2
) delete arg2
;
6066 if (temp2
) delete arg2
;
6072 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxListBox
*arg1
= (wxListBox
*) 0 ;
6075 wxArrayString
*arg2
= 0 ;
6076 bool temp2
= false ;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6080 (char *) "self",(char *) "items", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if (! PySequence_Check(obj1
)) {
6088 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6091 arg2
= new wxArrayString
;
6093 int i
, len
=PySequence_Length(obj1
);
6094 for (i
=0; i
<len
; i
++) {
6095 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6097 PyObject
* str
= PyObject_Unicode(item
);
6099 PyObject
* str
= PyObject_Str(item
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6102 arg2
->Add(Py2wxString(str
));
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->Set((wxArrayString
const &)*arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 if (temp2
) delete arg2
;
6121 if (temp2
) delete arg2
;
6127 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxListBox
*arg1
= (wxListBox
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6135 (char *) "self",(char *) "n", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg2
= (int)SWIG_As_int(obj1
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6159 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxListBox
*arg1
= (wxListBox
*) 0 ;
6163 bool arg3
= (bool) true ;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "n",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 arg2
= (int)SWIG_As_int(obj1
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 arg3
= (bool)SWIG_As_bool(obj2
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->SetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxListBox
*arg1
= (wxListBox
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6201 (char *) "self",(char *) "n", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 arg2
= (int)SWIG_As_int(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 (arg1
)->Select(arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxListBox
*arg1
= (wxListBox
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "n", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int)SWIG_As_int(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->Deselect(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxListBox
*arg1
= (wxListBox
*) 0 ;
6255 int arg2
= (int) -1 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "itemToLeaveSelected", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg2
= (int)SWIG_As_int(obj1
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->DeselectAll(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxListBox
*arg1
= (wxListBox
*) 0 ;
6286 wxString
*arg2
= 0 ;
6287 bool arg3
= (bool) true ;
6289 bool temp2
= false ;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6292 PyObject
* obj2
= 0 ;
6294 (char *) "self",(char *) "s",(char *) "select", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 arg2
= wxString_in_helper(obj1
);
6302 if (arg2
== NULL
) SWIG_fail
;
6306 arg3
= (bool)SWIG_As_bool(obj2
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6333 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxListBox
*arg1
= (wxListBox
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6359 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxListBox
*arg1
= (wxListBox
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "n", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg2
= (int)SWIG_As_int(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetFirstItem(arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxListBox
*arg1
= (wxListBox
*) 0 ;
6391 wxString
*arg2
= 0 ;
6392 bool temp2
= false ;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6396 (char *) "self",(char *) "s", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 arg2
= wxString_in_helper(obj1
);
6404 if (arg2
== NULL
) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxListBox
*arg1
= (wxListBox
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6436 (char *) "self",(char *) "n", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 arg2
= (int)SWIG_As_int(obj1
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->EnsureVisible(arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxListBox
*arg1
= (wxListBox
*) 0 ;
6461 wxString
*arg2
= 0 ;
6462 bool temp2
= false ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "s", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 arg2
= wxString_in_helper(obj1
);
6474 if (arg2
== NULL
) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxListBox
*arg1
= (wxListBox
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6527 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxListBox
*arg1
= (wxListBox
*) 0 ;
6531 wxColour
*arg3
= 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 PyObject
* obj2
= 0 ;
6537 (char *) "self",(char *) "item",(char *) "c", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 arg2
= (int)SWIG_As_int(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxListBox
*arg1
= (wxListBox
*) 0 ;
6567 wxColour
*arg3
= 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6573 (char *) "self",(char *) "item",(char *) "c", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 arg2
= (int)SWIG_As_int(obj1
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxListBox
*arg1
= (wxListBox
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 PyObject
* obj2
= 0 ;
6608 (char *) "self",(char *) "item",(char *) "f", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 arg2
= (int)SWIG_As_int(obj1
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6620 PyErr_SetString(PyExc_TypeError
,"null reference");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6640 wxVisualAttributes result
;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "variant", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6648 arg1
= (int)SWIG_As_int(obj0
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 if (!wxPyCheckForApp()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 wxVisualAttributes
* resultptr
;
6661 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6670 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6673 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6675 return Py_BuildValue((char *)"");
6677 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxWindow
*arg1
= (wxWindow
*) 0 ;
6680 int arg2
= (int) -1 ;
6681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6685 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6686 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6687 long arg6
= (long) 0 ;
6688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6690 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6692 wxCheckListBox
*result
;
6695 bool temp5
= false ;
6696 bool temp8
= false ;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6699 PyObject
* obj2
= 0 ;
6700 PyObject
* obj3
= 0 ;
6701 PyObject
* obj4
= 0 ;
6702 PyObject
* obj5
= 0 ;
6703 PyObject
* obj6
= 0 ;
6704 PyObject
* obj7
= 0 ;
6706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= (int)SWIG_As_int(obj1
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6730 if (! PySequence_Check(obj4
)) {
6731 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6734 arg5
= new wxArrayString
;
6736 int i
, len
=PySequence_Length(obj4
);
6737 for (i
=0; i
<len
; i
++) {
6738 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6740 PyObject
* str
= PyObject_Unicode(item
);
6742 PyObject
* str
= PyObject_Str(item
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6745 arg5
->Add(Py2wxString(str
));
6752 arg6
= (long)SWIG_As_long(obj5
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6760 PyErr_SetString(PyExc_TypeError
,"null reference");
6766 arg8
= wxString_in_helper(obj7
);
6767 if (arg8
== NULL
) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6781 if (temp5
) delete arg5
;
6790 if (temp5
) delete arg5
;
6800 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxCheckListBox
*result
;
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxCheckListBox
*)new wxCheckListBox();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6823 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6826 wxWindow
*arg2
= (wxWindow
*) 0 ;
6827 int arg3
= (int) -1 ;
6828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6832 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6833 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6834 long arg7
= (long) 0 ;
6835 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6836 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6837 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6838 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6842 bool temp6
= false ;
6843 bool temp9
= false ;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6848 PyObject
* obj4
= 0 ;
6849 PyObject
* obj5
= 0 ;
6850 PyObject
* obj6
= 0 ;
6851 PyObject
* obj7
= 0 ;
6852 PyObject
* obj8
= 0 ;
6854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg3
= (int)SWIG_As_int(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6880 if (! PySequence_Check(obj5
)) {
6881 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6884 arg6
= new wxArrayString
;
6886 int i
, len
=PySequence_Length(obj5
);
6887 for (i
=0; i
<len
; i
++) {
6888 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6890 PyObject
* str
= PyObject_Unicode(item
);
6892 PyObject
* str
= PyObject_Str(item
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6895 arg6
->Add(Py2wxString(str
));
6902 arg7
= (long)SWIG_As_long(obj6
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6910 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 arg9
= wxString_in_helper(obj8
);
6917 if (arg9
== NULL
) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 if (temp6
) delete arg6
;
6941 if (temp6
) delete arg6
;
6951 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "index", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 arg2
= (int)SWIG_As_int(obj1
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)(arg1
)->IsChecked(arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6987 int arg3
= (int) true ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6992 (char *) "self",(char *) "index",(char *) "check", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 arg2
= (int)SWIG_As_int(obj1
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 arg3
= (int)SWIG_As_int(obj2
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->Check(arg2
,arg3
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 Py_INCREF(Py_None
); resultobj
= Py_None
;
7018 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (int)(arg1
)->GetItemHeight();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_From_int((int)result
);
7044 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "pt", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_From_int((int)result
);
7077 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7087 (char *) "self",(char *) "x",(char *) "y", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 arg2
= (int)SWIG_As_int(obj1
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7095 arg3
= (int)SWIG_As_int(obj2
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_From_int((int)result
);
7111 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7114 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7116 return Py_BuildValue((char *)"");
7118 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7119 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7124 static PyObject
*_wrap_TextCtrlNameStr_get() {
7129 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7131 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7138 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxColour
const &arg1_defvalue
= wxNullColour
;
7141 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7142 wxColour
const &arg2_defvalue
= wxNullColour
;
7143 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7144 wxFont
const &arg3_defvalue
= wxNullFont
;
7145 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7146 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7155 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7162 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7176 PyErr_SetString(PyExc_TypeError
,"null reference");
7181 arg4
= (int)SWIG_As_int(obj3
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7198 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7251 wxColour
*arg2
= 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7256 (char *) "self",(char *) "colText", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7283 wxColour
*arg2
= 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "colBack", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7312 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7316 long arg3
= (long) wxTEXT_ATTR_FONT
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7321 (char *) "self",(char *) "font",(char *) "flags", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7331 PyErr_SetString(PyExc_TypeError
,"null reference");
7335 arg3
= (long)SWIG_As_long(obj2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "alignment", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7365 arg2
= (int)SWIG_As_int(obj1
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7384 wxArrayInt
*arg2
= 0 ;
7385 bool temp2
= false ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "tabs", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 if (! PySequence_Check(obj1
)) {
7397 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7400 arg2
= new wxArrayInt
;
7402 int i
, len
=PySequence_Length(obj1
);
7403 for (i
=0; i
<len
; i
++) {
7404 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7405 PyObject
* number
= PyNumber_Int(item
);
7406 arg2
->Add(PyInt_AS_LONG(number
));
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7420 if (temp2
) delete arg2
;
7425 if (temp2
) delete arg2
;
7431 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7435 int arg3
= (int) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg2
= (int)SWIG_As_int(obj1
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 arg3
= (int)SWIG_As_int(obj2
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->SetLeftIndent(arg2
,arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7473 (char *) "self",(char *) "indent", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7479 arg2
= (int)SWIG_As_int(obj1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetRightIndent(arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "flags", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (long)SWIG_As_long(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetFlags(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7692 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7720 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "flag", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 arg2
= (long)SWIG_As_long(obj1
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7768 result
= (wxColour
*) &_result_ref
;
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7781 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7797 result
= (wxColour
*) &_result_ref
;
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7810 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7826 result
= (wxFont
*) &_result_ref
;
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7833 wxFont
* resultptr
= new wxFont(*result
);
7834 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7842 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_From_int((int)result
);
7868 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "self", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7884 result
= (wxArrayInt
*) &_result_ref
;
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= PyList_New(0);
7893 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7894 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7895 PyList_Append(resultobj
, val
);
7905 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_From_long((long)result
);
7931 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_From_long((long)result
);
7957 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_From_long((long)result
);
7983 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_long((long)result
);
8009 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxTextAttr
*arg1
= 0 ;
8040 wxTextAttr
*arg2
= 0 ;
8041 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8047 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8055 PyErr_SetString(PyExc_TypeError
,"null reference");
8058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8062 PyErr_SetString(PyExc_TypeError
,"null reference");
8065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8075 wxTextAttr
* resultptr
;
8076 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8085 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8105 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8108 bool temp3
= false ;
8111 bool temp8
= false ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8115 PyObject
* obj3
= 0 ;
8116 PyObject
* obj4
= 0 ;
8117 PyObject
* obj5
= 0 ;
8118 PyObject
* obj6
= 0 ;
8119 PyObject
* obj7
= 0 ;
8121 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 arg2
= (int)SWIG_As_int(obj1
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 arg3
= wxString_in_helper(obj2
);
8134 if (arg3
== NULL
) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 arg6
= (long)SWIG_As_long(obj5
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8159 PyErr_SetString(PyExc_TypeError
,"null reference");
8165 arg8
= wxString_in_helper(obj7
);
8166 if (arg8
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8201 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8210 if (!wxPyCheckForApp()) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (wxTextCtrl
*)new wxTextCtrl();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8224 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8227 wxWindow
*arg2
= (wxWindow
*) 0 ;
8228 int arg3
= (int) -1 ;
8229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8235 long arg7
= (long) 0 ;
8236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8238 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8241 bool temp4
= false ;
8244 bool temp9
= false ;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8247 PyObject
* obj2
= 0 ;
8248 PyObject
* obj3
= 0 ;
8249 PyObject
* obj4
= 0 ;
8250 PyObject
* obj5
= 0 ;
8251 PyObject
* obj6
= 0 ;
8252 PyObject
* obj7
= 0 ;
8253 PyObject
* obj8
= 0 ;
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 arg3
= (int)SWIG_As_int(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8269 arg4
= wxString_in_helper(obj3
);
8270 if (arg4
== NULL
) SWIG_fail
;
8277 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8283 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8287 arg7
= (long)SWIG_As_long(obj6
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8295 PyErr_SetString(PyExc_TypeError
,"null reference");
8301 arg9
= wxString_in_helper(obj8
);
8302 if (arg9
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8338 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8370 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 wxString
*arg2
= 0 ;
8374 bool temp2
= false ;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "self",(char *) "value", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= wxString_in_helper(obj1
);
8386 if (arg2
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->SetValue((wxString
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8421 (char *) "self",(char *) "from",(char *) "to", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (long)SWIG_As_long(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8429 arg3
= (long)SWIG_As_long(obj2
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8451 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8459 (char *) "self",(char *) "lineNo", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= (long)SWIG_As_long(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_From_int((int)result
);
8481 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "lineNo", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 arg2
= (long)SWIG_As_long(obj1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8523 (char *) "self", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_From_int((int)result
);
8543 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8655 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8658 long *arg2
= (long *) 0 ;
8659 long *arg3
= (long *) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8683 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8685 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8692 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8724 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "self", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 wxString
*arg4
= 0 ;
8755 bool temp4
= false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 PyObject
* obj3
= 0 ;
8761 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 arg2
= (long)SWIG_As_long(obj1
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8769 arg3
= (long)SWIG_As_long(obj2
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 arg4
= wxString_in_helper(obj3
);
8773 if (arg4
== NULL
) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "self",(char *) "from",(char *) "to", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 arg2
= (long)SWIG_As_long(obj1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8815 arg3
= (long)SWIG_As_long(obj2
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->Remove(arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8834 wxString
*arg2
= 0 ;
8836 bool temp2
= false ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "file", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= wxString_in_helper(obj1
);
8848 if (arg2
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8878 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8879 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8881 bool temp2
= false ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "file", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 arg2
= wxString_in_helper(obj1
);
8894 if (arg2
== NULL
) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8927 (char *) "self", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->MarkDirty();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->DiscardEdits();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 unsigned long arg2
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "len", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetMaxLength(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9004 wxString
*arg2
= 0 ;
9005 bool temp2
= false ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "text", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->WriteText((wxString
const &)*arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9045 wxString
*arg2
= 0 ;
9046 bool temp2
= false ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9050 (char *) "self",(char *) "text", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 arg2
= wxString_in_helper(obj1
);
9058 if (arg2
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->AppendText((wxString
const &)*arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9086 wxKeyEvent
*arg2
= 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "event", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9101 PyErr_SetString(PyExc_TypeError
,"null reference");
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9120 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9125 wxTextAttr
*arg4
= 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 PyObject
* obj3
= 0 ;
9132 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 arg2
= (long)SWIG_As_long(obj1
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9140 arg3
= (long)SWIG_As_long(obj2
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9146 PyErr_SetString(PyExc_TypeError
,"null reference");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9169 wxTextAttr
*arg3
= 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9175 (char *) "self",(char *) "position",(char *) "style", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 arg2
= (long)SWIG_As_long(obj1
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9187 PyErr_SetString(PyExc_TypeError
,"null reference");
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9209 wxTextAttr
*arg2
= 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "style", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9224 PyErr_SetString(PyExc_TypeError
,"null reference");
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9259 result
= (wxTextAttr
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9272 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9279 PyObject
* obj1
= 0 ;
9280 PyObject
* obj2
= 0 ;
9282 (char *) "self",(char *) "x",(char *) "y", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 arg2
= (long)SWIG_As_long(obj1
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9290 arg3
= (long)SWIG_As_long(obj2
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_From_long((long)result
);
9306 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9310 long *arg3
= (long *) 0 ;
9311 long *arg4
= (long *) 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 (char *) "self",(char *) "pos", NULL
9322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9323 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 arg2
= (long)SWIG_As_long(obj1
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9338 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9339 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9340 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9347 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "pos", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 arg2
= (long)SWIG_As_long(obj1
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->ShowPosition(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 Py_INCREF(Py_None
); resultobj
= Py_None
;
9376 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9380 long *arg3
= (long *) 0 ;
9381 long *arg4
= (long *) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "pt", NULL
9394 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9395 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_int((int)result
);
9411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9412 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9413 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9414 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9421 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9425 long *arg3
= (long *) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "self",(char *) "pt", NULL
9436 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_int((int)result
);
9452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9453 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9460 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9732 (char *) "self",(char *) "pos", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (long)SWIG_As_long(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 (arg1
)->SetInsertionPoint(arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 Py_INCREF(Py_None
); resultobj
= Py_None
;
9754 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->SetInsertionPointEnd();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_long((long)result
);
9805 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9811 (char *) "self", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_long((long)result
);
9831 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9840 (char *) "self",(char *) "from",(char *) "to", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 arg2
= (long)SWIG_As_long(obj1
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9848 arg3
= (long)SWIG_As_long(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetSelection(arg2
,arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SelectAll();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "editable", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 arg2
= (bool)SWIG_As_bool(obj1
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetEditable(arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 bool arg2
= (bool) true ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self",(char *) "show", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 arg2
= (bool)SWIG_As_bool(obj1
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (bool)(arg1
)->HideNativeCaret();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9980 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9983 wxString
*arg2
= 0 ;
9984 bool temp2
= false ;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9988 (char *) "self",(char *) "text", NULL
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9995 arg2
= wxString_in_helper(obj1
);
9996 if (arg2
== NULL
) SWIG_fail
;
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10006 Py_INCREF(Py_None
); resultobj
= Py_None
;
10021 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 PyObject
* obj2
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self",(char *) "from",(char *) "to", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10037 arg2
= (long)SWIG_As_long(obj1
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10039 arg3
= (long)SWIG_As_long(obj2
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10061 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10064 wxVisualAttributes result
;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "variant", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10072 arg1
= (int)SWIG_As_int(obj0
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 if (!wxPyCheckForApp()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10084 wxVisualAttributes
* resultptr
;
10085 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10094 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10097 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10099 return Py_BuildValue((char *)"");
10101 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10104 wxMouseEvent
*arg2
= 0 ;
10107 wxTextUrlEvent
*result
;
10108 PyObject
* obj0
= 0 ;
10109 PyObject
* obj1
= 0 ;
10110 PyObject
* obj2
= 0 ;
10111 PyObject
* obj3
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10117 arg1
= (int)SWIG_As_int(obj0
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10122 if (arg2
== NULL
) {
10123 PyErr_SetString(PyExc_TypeError
,"null reference");
10126 arg3
= (long)SWIG_As_long(obj2
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10128 arg4
= (long)SWIG_As_long(obj3
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10144 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10147 wxMouseEvent
*result
;
10148 PyObject
* obj0
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10160 result
= (wxMouseEvent
*) &_result_ref
;
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10173 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
;
10175 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10177 PyObject
* obj0
= 0 ;
10178 char *kwnames
[] = {
10179 (char *) "self", NULL
10182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_From_long((long)result
);
10199 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_From_long((long)result
);
10225 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10228 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10230 return Py_BuildValue((char *)"");
10232 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10233 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10238 static PyObject
*_wrap_ScrollBarNameStr_get() {
10243 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10245 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10252 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxWindow
*arg1
= (wxWindow
*) 0 ;
10255 int arg2
= (int) -1 ;
10256 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10257 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10258 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10259 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10260 long arg5
= (long) wxSB_HORIZONTAL
;
10261 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10262 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10263 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10264 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10265 wxScrollBar
*result
;
10268 bool temp7
= false ;
10269 PyObject
* obj0
= 0 ;
10270 PyObject
* obj1
= 0 ;
10271 PyObject
* obj2
= 0 ;
10272 PyObject
* obj3
= 0 ;
10273 PyObject
* obj4
= 0 ;
10274 PyObject
* obj5
= 0 ;
10275 PyObject
* obj6
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 arg2
= (int)SWIG_As_int(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10296 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10300 arg5
= (long)SWIG_As_long(obj4
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10307 if (arg6
== NULL
) {
10308 PyErr_SetString(PyExc_TypeError
,"null reference");
10314 arg7
= wxString_in_helper(obj6
);
10315 if (arg7
== NULL
) SWIG_fail
;
10320 if (!wxPyCheckForApp()) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10342 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
;
10344 wxScrollBar
*result
;
10345 char *kwnames
[] = {
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10351 if (!wxPyCheckForApp()) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (wxScrollBar
*)new wxScrollBar();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10365 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10368 wxWindow
*arg2
= (wxWindow
*) 0 ;
10369 int arg3
= (int) -1 ;
10370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10374 long arg6
= (long) wxSB_HORIZONTAL
;
10375 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10376 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10377 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10382 bool temp8
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 PyObject
* obj3
= 0 ;
10387 PyObject
* obj4
= 0 ;
10388 PyObject
* obj5
= 0 ;
10389 PyObject
* obj6
= 0 ;
10390 PyObject
* obj7
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 arg3
= (int)SWIG_As_int(obj2
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10407 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10413 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10417 arg6
= (long)SWIG_As_long(obj5
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10421 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10424 if (arg7
== NULL
) {
10425 PyErr_SetString(PyExc_TypeError
,"null reference");
10431 arg8
= wxString_in_helper(obj7
);
10432 if (arg8
== NULL
) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10460 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
;
10462 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10464 PyObject
* obj0
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_From_int((int)result
);
10486 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
;
10488 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_From_int((int)result
);
10512 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_From_int((int)result
);
10538 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_From_int((int)result
);
10564 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10592 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
;
10594 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self",(char *) "viewStart", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10605 arg2
= (int)SWIG_As_int(obj1
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->SetThumbPosition(arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10628 bool arg6
= (bool) true ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 PyObject
* obj3
= 0 ;
10633 PyObject
* obj4
= 0 ;
10634 PyObject
* obj5
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 arg2
= (int)SWIG_As_int(obj1
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10644 arg3
= (int)SWIG_As_int(obj2
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10646 arg4
= (int)SWIG_As_int(obj3
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10648 arg5
= (int)SWIG_As_int(obj4
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 arg6
= (bool)SWIG_As_bool(obj5
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 Py_INCREF(Py_None
); resultobj
= Py_None
;
10668 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10671 wxVisualAttributes result
;
10672 PyObject
* obj0
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "variant", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10679 arg1
= (int)SWIG_As_int(obj0
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 if (!wxPyCheckForApp()) SWIG_fail
;
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10691 wxVisualAttributes
* resultptr
;
10692 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10701 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10704 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10706 return Py_BuildValue((char *)"");
10708 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10709 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10714 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10719 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10721 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10728 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10729 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10734 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10739 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10741 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10748 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxWindow
*arg1
= (wxWindow
*) 0 ;
10751 int arg2
= (int) -1 ;
10752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10756 long arg5
= (long) wxSP_HORIZONTAL
;
10757 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10759 wxSpinButton
*result
;
10762 bool temp6
= false ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 PyObject
* obj2
= 0 ;
10766 PyObject
* obj3
= 0 ;
10767 PyObject
* obj4
= 0 ;
10768 PyObject
* obj5
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 arg2
= (int)SWIG_As_int(obj1
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10789 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10793 arg5
= (long)SWIG_As_long(obj4
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10798 arg6
= wxString_in_helper(obj5
);
10799 if (arg6
== NULL
) SWIG_fail
;
10804 if (!wxPyCheckForApp()) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10826 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxSpinButton
*result
;
10829 char *kwnames
[] = {
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10835 if (!wxPyCheckForApp()) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 result
= (wxSpinButton
*)new wxSpinButton();
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10849 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10852 wxWindow
*arg2
= (wxWindow
*) 0 ;
10853 int arg3
= (int) -1 ;
10854 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10855 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10856 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10857 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10858 long arg6
= (long) wxSP_HORIZONTAL
;
10859 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10860 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10864 bool temp7
= false ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj2
= 0 ;
10868 PyObject
* obj3
= 0 ;
10869 PyObject
* obj4
= 0 ;
10870 PyObject
* obj5
= 0 ;
10871 PyObject
* obj6
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 arg3
= (int)SWIG_As_int(obj2
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10898 arg6
= (long)SWIG_As_long(obj5
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10903 arg7
= wxString_in_helper(obj6
);
10904 if (arg7
== NULL
) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10932 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_From_int((int)result
);
10958 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= SWIG_From_int((int)result
);
10984 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_From_int((int)result
);
11010 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "val", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int)SWIG_As_int(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->SetValue(arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "minVal", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 arg2
= (int)SWIG_As_int(obj1
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetMin(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "maxVal", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (int)SWIG_As_int(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->SetMax(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 PyObject
* obj2
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 arg2
= (int)SWIG_As_int(obj1
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11114 arg3
= (int)SWIG_As_int(obj2
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetRange(arg2
,arg3
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 Py_INCREF(Py_None
); resultobj
= Py_None
;
11130 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11144 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11158 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11161 wxVisualAttributes result
;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "variant", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11169 arg1
= (int)SWIG_As_int(obj0
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 if (!wxPyCheckForApp()) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 wxVisualAttributes
* resultptr
;
11182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11191 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11194 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11196 return Py_BuildValue((char *)"");
11198 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxWindow
*arg1
= (wxWindow
*) 0 ;
11201 int arg2
= (int) -1 ;
11202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11208 long arg6
= (long) wxSP_ARROW_KEYS
;
11209 int arg7
= (int) 0 ;
11210 int arg8
= (int) 100 ;
11211 int arg9
= (int) 0 ;
11212 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11213 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11214 wxSpinCtrl
*result
;
11215 bool temp3
= false ;
11218 bool temp10
= false ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 PyObject
* obj2
= 0 ;
11222 PyObject
* obj3
= 0 ;
11223 PyObject
* obj4
= 0 ;
11224 PyObject
* obj5
= 0 ;
11225 PyObject
* obj6
= 0 ;
11226 PyObject
* obj7
= 0 ;
11227 PyObject
* obj8
= 0 ;
11228 PyObject
* obj9
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11237 arg2
= (int)SWIG_As_int(obj1
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11242 arg3
= wxString_in_helper(obj2
);
11243 if (arg3
== NULL
) SWIG_fail
;
11250 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11256 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11260 arg6
= (long)SWIG_As_long(obj5
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 arg7
= (int)SWIG_As_int(obj6
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11268 arg8
= (int)SWIG_As_int(obj7
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11272 arg9
= (int)SWIG_As_int(obj8
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11277 arg10
= wxString_in_helper(obj9
);
11278 if (arg10
== NULL
) SWIG_fail
;
11283 if (!wxPyCheckForApp()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11313 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxSpinCtrl
*result
;
11316 char *kwnames
[] = {
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11322 if (!wxPyCheckForApp()) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11336 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11339 wxWindow
*arg2
= (wxWindow
*) 0 ;
11340 int arg3
= (int) -1 ;
11341 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11342 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11343 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11344 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11345 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11346 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11347 long arg7
= (long) wxSP_ARROW_KEYS
;
11348 int arg8
= (int) 0 ;
11349 int arg9
= (int) 100 ;
11350 int arg10
= (int) 0 ;
11351 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11352 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11354 bool temp4
= false ;
11357 bool temp11
= false ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 PyObject
* obj3
= 0 ;
11362 PyObject
* obj4
= 0 ;
11363 PyObject
* obj5
= 0 ;
11364 PyObject
* obj6
= 0 ;
11365 PyObject
* obj7
= 0 ;
11366 PyObject
* obj8
= 0 ;
11367 PyObject
* obj9
= 0 ;
11368 PyObject
* obj10
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 arg3
= (int)SWIG_As_int(obj2
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11384 arg4
= wxString_in_helper(obj3
);
11385 if (arg4
== NULL
) SWIG_fail
;
11392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11402 arg7
= (long)SWIG_As_long(obj6
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11406 arg8
= (int)SWIG_As_int(obj7
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 arg9
= (int)SWIG_As_int(obj8
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 arg10
= (int)SWIG_As_int(obj9
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11419 arg11
= wxString_in_helper(obj10
);
11420 if (arg11
== NULL
) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11456 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_From_int((int)result
);
11482 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self",(char *) "value", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11495 arg2
= (int)SWIG_As_int(obj1
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->SetValue(arg2
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11514 wxString
*arg2
= 0 ;
11515 bool temp2
= false ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "text", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 arg2
= wxString_in_helper(obj1
);
11527 if (arg2
== NULL
) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->SetValue((wxString
const &)*arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 arg2
= (int)SWIG_As_int(obj1
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11569 arg3
= (int)SWIG_As_int(obj2
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetRange(arg2
,arg3
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11589 PyObject
* obj0
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_From_int((int)result
);
11611 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_From_int((int)result
);
11637 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 PyObject
* obj2
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self",(char *) "from",(char *) "to", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11652 arg2
= (long)SWIG_As_long(obj1
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11654 arg3
= (long)SWIG_As_long(obj2
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->SetSelection(arg2
,arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11670 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11673 wxVisualAttributes result
;
11674 PyObject
* obj0
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "variant", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11681 arg1
= (int)SWIG_As_int(obj0
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 if (!wxPyCheckForApp()) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11693 wxVisualAttributes
* resultptr
;
11694 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11703 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11708 return Py_BuildValue((char *)"");
11710 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11713 int arg2
= (int) 0 ;
11714 wxSpinEvent
*result
;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "commandType",(char *) "winid", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11723 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 arg2
= (int)SWIG_As_int(obj1
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11744 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_From_int((int)result
);
11770 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 PyObject
* obj1
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self",(char *) "pos", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11783 arg2
= (int)SWIG_As_int(obj1
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 (arg1
)->SetPosition(arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 Py_INCREF(Py_None
); resultobj
= Py_None
;
11799 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11802 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11804 return Py_BuildValue((char *)"");
11806 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11807 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11812 static PyObject
*_wrap_RadioBoxNameStr_get() {
11817 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11819 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11826 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11827 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11832 static PyObject
*_wrap_RadioButtonNameStr_get() {
11837 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11839 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11846 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxWindow
*arg1
= (wxWindow
*) 0 ;
11849 int arg2
= (int) -1 ;
11850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11856 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11857 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11858 int arg7
= (int) 0 ;
11859 long arg8
= (long) wxRA_HORIZONTAL
;
11860 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11861 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11862 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11863 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11864 wxRadioBox
*result
;
11865 bool temp3
= false ;
11868 bool temp6
= false ;
11869 bool temp10
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 PyObject
* obj3
= 0 ;
11874 PyObject
* obj4
= 0 ;
11875 PyObject
* obj5
= 0 ;
11876 PyObject
* obj6
= 0 ;
11877 PyObject
* obj7
= 0 ;
11878 PyObject
* obj8
= 0 ;
11879 PyObject
* obj9
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg2
= (int)SWIG_As_int(obj1
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11893 arg3
= wxString_in_helper(obj2
);
11894 if (arg3
== NULL
) SWIG_fail
;
11901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11912 if (! PySequence_Check(obj5
)) {
11913 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11916 arg6
= new wxArrayString
;
11918 int i
, len
=PySequence_Length(obj5
);
11919 for (i
=0; i
<len
; i
++) {
11920 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11922 PyObject
* str
= PyObject_Unicode(item
);
11924 PyObject
* str
= PyObject_Str(item
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11927 arg6
->Add(Py2wxString(str
));
11934 arg7
= (int)SWIG_As_int(obj6
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11938 arg8
= (long)SWIG_As_long(obj7
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11945 if (arg9
== NULL
) {
11946 PyErr_SetString(PyExc_TypeError
,"null reference");
11952 arg10
= wxString_in_helper(obj9
);
11953 if (arg10
== NULL
) SWIG_fail
;
11958 if (!wxPyCheckForApp()) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11971 if (temp6
) delete arg6
;
11984 if (temp6
) delete arg6
;
11994 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
;
11996 wxRadioBox
*result
;
11997 char *kwnames
[] = {
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12003 if (!wxPyCheckForApp()) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (wxRadioBox
*)new wxRadioBox();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12017 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12020 wxWindow
*arg2
= (wxWindow
*) 0 ;
12021 int arg3
= (int) -1 ;
12022 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12023 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12024 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12025 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12026 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12027 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12028 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12029 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12030 int arg8
= (int) 0 ;
12031 long arg9
= (long) wxRA_HORIZONTAL
;
12032 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12033 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12034 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12035 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12037 bool temp4
= false ;
12040 bool temp7
= false ;
12041 bool temp11
= false ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 PyObject
* obj4
= 0 ;
12047 PyObject
* obj5
= 0 ;
12048 PyObject
* obj6
= 0 ;
12049 PyObject
* obj7
= 0 ;
12050 PyObject
* obj8
= 0 ;
12051 PyObject
* obj9
= 0 ;
12052 PyObject
* obj10
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 arg3
= (int)SWIG_As_int(obj2
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12068 arg4
= wxString_in_helper(obj3
);
12069 if (arg4
== NULL
) SWIG_fail
;
12076 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12082 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12087 if (! PySequence_Check(obj6
)) {
12088 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12091 arg7
= new wxArrayString
;
12093 int i
, len
=PySequence_Length(obj6
);
12094 for (i
=0; i
<len
; i
++) {
12095 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12097 PyObject
* str
= PyObject_Unicode(item
);
12099 PyObject
* str
= PyObject_Str(item
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12102 arg7
->Add(Py2wxString(str
));
12109 arg8
= (int)SWIG_As_int(obj7
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 arg9
= (long)SWIG_As_long(obj8
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12120 if (arg10
== NULL
) {
12121 PyErr_SetString(PyExc_TypeError
,"null reference");
12127 arg11
= wxString_in_helper(obj10
);
12128 if (arg11
== NULL
) SWIG_fail
;
12133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12147 if (temp7
) delete arg7
;
12160 if (temp7
) delete arg7
;
12170 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "n", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 arg2
= (int)SWIG_As_int(obj1
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 (arg1
)->SetSelection(arg2
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 Py_INCREF(Py_None
); resultobj
= Py_None
;
12199 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
;
12201 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12203 PyObject
* obj0
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_From_int((int)result
);
12225 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12226 PyObject
*resultobj
;
12227 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 char *kwnames
[] = {
12231 (char *) "self", NULL
12234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12257 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12260 wxString
*arg2
= 0 ;
12262 bool temp2
= false ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "s", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12273 arg2
= wxString_in_helper(obj1
);
12274 if (arg2
== NULL
) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12301 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_From_int((int)result
);
12327 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12330 wxString
*arg2
= 0 ;
12332 bool temp2
= false ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self",(char *) "s", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 arg2
= wxString_in_helper(obj1
);
12344 if (arg2
== NULL
) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_From_int((int)result
);
12369 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "n", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 arg2
= (int)SWIG_As_int(obj1
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12405 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12409 wxString
*arg3
= 0 ;
12410 bool temp3
= false ;
12411 PyObject
* obj0
= 0 ;
12412 PyObject
* obj1
= 0 ;
12413 PyObject
* obj2
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self",(char *) "n",(char *) "label", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12421 arg2
= (int)SWIG_As_int(obj1
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 arg3
= wxString_in_helper(obj2
);
12425 if (arg3
== NULL
) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 Py_INCREF(Py_None
); resultobj
= Py_None
;
12450 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12454 bool arg3
= (bool) true ;
12455 PyObject
* obj0
= 0 ;
12456 PyObject
* obj1
= 0 ;
12457 PyObject
* obj2
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self",(char *) "n",(char *) "enable", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 arg2
= (int)SWIG_As_int(obj1
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 arg3
= (bool)SWIG_As_bool(obj2
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 (arg1
)->Enable(arg2
,arg3
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 Py_INCREF(Py_None
); resultobj
= Py_None
;
12485 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12489 bool arg3
= (bool) true ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 PyObject
* obj2
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self",(char *) "n",(char *) "show", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 arg2
= (int)SWIG_As_int(obj1
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 arg3
= (bool)SWIG_As_bool(obj2
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->Show(arg2
,arg3
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_From_int((int)result
);
12546 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12550 PyObject
* obj0
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= SWIG_From_int((int)result
);
12572 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 PyObject
* obj3
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg2
= (int)SWIG_As_int(obj1
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 arg3
= (int)SWIG_As_int(obj2
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12594 arg4
= (long)SWIG_As_long(obj3
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 resultobj
= SWIG_From_int((int)result
);
12610 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12613 wxVisualAttributes result
;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "variant", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12621 arg1
= (int)SWIG_As_int(obj0
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 if (!wxPyCheckForApp()) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12633 wxVisualAttributes
* resultptr
;
12634 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12643 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12646 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12648 return Py_BuildValue((char *)"");
12650 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxWindow
*arg1
= (wxWindow
*) 0 ;
12653 int arg2
= (int) -1 ;
12654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12656 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12657 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12658 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12659 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12660 long arg6
= (long) 0 ;
12661 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12662 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12663 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12664 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12665 wxRadioButton
*result
;
12666 bool temp3
= false ;
12669 bool temp8
= false ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 PyObject
* obj2
= 0 ;
12673 PyObject
* obj3
= 0 ;
12674 PyObject
* obj4
= 0 ;
12675 PyObject
* obj5
= 0 ;
12676 PyObject
* obj6
= 0 ;
12677 PyObject
* obj7
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 arg2
= (int)SWIG_As_int(obj1
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12691 arg3
= wxString_in_helper(obj2
);
12692 if (arg3
== NULL
) SWIG_fail
;
12699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12709 arg6
= (long)SWIG_As_long(obj5
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12716 if (arg7
== NULL
) {
12717 PyErr_SetString(PyExc_TypeError
,"null reference");
12723 arg8
= wxString_in_helper(obj7
);
12724 if (arg8
== NULL
) SWIG_fail
;
12729 if (!wxPyCheckForApp()) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12759 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxRadioButton
*result
;
12762 char *kwnames
[] = {
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12768 if (!wxPyCheckForApp()) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 result
= (wxRadioButton
*)new wxRadioButton();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12782 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12785 wxWindow
*arg2
= (wxWindow
*) 0 ;
12786 int arg3
= (int) -1 ;
12787 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12789 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12790 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12791 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12792 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12793 long arg7
= (long) 0 ;
12794 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12795 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12796 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12797 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12799 bool temp4
= false ;
12802 bool temp9
= false ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 PyObject
* obj3
= 0 ;
12807 PyObject
* obj4
= 0 ;
12808 PyObject
* obj5
= 0 ;
12809 PyObject
* obj6
= 0 ;
12810 PyObject
* obj7
= 0 ;
12811 PyObject
* obj8
= 0 ;
12812 char *kwnames
[] = {
12813 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 arg3
= (int)SWIG_As_int(obj2
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12827 arg4
= wxString_in_helper(obj3
);
12828 if (arg4
== NULL
) SWIG_fail
;
12835 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12841 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12845 arg7
= (long)SWIG_As_long(obj6
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12852 if (arg8
== NULL
) {
12853 PyErr_SetString(PyExc_TypeError
,"null reference");
12859 arg9
= wxString_in_helper(obj8
);
12860 if (arg9
== NULL
) SWIG_fail
;
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
;
12898 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "self", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (bool)(arg1
)->GetValue();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12924 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 char *kwnames
[] = {
12931 (char *) "self",(char *) "value", NULL
12934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 arg2
= (bool)SWIG_As_bool(obj1
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 (arg1
)->SetValue(arg2
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 Py_INCREF(Py_None
); resultobj
= Py_None
;
12953 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12956 wxVisualAttributes result
;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "variant", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12964 arg1
= (int)SWIG_As_int(obj0
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 if (!wxPyCheckForApp()) SWIG_fail
;
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 wxVisualAttributes
* resultptr
;
12977 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12986 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12989 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12991 return Py_BuildValue((char *)"");
12993 static int _wrap_SliderNameStr_set(PyObject
*) {
12994 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12999 static PyObject
*_wrap_SliderNameStr_get() {
13004 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13006 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13013 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxWindow
*arg1
= (wxWindow
*) 0 ;
13016 int arg2
= (int) -1 ;
13017 int arg3
= (int) 0 ;
13018 int arg4
= (int) 0 ;
13019 int arg5
= (int) 100 ;
13020 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13021 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13022 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13023 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13024 long arg8
= (long) wxSL_HORIZONTAL
;
13025 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13026 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13027 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13028 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13032 bool temp10
= false ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 PyObject
* obj2
= 0 ;
13036 PyObject
* obj3
= 0 ;
13037 PyObject
* obj4
= 0 ;
13038 PyObject
* obj5
= 0 ;
13039 PyObject
* obj6
= 0 ;
13040 PyObject
* obj7
= 0 ;
13041 PyObject
* obj8
= 0 ;
13042 PyObject
* obj9
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 arg2
= (int)SWIG_As_int(obj1
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 arg3
= (int)SWIG_As_int(obj2
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 arg4
= (int)SWIG_As_int(obj3
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 arg5
= (int)SWIG_As_int(obj4
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13069 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13075 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13079 arg8
= (long)SWIG_As_long(obj7
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13086 if (arg9
== NULL
) {
13087 PyErr_SetString(PyExc_TypeError
,"null reference");
13093 arg10
= wxString_in_helper(obj9
);
13094 if (arg10
== NULL
) SWIG_fail
;
13099 if (!wxPyCheckForApp()) SWIG_fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13121 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
;
13124 char *kwnames
[] = {
13128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13130 if (!wxPyCheckForApp()) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxSlider
*)new wxSlider();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13144 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxSlider
*arg1
= (wxSlider
*) 0 ;
13147 wxWindow
*arg2
= (wxWindow
*) 0 ;
13148 int arg3
= (int) -1 ;
13149 int arg4
= (int) 0 ;
13150 int arg5
= (int) 0 ;
13151 int arg6
= (int) 100 ;
13152 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13153 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13154 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13155 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13156 long arg9
= (long) wxSL_HORIZONTAL
;
13157 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13158 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13159 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13160 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13164 bool temp11
= false ;
13165 PyObject
* obj0
= 0 ;
13166 PyObject
* obj1
= 0 ;
13167 PyObject
* obj2
= 0 ;
13168 PyObject
* obj3
= 0 ;
13169 PyObject
* obj4
= 0 ;
13170 PyObject
* obj5
= 0 ;
13171 PyObject
* obj6
= 0 ;
13172 PyObject
* obj7
= 0 ;
13173 PyObject
* obj8
= 0 ;
13174 PyObject
* obj9
= 0 ;
13175 PyObject
* obj10
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 arg3
= (int)SWIG_As_int(obj2
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13190 arg4
= (int)SWIG_As_int(obj3
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13194 arg5
= (int)SWIG_As_int(obj4
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13198 arg6
= (int)SWIG_As_int(obj5
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13204 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13210 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13214 arg9
= (long)SWIG_As_long(obj8
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13218 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13221 if (arg10
== NULL
) {
13222 PyErr_SetString(PyExc_TypeError
,"null reference");
13228 arg11
= wxString_in_helper(obj10
);
13229 if (arg11
== NULL
) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13257 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxSlider
*arg1
= (wxSlider
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_From_int((int)result
);
13283 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSlider
*arg1
= (wxSlider
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "value", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 arg2
= (int)SWIG_As_int(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->SetValue(arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxSlider
*arg1
= (wxSlider
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 PyObject
* obj2
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13327 arg2
= (int)SWIG_As_int(obj1
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13329 arg3
= (int)SWIG_As_int(obj2
);
13330 if (PyErr_Occurred()) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetRange(arg2
,arg3
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 Py_INCREF(Py_None
); resultobj
= Py_None
;
13345 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxSlider
*arg1
= (wxSlider
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_From_int((int)result
);
13371 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxSlider
*arg1
= (wxSlider
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_From_int((int)result
);
13397 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxSlider
*arg1
= (wxSlider
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 PyObject
* obj1
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self",(char *) "minValue", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13410 arg2
= (int)SWIG_As_int(obj1
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 (arg1
)->SetMin(arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxSlider
*arg1
= (wxSlider
*) 0 ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "maxValue", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13439 arg2
= (int)SWIG_As_int(obj1
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 (arg1
)->SetMax(arg2
);
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 Py_INCREF(Py_None
); resultobj
= Py_None
;
13455 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13456 PyObject
*resultobj
;
13457 wxSlider
*arg1
= (wxSlider
*) 0 ;
13459 PyObject
* obj0
= 0 ;
13460 PyObject
* obj1
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "lineSize", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 arg2
= (int)SWIG_As_int(obj1
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 (arg1
)->SetLineSize(arg2
);
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 Py_INCREF(Py_None
); resultobj
= Py_None
;
13484 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxSlider
*arg1
= (wxSlider
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "pageSize", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int)SWIG_As_int(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 (arg1
)->SetPageSize(arg2
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 Py_INCREF(Py_None
); resultobj
= Py_None
;
13513 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
;
13515 wxSlider
*arg1
= (wxSlider
*) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= SWIG_From_int((int)result
);
13539 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxSlider
*arg1
= (wxSlider
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 resultobj
= SWIG_From_int((int)result
);
13565 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxSlider
*arg1
= (wxSlider
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self",(char *) "lenPixels", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 arg2
= (int)SWIG_As_int(obj1
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 (arg1
)->SetThumbLength(arg2
);
13584 wxPyEndAllowThreads(__tstate
);
13585 if (PyErr_Occurred()) SWIG_fail
;
13587 Py_INCREF(Py_None
); resultobj
= Py_None
;
13594 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13595 PyObject
*resultobj
;
13596 wxSlider
*arg1
= (wxSlider
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_From_int((int)result
);
13620 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
;
13622 wxSlider
*arg1
= (wxSlider
*) 0 ;
13624 int arg3
= (int) 1 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 PyObject
* obj2
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self",(char *) "n",(char *) "pos", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 arg2
= (int)SWIG_As_int(obj1
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 arg3
= (int)SWIG_As_int(obj2
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 (arg1
)->SetTickFreq(arg2
,arg3
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxSlider
*arg1
= (wxSlider
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_From_int((int)result
);
13681 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxSlider
*arg1
= (wxSlider
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->ClearTicks();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxSlider
*arg1
= (wxSlider
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "tickPos", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 arg2
= (int)SWIG_As_int(obj1
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 (arg1
)->SetTick(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 Py_INCREF(Py_None
); resultobj
= Py_None
;
13735 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxSlider
*arg1
= (wxSlider
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->ClearSel();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 Py_INCREF(Py_None
); resultobj
= Py_None
;
13760 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxSlider
*arg1
= (wxSlider
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= SWIG_From_int((int)result
);
13786 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxSlider
*arg1
= (wxSlider
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_From_int((int)result
);
13812 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxSlider
*arg1
= (wxSlider
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 PyObject
* obj2
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "min",(char *) "max", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 arg2
= (int)SWIG_As_int(obj1
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13829 arg3
= (int)SWIG_As_int(obj2
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 (arg1
)->SetSelection(arg2
,arg3
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13848 wxVisualAttributes result
;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "variant", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13856 arg1
= (int)SWIG_As_int(obj0
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 if (!wxPyCheckForApp()) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13868 wxVisualAttributes
* resultptr
;
13869 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13878 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13881 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13883 return Py_BuildValue((char *)"");
13885 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13886 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13891 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13896 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13898 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13905 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxWindow
*arg1
= (wxWindow
*) 0 ;
13908 int arg2
= (int) -1 ;
13909 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13910 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13915 long arg6
= (long) 0 ;
13916 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13917 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13918 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13919 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13920 wxToggleButton
*result
;
13921 bool temp3
= false ;
13924 bool temp8
= false ;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 PyObject
* obj2
= 0 ;
13928 PyObject
* obj3
= 0 ;
13929 PyObject
* obj4
= 0 ;
13930 PyObject
* obj5
= 0 ;
13931 PyObject
* obj6
= 0 ;
13932 PyObject
* obj7
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13941 arg2
= (int)SWIG_As_int(obj1
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13946 arg3
= wxString_in_helper(obj2
);
13947 if (arg3
== NULL
) SWIG_fail
;
13954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13964 arg6
= (long)SWIG_As_long(obj5
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13971 if (arg7
== NULL
) {
13972 PyErr_SetString(PyExc_TypeError
,"null reference");
13978 arg8
= wxString_in_helper(obj7
);
13979 if (arg8
== NULL
) SWIG_fail
;
13984 if (!wxPyCheckForApp()) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14014 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxToggleButton
*result
;
14017 char *kwnames
[] = {
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14023 if (!wxPyCheckForApp()) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxToggleButton
*)new wxToggleButton();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14037 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14040 wxWindow
*arg2
= (wxWindow
*) 0 ;
14041 int arg3
= (int) -1 ;
14042 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14043 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14048 long arg7
= (long) 0 ;
14049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14051 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14054 bool temp4
= false ;
14057 bool temp9
= false ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 PyObject
* obj3
= 0 ;
14062 PyObject
* obj4
= 0 ;
14063 PyObject
* obj5
= 0 ;
14064 PyObject
* obj6
= 0 ;
14065 PyObject
* obj7
= 0 ;
14066 PyObject
* obj8
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 arg3
= (int)SWIG_As_int(obj2
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14082 arg4
= wxString_in_helper(obj3
);
14083 if (arg4
== NULL
) SWIG_fail
;
14090 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14096 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14100 arg7
= (long)SWIG_As_long(obj6
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14104 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14105 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14107 if (arg8
== NULL
) {
14108 PyErr_SetString(PyExc_TypeError
,"null reference");
14114 arg9
= wxString_in_helper(obj8
);
14115 if (arg9
== NULL
) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14151 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self",(char *) "value", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14164 arg2
= (bool)SWIG_As_bool(obj1
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 (arg1
)->SetValue(arg2
);
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 Py_INCREF(Py_None
); resultobj
= Py_None
;
14180 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14211 wxString
*arg2
= 0 ;
14212 bool temp2
= false ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "label", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14223 arg2
= wxString_in_helper(obj1
);
14224 if (arg2
== NULL
) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->SetLabel((wxString
const &)*arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 Py_INCREF(Py_None
); resultobj
= Py_None
;
14249 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14252 wxVisualAttributes result
;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "variant", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14260 arg1
= (int)SWIG_As_int(obj0
);
14261 if (PyErr_Occurred()) SWIG_fail
;
14264 if (!wxPyCheckForApp()) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 wxVisualAttributes
* resultptr
;
14273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14282 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14285 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14287 return Py_BuildValue((char *)"");
14289 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14290 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14295 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14300 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14302 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14309 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14335 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "n", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= wxPyMake_wxObject(result
, 0);
14367 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_From_int((int)result
);
14393 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14397 wxString
*arg3
= 0 ;
14399 bool temp3
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self",(char *) "n",(char *) "strText", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 arg3
= wxString_in_helper(obj2
);
14414 if (arg3
== NULL
) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14441 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "n", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14477 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14480 wxImageList
*arg2
= (wxImageList
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self",(char *) "imageList", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 (arg1
)->SetImageList(arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14506 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14509 wxImageList
*arg2
= (wxImageList
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "imageList", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14520 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 (arg1
)->AssignImageList(arg2
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14538 wxImageList
*result
;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= wxPyMake_wxObject(result
, 0);
14563 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "n", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_From_int((int)result
);
14593 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 PyObject
* obj2
= 0 ;
14602 char *kwnames
[] = {
14603 (char *) "self",(char *) "n",(char *) "imageId", NULL
14606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14609 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14611 arg3
= (int)SWIG_As_int(obj2
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 PyObject
* obj1
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self",(char *) "size", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 Py_INCREF(Py_None
); resultobj
= Py_None
;
14661 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "sizePage", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14678 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14688 wxSize
* resultptr
;
14689 resultptr
= new wxSize((wxSize
&) result
);
14690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14698 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "n", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (bool)(arg1
)->DeletePage(arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14730 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self",(char *) "n", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (bool)(arg1
)->RemovePage(arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (bool)(arg1
)->DeleteAllPages();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14790 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14793 wxWindow
*arg2
= (wxWindow
*) 0 ;
14794 wxString
*arg3
= 0 ;
14795 bool arg4
= (bool) false ;
14796 int arg5
= (int) -1 ;
14798 bool temp3
= false ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 arg3
= wxString_in_helper(obj2
);
14815 if (arg3
== NULL
) SWIG_fail
;
14819 arg4
= (bool)SWIG_As_bool(obj3
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 arg5
= (int)SWIG_As_int(obj4
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14850 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14854 wxWindow
*arg3
= (wxWindow
*) 0 ;
14855 wxString
*arg4
= 0 ;
14856 bool arg5
= (bool) false ;
14857 int arg6
= (int) -1 ;
14859 bool temp4
= false ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 PyObject
* obj2
= 0 ;
14863 PyObject
* obj3
= 0 ;
14864 PyObject
* obj4
= 0 ;
14865 PyObject
* obj5
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14875 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14878 arg4
= wxString_in_helper(obj3
);
14879 if (arg4
== NULL
) SWIG_fail
;
14883 arg5
= (bool)SWIG_As_bool(obj4
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 arg6
= (int)SWIG_As_int(obj5
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char *kwnames
[] = {
14922 (char *) "self",(char *) "n", NULL
14925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14929 if (PyErr_Occurred()) SWIG_fail
;
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (int)(arg1
)->SetSelection(arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= SWIG_From_int((int)result
);
14944 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14947 bool arg2
= (bool) true ;
14948 PyObject
* obj0
= 0 ;
14949 PyObject
* obj1
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "self",(char *) "forward", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14958 arg2
= (bool)SWIG_As_bool(obj1
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 (arg1
)->AdvanceSelection(arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 Py_INCREF(Py_None
); resultobj
= Py_None
;
14975 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14978 wxVisualAttributes result
;
14979 PyObject
* obj0
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "variant", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14986 arg1
= (int)SWIG_As_int(obj0
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 if (!wxPyCheckForApp()) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14998 wxVisualAttributes
* resultptr
;
14999 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15008 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
15010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15011 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
15013 return Py_BuildValue((char *)"");
15015 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15018 int arg2
= (int) 0 ;
15019 int arg3
= (int) -1 ;
15020 int arg4
= (int) -1 ;
15021 wxBookCtrlEvent
*result
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 PyObject
* obj2
= 0 ;
15025 PyObject
* obj3
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15032 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 arg2
= (int)SWIG_As_int(obj1
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 arg3
= (int)SWIG_As_int(obj2
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 arg4
= (int)SWIG_As_int(obj3
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15061 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_From_int((int)result
);
15087 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "nSel", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 arg2
= (int)SWIG_As_int(obj1
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetSelection(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_From_int((int)result
);
15142 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char *kwnames
[] = {
15149 (char *) "self",(char *) "nOldSel", NULL
15152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15155 arg2
= (int)SWIG_As_int(obj1
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetOldSelection(arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15171 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15174 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15176 return Py_BuildValue((char *)"");
15178 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxWindow
*arg1
= (wxWindow
*) 0 ;
15181 int arg2
= (int) -1 ;
15182 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15183 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15184 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15185 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15186 long arg5
= (long) 0 ;
15187 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15188 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15189 wxNotebook
*result
;
15192 bool temp6
= false ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 PyObject
* obj2
= 0 ;
15196 PyObject
* obj3
= 0 ;
15197 PyObject
* obj4
= 0 ;
15198 PyObject
* obj5
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 arg2
= (int)SWIG_As_int(obj1
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15219 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15223 arg5
= (long)SWIG_As_long(obj4
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 arg6
= wxString_in_helper(obj5
);
15229 if (arg6
== NULL
) SWIG_fail
;
15234 if (!wxPyCheckForApp()) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15256 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxNotebook
*result
;
15259 char *kwnames
[] = {
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15265 if (!wxPyCheckForApp()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (wxNotebook
*)new wxNotebook();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15279 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15281 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15282 wxWindow
*arg2
= (wxWindow
*) 0 ;
15283 int arg3
= (int) -1 ;
15284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15288 long arg6
= (long) 0 ;
15289 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15294 bool temp7
= false ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 PyObject
* obj3
= 0 ;
15299 PyObject
* obj4
= 0 ;
15300 PyObject
* obj5
= 0 ;
15301 PyObject
* obj6
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15312 arg3
= (int)SWIG_As_int(obj2
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15324 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15328 arg6
= (long)SWIG_As_long(obj5
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15333 arg7
= wxString_in_helper(obj6
);
15334 if (arg7
== NULL
) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_From_int((int)result
);
15388 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self",(char *) "padding", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 Py_INCREF(Py_None
); resultobj
= Py_None
;
15420 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15425 PyObject
* obj0
= 0 ;
15426 PyObject
* obj1
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self",(char *) "sz", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15442 wxPyEndAllowThreads(__tstate
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15445 Py_INCREF(Py_None
); resultobj
= Py_None
;
15452 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15455 wxPoint
*arg2
= 0 ;
15456 long *arg3
= (long *) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "pt", NULL
15467 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_From_int((int)result
);
15483 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15484 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15491 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "sizePage", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 wxSize
* resultptr
;
15519 resultptr
= new wxSize((wxSize
&) result
);
15520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15528 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15531 wxWindow
*arg2
= (wxWindow
*) 0 ;
15532 wxColour
*arg3
= 0 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 PyObject
* obj2
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self",(char *) "window",(char *) "colour", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 Py_INCREF(Py_None
); resultobj
= Py_None
;
15564 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15567 wxVisualAttributes result
;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "variant", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15575 arg1
= (int)SWIG_As_int(obj0
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 if (!wxPyCheckForApp()) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15587 wxVisualAttributes
* resultptr
;
15588 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15597 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15600 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15602 return Py_BuildValue((char *)"");
15604 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15607 int arg2
= (int) 0 ;
15608 int arg3
= (int) -1 ;
15609 int arg4
= (int) -1 ;
15610 wxNotebookEvent
*result
;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 PyObject
* obj2
= 0 ;
15614 PyObject
* obj3
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15621 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 arg2
= (int)SWIG_As_int(obj1
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 arg3
= (int)SWIG_As_int(obj2
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 arg4
= (int)SWIG_As_int(obj3
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15650 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15655 return Py_BuildValue((char *)"");
15657 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxWindow
*arg1
= (wxWindow
*) 0 ;
15660 int arg2
= (int) -1 ;
15661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15665 long arg5
= (long) 0 ;
15666 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15667 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15668 wxListbook
*result
;
15671 bool temp6
= false ;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 PyObject
* obj2
= 0 ;
15675 PyObject
* obj3
= 0 ;
15676 PyObject
* obj4
= 0 ;
15677 PyObject
* obj5
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15686 arg2
= (int)SWIG_As_int(obj1
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15692 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15698 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15702 arg5
= (long)SWIG_As_long(obj4
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15707 arg6
= wxString_in_helper(obj5
);
15708 if (arg6
== NULL
) SWIG_fail
;
15713 if (!wxPyCheckForApp()) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15735 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
;
15737 wxListbook
*result
;
15738 char *kwnames
[] = {
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15744 if (!wxPyCheckForApp()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (wxListbook
*)new wxListbook();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15758 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxListbook
*arg1
= (wxListbook
*) 0 ;
15761 wxWindow
*arg2
= (wxWindow
*) 0 ;
15762 int arg3
= (int) -1 ;
15763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15767 long arg6
= (long) 0 ;
15768 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15773 bool temp7
= false ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 PyObject
* obj3
= 0 ;
15778 PyObject
* obj4
= 0 ;
15779 PyObject
* obj5
= 0 ;
15780 PyObject
* obj6
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 arg3
= (int)SWIG_As_int(obj2
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15807 arg6
= (long)SWIG_As_long(obj5
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15812 arg7
= wxString_in_helper(obj6
);
15813 if (arg7
== NULL
) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15841 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxListbook
*arg1
= (wxListbook
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxListbook
*arg1
= (wxListbook
*) 0 ;
15872 wxListView
*result
;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "self", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (wxListView
*)(arg1
)->GetListView();
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15895 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15898 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15900 return Py_BuildValue((char *)"");
15902 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15905 int arg2
= (int) 0 ;
15906 int arg3
= (int) -1 ;
15907 int arg4
= (int) -1 ;
15908 wxListbookEvent
*result
;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 PyObject
* obj2
= 0 ;
15912 PyObject
* obj3
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15919 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 arg2
= (int)SWIG_As_int(obj1
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15927 arg3
= (int)SWIG_As_int(obj2
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 arg4
= (int)SWIG_As_int(obj3
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15948 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15951 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15953 return Py_BuildValue((char *)"");
15955 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxWindow
*arg1
= (wxWindow
*) 0 ;
15959 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15960 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15961 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15962 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15963 long arg5
= (long) 0 ;
15964 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15965 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15966 wxChoicebook
*result
;
15969 bool temp6
= false ;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 PyObject
* obj2
= 0 ;
15973 PyObject
* obj3
= 0 ;
15974 PyObject
* obj4
= 0 ;
15975 PyObject
* obj5
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 arg2
= (int)SWIG_As_int(obj1
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15988 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15994 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15998 arg5
= (long)SWIG_As_long(obj4
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16003 arg6
= wxString_in_helper(obj5
);
16004 if (arg6
== NULL
) SWIG_fail
;
16009 if (!wxPyCheckForApp()) SWIG_fail
;
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16031 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxChoicebook
*result
;
16034 char *kwnames
[] = {
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
16040 if (!wxPyCheckForApp()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (wxChoicebook
*)new wxChoicebook();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16054 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16057 wxWindow
*arg2
= (wxWindow
*) 0 ;
16059 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16060 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16061 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16062 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16063 long arg6
= (long) 0 ;
16064 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16065 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16069 bool temp7
= false ;
16070 PyObject
* obj0
= 0 ;
16071 PyObject
* obj1
= 0 ;
16072 PyObject
* obj2
= 0 ;
16073 PyObject
* obj3
= 0 ;
16074 PyObject
* obj4
= 0 ;
16075 PyObject
* obj5
= 0 ;
16076 PyObject
* obj6
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16086 arg3
= (int)SWIG_As_int(obj2
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16097 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16101 arg6
= (long)SWIG_As_long(obj5
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16106 arg7
= wxString_in_helper(obj6
);
16107 if (arg7
== NULL
) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16135 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16139 PyObject
* obj0
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "self", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16163 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
;
16165 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16167 PyObject
* obj0
= 0 ;
16168 char *kwnames
[] = {
16169 (char *) "self", NULL
16172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (bool)(arg1
)->DeleteAllPages();
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16191 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16194 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16196 return Py_BuildValue((char *)"");
16198 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16201 int arg2
= (int) 0 ;
16202 int arg3
= (int) -1 ;
16203 int arg4
= (int) -1 ;
16204 wxChoicebookEvent
*result
;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 PyObject
* obj2
= 0 ;
16208 PyObject
* obj3
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16215 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 arg2
= (int)SWIG_As_int(obj1
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 arg3
= (int)SWIG_As_int(obj2
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 arg4
= (int)SWIG_As_int(obj3
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16244 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16247 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16249 return Py_BuildValue((char *)"");
16251 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
16254 wxBookCtrlSizer
*result
;
16255 PyObject
* obj0
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "nb", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
16262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16277 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
;
16279 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16280 PyObject
* obj0
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->RecalcSizes();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16302 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16306 PyObject
* obj0
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "self", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (arg1
)->CalcMin();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 wxSize
* resultptr
;
16323 resultptr
= new wxSize((wxSize
&) result
);
16324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16332 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16335 wxBookCtrl
*result
;
16336 PyObject
* obj0
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16358 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16361 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16363 return Py_BuildValue((char *)"");
16365 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16368 wxNotebookSizer
*result
;
16369 PyObject
* obj0
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "nb", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16391 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 char *kwnames
[] = {
16396 (char *) "self", NULL
16399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 (arg1
)->RecalcSizes();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "self", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16430 result
= (arg1
)->CalcMin();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 wxSize
* resultptr
;
16437 resultptr
= new wxSize((wxSize
&) result
);
16438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16446 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16449 wxNotebook
*result
;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= wxPyMake_wxObject(result
, 0);
16474 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16477 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16479 return Py_BuildValue((char *)"");
16481 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (int)(arg1
)->GetId();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= SWIG_From_int((int)result
);
16507 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (wxControl
*)(arg1
)->GetControl();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= wxPyMake_wxObject(result
, 0);
16535 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16538 wxToolBarBase
*result
;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= wxPyMake_wxObject(result
, 0);
16563 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (int)(arg1
)->IsButton();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_From_int((int)result
);
16589 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (int)(arg1
)->IsControl();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_From_int((int)result
);
16615 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (int)(arg1
)->IsSeparator();
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_From_int((int)result
);
16641 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16645 PyObject
* obj0
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "self", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (int)(arg1
)->GetStyle();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_From_int((int)result
);
16667 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (int)(arg1
)->GetKind();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_From_int((int)result
);
16693 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 char *kwnames
[] = {
16699 (char *) "self", NULL
16702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 result
= (bool)(arg1
)->IsEnabled();
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16721 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (bool)(arg1
)->IsToggled();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16749 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)(arg1
)->CanBeToggled();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16777 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16793 result
= (wxBitmap
*) &_result_ref
;
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 wxBitmap
* resultptr
= new wxBitmap(*result
);
16801 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16809 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16825 result
= (wxBitmap
*) &_result_ref
;
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 wxBitmap
* resultptr
= new wxBitmap(*result
);
16833 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16841 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= (arg1
)->GetBitmap();
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 wxBitmap
* resultptr
;
16862 resultptr
= new wxBitmap((wxBitmap
&) result
);
16863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16871 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (arg1
)->GetLabel();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16903 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (arg1
)->GetShortHelp();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16935 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (arg1
)->GetLongHelp();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16967 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16972 PyObject
* obj0
= 0 ;
16973 PyObject
* obj1
= 0 ;
16974 char *kwnames
[] = {
16975 (char *) "self",(char *) "enable", NULL
16978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16981 arg2
= (bool)SWIG_As_bool(obj1
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)(arg1
)->Enable(arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17024 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self",(char *) "toggle", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 arg2
= (bool)SWIG_As_bool(obj1
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (bool)(arg1
)->SetToggle(arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17056 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17059 wxString
*arg2
= 0 ;
17061 bool temp2
= false ;
17062 PyObject
* obj0
= 0 ;
17063 PyObject
* obj1
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self",(char *) "help", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17072 arg2
= wxString_in_helper(obj1
);
17073 if (arg2
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17103 wxString
*arg2
= 0 ;
17105 bool temp2
= false ;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "help", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 arg2
= wxString_in_helper(obj1
);
17117 if (arg2
== NULL
) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17144 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17147 wxBitmap
*arg2
= 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "bmp", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17160 if (arg2
== NULL
) {
17161 PyErr_SetString(PyExc_TypeError
,"null reference");
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 Py_INCREF(Py_None
); resultobj
= Py_None
;
17178 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17181 wxBitmap
*arg2
= 0 ;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "bmp", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17194 if (arg2
== NULL
) {
17195 PyErr_SetString(PyExc_TypeError
,"null reference");
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 Py_INCREF(Py_None
); resultobj
= Py_None
;
17212 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17215 wxString
*arg2
= 0 ;
17216 bool temp2
= false ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self",(char *) "label", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 arg2
= wxString_in_helper(obj1
);
17228 if (arg2
== NULL
) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 (arg1
)->SetLabel((wxString
const &)*arg2
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 Py_INCREF(Py_None
); resultobj
= Py_None
;
17253 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17281 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 PyObject
* obj1
= 0 ;
17284 char *kwnames
[] = {
17285 (char *) "self",(char *) "tbar", NULL
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 (arg1
)->Attach(arg2
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 Py_INCREF(Py_None
); resultobj
= Py_None
;
17307 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 char *kwnames
[] = {
17313 (char *) "self", NULL
17316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= result
;
17333 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17336 PyObject
*arg2
= (PyObject
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "clientData", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17364 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17366 return Py_BuildValue((char *)"");
17368 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17369 PyObject
*resultobj
;
17370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17372 wxString
*arg3
= 0 ;
17373 wxBitmap
*arg4
= 0 ;
17374 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17375 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17376 int arg6
= (int) wxITEM_NORMAL
;
17377 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17379 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17380 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17381 PyObject
*arg9
= (PyObject
*) NULL
;
17382 wxToolBarToolBase
*result
;
17383 bool temp3
= false ;
17384 bool temp7
= false ;
17385 bool temp8
= false ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 PyObject
* obj3
= 0 ;
17390 PyObject
* obj4
= 0 ;
17391 PyObject
* obj5
= 0 ;
17392 PyObject
* obj6
= 0 ;
17393 PyObject
* obj7
= 0 ;
17394 PyObject
* obj8
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 arg2
= (int)SWIG_As_int(obj1
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 arg3
= wxString_in_helper(obj2
);
17406 if (arg3
== NULL
) SWIG_fail
;
17409 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17412 if (arg4
== NULL
) {
17413 PyErr_SetString(PyExc_TypeError
,"null reference");
17417 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17420 if (arg5
== NULL
) {
17421 PyErr_SetString(PyExc_TypeError
,"null reference");
17426 arg6
= (int)SWIG_As_int(obj5
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17431 arg7
= wxString_in_helper(obj6
);
17432 if (arg7
== NULL
) SWIG_fail
;
17438 arg8
= wxString_in_helper(obj7
);
17439 if (arg8
== NULL
) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= wxPyMake_wxObject(result
, 0);
17486 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17491 wxString
*arg4
= 0 ;
17492 wxBitmap
*arg5
= 0 ;
17493 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17494 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17495 int arg7
= (int) wxITEM_NORMAL
;
17496 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17498 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17499 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17500 PyObject
*arg10
= (PyObject
*) NULL
;
17501 wxToolBarToolBase
*result
;
17502 bool temp4
= false ;
17503 bool temp8
= false ;
17504 bool temp9
= false ;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 PyObject
* obj2
= 0 ;
17508 PyObject
* obj3
= 0 ;
17509 PyObject
* obj4
= 0 ;
17510 PyObject
* obj5
= 0 ;
17511 PyObject
* obj6
= 0 ;
17512 PyObject
* obj7
= 0 ;
17513 PyObject
* obj8
= 0 ;
17514 PyObject
* obj9
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17524 arg3
= (int)SWIG_As_int(obj2
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 arg4
= wxString_in_helper(obj3
);
17528 if (arg4
== NULL
) SWIG_fail
;
17531 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17534 if (arg5
== NULL
) {
17535 PyErr_SetString(PyExc_TypeError
,"null reference");
17539 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17542 if (arg6
== NULL
) {
17543 PyErr_SetString(PyExc_TypeError
,"null reference");
17548 arg7
= (int)SWIG_As_int(obj6
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17553 arg8
= wxString_in_helper(obj7
);
17554 if (arg8
== NULL
) SWIG_fail
;
17560 arg9
= wxString_in_helper(obj8
);
17561 if (arg9
== NULL
) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 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
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= wxPyMake_wxObject(result
, 0);
17608 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17611 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17612 wxToolBarToolBase
*result
;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "tool", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= wxPyMake_wxObject(result
, 0);
17640 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17644 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17645 wxToolBarToolBase
*result
;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 PyObject
* obj2
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "self",(char *) "pos",(char *) "tool", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17658 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= wxPyMake_wxObject(result
, 0);
17676 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17679 wxControl
*arg2
= (wxControl
*) 0 ;
17680 wxToolBarToolBase
*result
;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self",(char *) "control", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= wxPyMake_wxObject(result
, 0);
17708 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17712 wxControl
*arg3
= (wxControl
*) 0 ;
17713 wxToolBarToolBase
*result
;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 PyObject
* obj2
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "pos",(char *) "control", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17724 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17726 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= wxPyMake_wxObject(result
, 0);
17744 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self",(char *) "id", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17758 arg2
= (int)SWIG_As_int(obj1
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= wxPyMake_wxObject(result
, 0);
17776 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17779 wxToolBarToolBase
*result
;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= wxPyMake_wxObject(result
, 0);
17804 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17808 wxToolBarToolBase
*result
;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "pos", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= wxPyMake_wxObject(result
, 0);
17836 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17840 wxToolBarToolBase
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "id", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (int)SWIG_As_int(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= wxPyMake_wxObject(result
, 0);
17868 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "pos", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17900 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "id", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 arg2
= (int)SWIG_As_int(obj1
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)(arg1
)->DeleteTool(arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->ClearTools();
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 Py_INCREF(Py_None
); resultobj
= Py_None
;
17957 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 result
= (bool)(arg1
)->Realize();
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17985 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
;
17987 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "id",(char *) "enable", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 arg2
= (int)SWIG_As_int(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18002 arg3
= (bool)SWIG_As_bool(obj2
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->EnableTool(arg2
,arg3
);
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 Py_INCREF(Py_None
); resultobj
= Py_None
;
18018 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 PyObject
* obj2
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "id",(char *) "toggle", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 arg2
= (int)SWIG_As_int(obj1
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18035 arg3
= (bool)SWIG_As_bool(obj2
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->ToggleTool(arg2
,arg3
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 PyObject
* obj1
= 0 ;
18058 PyObject
* obj2
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self",(char *) "id",(char *) "toggle", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18066 arg2
= (int)SWIG_As_int(obj1
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18068 arg3
= (bool)SWIG_As_bool(obj2
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetToggle(arg2
,arg3
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 Py_INCREF(Py_None
); resultobj
= Py_None
;
18084 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self",(char *) "id", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= (int)SWIG_As_int(obj1
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
;
18114 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18118 PyObject
*arg3
= (PyObject
*) 0 ;
18119 PyObject
* obj0
= 0 ;
18120 PyObject
* obj1
= 0 ;
18121 PyObject
* obj2
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "id",(char *) "clientData", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (int)SWIG_As_int(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 Py_INCREF(Py_None
); resultobj
= Py_None
;
18146 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "id", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 arg2
= (int)SWIG_As_int(obj1
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_From_int((int)result
);
18176 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self",(char *) "id", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18190 arg2
= (int)SWIG_As_int(obj1
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (bool)(arg1
)->GetToolState(arg2
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18208 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "id", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (int)SWIG_As_int(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18240 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18244 wxString
*arg3
= 0 ;
18245 bool temp3
= false ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 PyObject
* obj2
= 0 ;
18249 char *kwnames
[] = {
18250 (char *) "self",(char *) "id",(char *) "helpString", NULL
18253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 arg2
= (int)SWIG_As_int(obj1
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 arg3
= wxString_in_helper(obj2
);
18260 if (arg3
== NULL
) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "id", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18299 arg2
= (int)SWIG_As_int(obj1
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (arg1
)->GetToolShortHelp(arg2
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18321 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18325 wxString
*arg3
= 0 ;
18326 bool temp3
= false ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 PyObject
* obj2
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "id",(char *) "helpString", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (int)SWIG_As_int(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 arg3
= wxString_in_helper(obj2
);
18341 if (arg3
== NULL
) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18366 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self",(char *) "id", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18380 arg2
= (int)SWIG_As_int(obj1
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (arg1
)->GetToolLongHelp(arg2
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18402 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 PyObject
* obj2
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "x",(char *) "y", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 arg2
= (int)SWIG_As_int(obj1
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18419 arg3
= (int)SWIG_As_int(obj2
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->SetMargins(arg2
,arg3
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 Py_INCREF(Py_None
); resultobj
= Py_None
;
18435 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "size", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 char *kwnames
[] = {
18474 (char *) "self",(char *) "packing", NULL
18477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 arg2
= (int)SWIG_As_int(obj1
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->SetToolPacking(arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 Py_INCREF(Py_None
); resultobj
= Py_None
;
18496 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
;
18498 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "separation", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 arg2
= (int)SWIG_As_int(obj1
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->SetToolSeparation(arg2
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 Py_INCREF(Py_None
); resultobj
= Py_None
;
18525 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 char *kwnames
[] = {
18531 (char *) "self", NULL
18534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 result
= (arg1
)->GetToolMargins();
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 wxSize
* resultptr
;
18546 resultptr
= new wxSize((wxSize
&) result
);
18547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18555 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (arg1
)->GetMargins();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18575 wxSize
* resultptr
;
18576 resultptr
= new wxSize((wxSize
&) result
);
18577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18585 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (int)(arg1
)->GetToolPacking();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_From_int((int)result
);
18611 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18612 PyObject
*resultobj
;
18613 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18615 PyObject
* obj0
= 0 ;
18616 char *kwnames
[] = {
18617 (char *) "self", NULL
18620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (int)(arg1
)->GetToolSeparation();
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_From_int((int)result
);
18637 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self",(char *) "nRows", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18650 arg2
= (int)SWIG_As_int(obj1
);
18651 if (PyErr_Occurred()) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->SetRows(arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 Py_INCREF(Py_None
); resultobj
= Py_None
;
18666 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18667 PyObject
*resultobj
;
18668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 char *kwnames
[] = {
18675 (char *) "self",(char *) "rows",(char *) "cols", NULL
18678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18681 arg2
= (int)SWIG_As_int(obj1
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18683 arg3
= (int)SWIG_As_int(obj2
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18713 result
= (int)(arg1
)->GetMaxRows();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_From_int((int)result
);
18725 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18726 PyObject
*resultobj
;
18727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (int)(arg1
)->GetMaxCols();
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_From_int((int)result
);
18751 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self",(char *) "size", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 Py_INCREF(Py_None
); resultobj
= Py_None
;
18783 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (arg1
)->GetToolBitmapSize();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18803 wxSize
* resultptr
;
18804 resultptr
= new wxSize((wxSize
&) result
);
18805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18813 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (arg1
)->GetToolSize();
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18833 wxSize
* resultptr
;
18834 resultptr
= new wxSize((wxSize
&) result
);
18835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18843 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18848 wxToolBarToolBase
*result
;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self",(char *) "x",(char *) "y", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 arg2
= (int)SWIG_As_int(obj1
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18861 arg3
= (int)SWIG_As_int(obj2
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= wxPyMake_wxObject(result
, 0);
18879 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18883 wxToolBarToolBase
*result
;
18884 PyObject
* obj0
= 0 ;
18885 PyObject
* obj1
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self",(char *) "toolid", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 arg2
= (int)SWIG_As_int(obj1
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= wxPyMake_wxObject(result
, 0);
18911 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->IsVertical();
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18939 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18942 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18944 return Py_BuildValue((char *)"");
18946 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxWindow
*arg1
= (wxWindow
*) 0 ;
18949 int arg2
= (int) -1 ;
18950 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18951 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18952 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18953 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18954 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18955 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18956 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18960 bool temp6
= false ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 PyObject
* obj2
= 0 ;
18964 PyObject
* obj3
= 0 ;
18965 PyObject
* obj4
= 0 ;
18966 PyObject
* obj5
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18975 arg2
= (int)SWIG_As_int(obj1
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18987 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18991 arg5
= (long)SWIG_As_long(obj4
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18996 arg6
= wxString_in_helper(obj5
);
18997 if (arg6
== NULL
) SWIG_fail
;
19002 if (!wxPyCheckForApp()) SWIG_fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19024 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
;
19027 char *kwnames
[] = {
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
19033 if (!wxPyCheckForApp()) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (wxToolBar
*)new wxToolBar();
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19047 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19050 wxWindow
*arg2
= (wxWindow
*) 0 ;
19051 int arg3
= (int) -1 ;
19052 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19053 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19054 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19055 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19056 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19057 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
19058 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19062 bool temp7
= false ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 PyObject
* obj2
= 0 ;
19066 PyObject
* obj3
= 0 ;
19067 PyObject
* obj4
= 0 ;
19068 PyObject
* obj5
= 0 ;
19069 PyObject
* obj6
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19080 arg3
= (int)SWIG_As_int(obj2
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19096 arg6
= (long)SWIG_As_long(obj5
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19101 arg7
= wxString_in_helper(obj6
);
19102 if (arg7
== NULL
) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19130 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19135 wxToolBarToolBase
*result
;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 PyObject
* obj2
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "x",(char *) "y", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 arg2
= (int)SWIG_As_int(obj1
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19148 arg3
= (int)SWIG_As_int(obj2
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= wxPyMake_wxObject(result
, 0);
19166 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19169 wxVisualAttributes result
;
19170 PyObject
* obj0
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "variant", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19177 arg1
= (int)SWIG_As_int(obj0
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19181 if (!wxPyCheckForApp()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19189 wxVisualAttributes
* resultptr
;
19190 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19199 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19202 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19204 return Py_BuildValue((char *)"");
19206 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19207 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19212 static PyObject
*_wrap_ListCtrlNameStr_get() {
19217 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19219 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19226 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxColour
const &arg1_defvalue
= wxNullColour
;
19229 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19230 wxColour
const &arg2_defvalue
= wxNullColour
;
19231 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19232 wxFont
const &arg3_defvalue
= wxNullFont
;
19233 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19234 wxListItemAttr
*result
;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 PyObject
* obj2
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19248 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19254 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19258 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19261 if (arg3
== NULL
) {
19262 PyErr_SetString(PyExc_TypeError
,"null reference");
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19280 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19283 wxColour
*arg2
= 0 ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "colText", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 Py_INCREF(Py_None
); resultobj
= Py_None
;
19312 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19315 wxColour
*arg2
= 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "colBack", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self",(char *) "font", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19360 if (arg2
== NULL
) {
19361 PyErr_SetString(PyExc_TypeError
,"null reference");
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->SetFont((wxFont
const &)*arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 Py_INCREF(Py_None
); resultobj
= Py_None
;
19378 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 result
= (bool)(arg1
)->HasTextColour();
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19406 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (bool)(arg1
)->HasBackgroundColour();
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19434 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (bool)(arg1
)->HasFont();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19462 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= (arg1
)->GetTextColour();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 wxColour
* resultptr
;
19483 resultptr
= new wxColour((wxColour
&) result
);
19484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19492 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (arg1
)->GetBackgroundColour();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 wxColour
* resultptr
;
19513 resultptr
= new wxColour((wxColour
&) result
);
19514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19522 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (arg1
)->GetFont();
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 wxFont
* resultptr
;
19543 resultptr
= new wxFont((wxFont
&) result
);
19544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19552 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19555 PyObject
* obj0
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 wxListItemAttr_Destroy(arg1
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 Py_INCREF(Py_None
); resultobj
= Py_None
;
19577 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19580 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19582 return Py_BuildValue((char *)"");
19584 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxListItem
*result
;
19587 char *kwnames
[] = {
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxListItem
*)new wxListItem();
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= wxPyMake_wxObject(result
, 1);
19608 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxListItem
*arg1
= (wxListItem
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxListItem
*arg1
= (wxListItem
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxListItem
*arg1
= (wxListItem
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 (arg1
)->ClearAttributes();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 Py_INCREF(Py_None
); resultobj
= Py_None
;
19683 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxListItem
*arg1
= (wxListItem
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "mask", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 arg2
= (long)SWIG_As_long(obj1
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 (arg1
)->SetMask(arg2
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 Py_INCREF(Py_None
); resultobj
= Py_None
;
19712 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxListItem
*arg1
= (wxListItem
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 PyObject
* obj1
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self",(char *) "id", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 arg2
= (long)SWIG_As_long(obj1
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 (arg1
)->SetId(arg2
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 Py_INCREF(Py_None
); resultobj
= Py_None
;
19741 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxListItem
*arg1
= (wxListItem
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "col", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 arg2
= (int)SWIG_As_int(obj1
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 (arg1
)->SetColumn(arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 Py_INCREF(Py_None
); resultobj
= Py_None
;
19770 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxListItem
*arg1
= (wxListItem
*) 0 ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "state", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 arg2
= (long)SWIG_As_long(obj1
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 (arg1
)->SetState(arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 Py_INCREF(Py_None
); resultobj
= Py_None
;
19799 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxListItem
*arg1
= (wxListItem
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "stateMask", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 arg2
= (long)SWIG_As_long(obj1
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->SetStateMask(arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 Py_INCREF(Py_None
); resultobj
= Py_None
;
19828 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListItem
*arg1
= (wxListItem
*) 0 ;
19831 wxString
*arg2
= 0 ;
19832 bool temp2
= false ;
19833 PyObject
* obj0
= 0 ;
19834 PyObject
* obj1
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "text", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= wxString_in_helper(obj1
);
19844 if (arg2
== NULL
) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->SetText((wxString
const &)*arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxListItem
*arg1
= (wxListItem
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self",(char *) "image", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19882 arg2
= (int)SWIG_As_int(obj1
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 (arg1
)->SetImage(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 Py_INCREF(Py_None
); resultobj
= Py_None
;
19898 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
;
19900 wxListItem
*arg1
= (wxListItem
*) 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "data", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19911 arg2
= (long)SWIG_As_long(obj1
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 (arg1
)->SetData(arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 Py_INCREF(Py_None
); resultobj
= Py_None
;
19927 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxListItem
*arg1
= (wxListItem
*) 0 ;
19931 PyObject
* obj0
= 0 ;
19932 PyObject
* obj1
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self",(char *) "width", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 arg2
= (int)SWIG_As_int(obj1
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->SetWidth(arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19956 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxListItem
*arg1
= (wxListItem
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "align", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 arg2
= (int)SWIG_As_int(obj1
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 Py_INCREF(Py_None
); resultobj
= Py_None
;
19985 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxListItem
*arg1
= (wxListItem
*) 0 ;
19988 wxColour
*arg2
= 0 ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self",(char *) "colText", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxListItem
*arg1
= (wxListItem
*) 0 ;
20020 wxColour
*arg2
= 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "colBack", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 Py_INCREF(Py_None
); resultobj
= Py_None
;
20049 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxListItem
*arg1
= (wxListItem
*) 0 ;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20055 char *kwnames
[] = {
20056 (char *) "self",(char *) "font", NULL
20059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20065 if (arg2
== NULL
) {
20066 PyErr_SetString(PyExc_TypeError
,"null reference");
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 (arg1
)->SetFont((wxFont
const &)*arg2
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxListItem
*arg1
= (wxListItem
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (long)(arg1
)->GetMask();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= SWIG_From_long((long)result
);
20109 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxListItem
*arg1
= (wxListItem
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (long)(arg1
)->GetId();
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_From_long((long)result
);
20135 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxListItem
*arg1
= (wxListItem
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 char *kwnames
[] = {
20141 (char *) "self", NULL
20144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (int)(arg1
)->GetColumn();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_From_int((int)result
);
20161 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxListItem
*arg1
= (wxListItem
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (long)(arg1
)->GetState();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= SWIG_From_long((long)result
);
20187 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20189 wxListItem
*arg1
= (wxListItem
*) 0 ;
20191 PyObject
* obj0
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 wxString
const &_result_ref
= (arg1
)->GetText();
20203 result
= (wxString
*) &_result_ref
;
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20213 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20222 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxListItem
*arg1
= (wxListItem
*) 0 ;
20226 PyObject
* obj0
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self", NULL
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (int)(arg1
)->GetImage();
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= SWIG_From_int((int)result
);
20248 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxListItem
*arg1
= (wxListItem
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (long)(arg1
)->GetData();
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_From_long((long)result
);
20274 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxListItem
*arg1
= (wxListItem
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)(arg1
)->GetWidth();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_From_int((int)result
);
20300 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxListItem
*arg1
= (wxListItem
*) 0 ;
20304 PyObject
* obj0
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (int)(arg1
)->GetAlign();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20319 resultobj
= SWIG_From_int((int)result
);
20326 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxListItem
*arg1
= (wxListItem
*) 0 ;
20329 wxListItemAttr
*result
;
20330 PyObject
* obj0
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20352 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxListItem
*arg1
= (wxListItem
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 result
= (bool)(arg1
)->HasAttributes();
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20380 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxListItem
*arg1
= (wxListItem
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 wxColour
* resultptr
;
20401 resultptr
= new wxColour((wxColour
&) result
);
20402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20410 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxListItem
*arg1
= (wxListItem
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 wxColour
* resultptr
;
20431 resultptr
= new wxColour((wxColour
&) result
);
20432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20440 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
;
20442 wxListItem
*arg1
= (wxListItem
*) 0 ;
20444 PyObject
* obj0
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= ((wxListItem
const *)arg1
)->GetFont();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 wxFont
* resultptr
;
20461 resultptr
= new wxFont((wxFont
&) result
);
20462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20470 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxListItem
*arg1
= (wxListItem
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self",(char *) "m_mask", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20483 arg2
= (long)SWIG_As_long(obj1
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20485 if (arg1
) (arg1
)->m_mask
= arg2
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxListItem
*arg1
= (wxListItem
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 result
= (long) ((arg1
)->m_mask
);
20508 resultobj
= SWIG_From_long((long)result
);
20515 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20517 wxListItem
*arg1
= (wxListItem
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 char *kwnames
[] = {
20522 (char *) "self",(char *) "m_itemId", NULL
20525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20528 arg2
= (long)SWIG_As_long(obj1
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20530 if (arg1
) (arg1
)->m_itemId
= arg2
;
20532 Py_INCREF(Py_None
); resultobj
= Py_None
;
20539 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxListItem
*arg1
= (wxListItem
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 char *kwnames
[] = {
20545 (char *) "self", NULL
20548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20551 result
= (long) ((arg1
)->m_itemId
);
20553 resultobj
= SWIG_From_long((long)result
);
20560 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxListItem
*arg1
= (wxListItem
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "m_col", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 arg2
= (int)SWIG_As_int(obj1
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20575 if (arg1
) (arg1
)->m_col
= arg2
;
20577 Py_INCREF(Py_None
); resultobj
= Py_None
;
20584 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 wxListItem
*arg1
= (wxListItem
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 result
= (int) ((arg1
)->m_col
);
20598 resultobj
= SWIG_From_int((int)result
);
20605 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxListItem
*arg1
= (wxListItem
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "m_state", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 arg2
= (long)SWIG_As_long(obj1
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20620 if (arg1
) (arg1
)->m_state
= arg2
;
20622 Py_INCREF(Py_None
); resultobj
= Py_None
;
20629 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxListItem
*arg1
= (wxListItem
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 result
= (long) ((arg1
)->m_state
);
20643 resultobj
= SWIG_From_long((long)result
);
20650 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20652 wxListItem
*arg1
= (wxListItem
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 char *kwnames
[] = {
20657 (char *) "self",(char *) "m_stateMask", NULL
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 arg2
= (long)SWIG_As_long(obj1
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20665 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20667 Py_INCREF(Py_None
); resultobj
= Py_None
;
20674 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
;
20676 wxListItem
*arg1
= (wxListItem
*) 0 ;
20678 PyObject
* obj0
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 result
= (long) ((arg1
)->m_stateMask
);
20688 resultobj
= SWIG_From_long((long)result
);
20695 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
;
20697 wxListItem
*arg1
= (wxListItem
*) 0 ;
20698 wxString
*arg2
= (wxString
*) 0 ;
20699 bool temp2
= false ;
20700 PyObject
* obj0
= 0 ;
20701 PyObject
* obj1
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "m_text", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 arg2
= wxString_in_helper(obj1
);
20711 if (arg2
== NULL
) SWIG_fail
;
20714 if (arg1
) (arg1
)->m_text
= *arg2
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20731 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20732 PyObject
*resultobj
;
20733 wxListItem
*arg1
= (wxListItem
*) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20743 result
= (wxString
*)& ((arg1
)->m_text
);
20747 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20749 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20758 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxListItem
*arg1
= (wxListItem
*) 0 ;
20762 PyObject
* obj0
= 0 ;
20763 PyObject
* obj1
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self",(char *) "m_image", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 arg2
= (int)SWIG_As_int(obj1
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20773 if (arg1
) (arg1
)->m_image
= arg2
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxListItem
*arg1
= (wxListItem
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 result
= (int) ((arg1
)->m_image
);
20796 resultobj
= SWIG_From_int((int)result
);
20803 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxListItem
*arg1
= (wxListItem
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "m_data", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 arg2
= (long)SWIG_As_long(obj1
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20818 if (arg1
) (arg1
)->m_data
= arg2
;
20820 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxListItem
*arg1
= (wxListItem
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 char *kwnames
[] = {
20833 (char *) "self", NULL
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 result
= (long) ((arg1
)->m_data
);
20841 resultobj
= SWIG_From_long((long)result
);
20848 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxListItem
*arg1
= (wxListItem
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self",(char *) "m_format", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 arg2
= (int)SWIG_As_int(obj1
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20863 if (arg1
) (arg1
)->m_format
= arg2
;
20865 Py_INCREF(Py_None
); resultobj
= Py_None
;
20872 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxListItem
*arg1
= (wxListItem
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 result
= (int) ((arg1
)->m_format
);
20886 resultobj
= SWIG_From_int((int)result
);
20893 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxListItem
*arg1
= (wxListItem
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "m_width", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20906 arg2
= (int)SWIG_As_int(obj1
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20908 if (arg1
) (arg1
)->m_width
= arg2
;
20910 Py_INCREF(Py_None
); resultobj
= Py_None
;
20917 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxListItem
*arg1
= (wxListItem
*) 0 ;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20929 result
= (int) ((arg1
)->m_width
);
20931 resultobj
= SWIG_From_int((int)result
);
20938 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20941 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20943 return Py_BuildValue((char *)"");
20945 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20948 int arg2
= (int) 0 ;
20949 wxListEvent
*result
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "commandType",(char *) "id", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20958 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20962 arg2
= (int)SWIG_As_int(obj1
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20979 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char *kwnames
[] = {
20986 (char *) "self",(char *) "m_code", NULL
20989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 arg2
= (int)SWIG_As_int(obj1
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20994 if (arg1
) (arg1
)->m_code
= arg2
;
20996 Py_INCREF(Py_None
); resultobj
= Py_None
;
21003 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 result
= (int) ((arg1
)->m_code
);
21017 resultobj
= SWIG_From_int((int)result
);
21024 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "m_oldItemIndex", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 arg2
= (long)SWIG_As_long(obj1
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21039 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
21058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 result
= (long) ((arg1
)->m_oldItemIndex
);
21062 resultobj
= SWIG_From_long((long)result
);
21069 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "m_itemIndex", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 arg2
= (long)SWIG_As_long(obj1
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21084 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21086 Py_INCREF(Py_None
); resultobj
= Py_None
;
21093 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21097 PyObject
* obj0
= 0 ;
21098 char *kwnames
[] = {
21099 (char *) "self", NULL
21102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 result
= (long) ((arg1
)->m_itemIndex
);
21107 resultobj
= SWIG_From_long((long)result
);
21114 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21118 PyObject
* obj0
= 0 ;
21119 PyObject
* obj1
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "m_col", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21127 arg2
= (int)SWIG_As_int(obj1
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21129 if (arg1
) (arg1
)->m_col
= arg2
;
21131 Py_INCREF(Py_None
); resultobj
= Py_None
;
21138 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 result
= (int) ((arg1
)->m_col
);
21152 resultobj
= SWIG_From_int((int)result
);
21159 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21162 wxPoint
*arg2
= (wxPoint
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self",(char *) "m_pointDrag", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21176 Py_INCREF(Py_None
); resultobj
= Py_None
;
21183 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21195 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21204 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21207 wxListItem
*result
;
21208 PyObject
* obj0
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21216 result
= (wxListItem
*)& ((arg1
)->m_item
);
21219 resultobj
= wxPyMake_wxObject(result
, 0);
21227 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 result
= (int)(arg1
)->GetKeyCode();
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_int((int)result
);
21253 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21255 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21257 PyObject
* obj0
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (long)(arg1
)->GetIndex();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= SWIG_From_long((long)result
);
21279 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (int)(arg1
)->GetColumn();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_From_int((int)result
);
21305 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (arg1
)->GetPoint();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 wxPoint
* resultptr
;
21326 resultptr
= new wxPoint((wxPoint
&) result
);
21327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21335 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "self", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 wxString
const &_result_ref
= (arg1
)->GetLabel();
21351 result
= (wxString
*) &_result_ref
;
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21370 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 wxString
const &_result_ref
= (arg1
)->GetText();
21386 result
= (wxString
*) &_result_ref
;
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21405 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= (int)(arg1
)->GetImage();
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= SWIG_From_int((int)result
);
21431 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (long)(arg1
)->GetData();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= SWIG_From_long((long)result
);
21457 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21461 PyObject
* obj0
= 0 ;
21462 char *kwnames
[] = {
21463 (char *) "self", NULL
21466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= (long)(arg1
)->GetMask();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21476 resultobj
= SWIG_From_long((long)result
);
21483 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
;
21485 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21486 wxListItem
*result
;
21487 PyObject
* obj0
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21499 result
= (wxListItem
*) &_result_ref
;
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21512 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "self", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (long)(arg1
)->GetCacheFrom();
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_From_long((long)result
);
21538 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21542 PyObject
* obj0
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (long)(arg1
)->GetCacheTo();
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= SWIG_From_long((long)result
);
21564 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self",(char *) "editCancelled", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 arg2
= (bool)SWIG_As_bool(obj1
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 (arg1
)->SetEditCanceled(arg2
);
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 Py_INCREF(Py_None
); resultobj
= Py_None
;
21621 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21624 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21626 return Py_BuildValue((char *)"");
21628 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxWindow
*arg1
= (wxWindow
*) 0 ;
21631 int arg2
= (int) -1 ;
21632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21636 long arg5
= (long) wxLC_ICON
;
21637 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21638 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21639 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21640 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21641 wxPyListCtrl
*result
;
21644 bool temp7
= false ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 PyObject
* obj2
= 0 ;
21648 PyObject
* obj3
= 0 ;
21649 PyObject
* obj4
= 0 ;
21650 PyObject
* obj5
= 0 ;
21651 PyObject
* obj6
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 arg2
= (int)SWIG_As_int(obj1
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21676 arg5
= (long)SWIG_As_long(obj4
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21683 if (arg6
== NULL
) {
21684 PyErr_SetString(PyExc_TypeError
,"null reference");
21690 arg7
= wxString_in_helper(obj6
);
21691 if (arg7
== NULL
) SWIG_fail
;
21696 if (!wxPyCheckForApp()) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21718 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxPyListCtrl
*result
;
21721 char *kwnames
[] = {
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21727 if (!wxPyCheckForApp()) SWIG_fail
;
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21741 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21744 wxWindow
*arg2
= (wxWindow
*) 0 ;
21745 int arg3
= (int) -1 ;
21746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21750 long arg6
= (long) wxLC_ICON
;
21751 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21752 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21753 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21758 bool temp8
= false ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 PyObject
* obj2
= 0 ;
21762 PyObject
* obj3
= 0 ;
21763 PyObject
* obj4
= 0 ;
21764 PyObject
* obj5
= 0 ;
21765 PyObject
* obj6
= 0 ;
21766 PyObject
* obj7
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 arg3
= (int)SWIG_As_int(obj2
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21783 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21789 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21793 arg6
= (long)SWIG_As_long(obj5
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21797 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21800 if (arg7
== NULL
) {
21801 PyErr_SetString(PyExc_TypeError
,"null reference");
21807 arg8
= wxString_in_helper(obj7
);
21808 if (arg8
== NULL
) SWIG_fail
;
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21836 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21839 PyObject
*arg2
= (PyObject
*) 0 ;
21840 PyObject
*arg3
= (PyObject
*) 0 ;
21841 PyObject
* obj0
= 0 ;
21842 PyObject
* obj1
= 0 ;
21843 PyObject
* obj2
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "self",(char *) "_class", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21868 PyObject
*resultobj
;
21869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21870 wxColour
*arg2
= 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self",(char *) "col", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21884 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21902 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21905 wxColour
*arg2
= 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "col", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21941 wxListItem
*result
;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "col", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 arg2
= (int)SWIG_As_int(obj1
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= wxPyMake_wxObject(result
, 0);
21969 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21973 wxListItem
*arg3
= 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "col",(char *) "item", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21985 arg2
= (int)SWIG_As_int(obj1
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21987 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21990 if (arg3
== NULL
) {
21991 PyErr_SetString(PyExc_TypeError
,"null reference");
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22010 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "col", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= (int)SWIG_As_int(obj1
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= SWIG_From_int((int)result
);
22040 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 PyObject
* obj2
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "col",(char *) "width", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 arg2
= (int)SWIG_As_int(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22058 arg3
= (int)SWIG_As_int(obj2
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22076 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_From_int((int)result
);
22102 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 char *kwnames
[] = {
22108 (char *) "self", NULL
22111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22122 wxRect
* resultptr
;
22123 resultptr
= new wxRect((wxRect
&) result
);
22124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22132 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22135 wxTextCtrl
*result
;
22136 PyObject
* obj0
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= wxPyMake_wxObject(result
, 0);
22160 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22164 int arg3
= (int) 0 ;
22165 wxListItem
*result
;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 PyObject
* obj2
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "itemId",(char *) "col", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 arg2
= (long)SWIG_As_long(obj1
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 arg3
= (int)SWIG_As_int(obj2
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= wxPyMake_wxObject(result
, 0);
22198 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22201 wxListItem
*arg2
= 0 ;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "info", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22215 if (arg2
== NULL
) {
22216 PyErr_SetString(PyExc_TypeError
,"null reference");
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (bool)(arg1
)->SetItem(*arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22235 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22240 wxString
*arg4
= 0 ;
22241 int arg5
= (int) -1 ;
22243 bool temp4
= false ;
22244 PyObject
* obj0
= 0 ;
22245 PyObject
* obj1
= 0 ;
22246 PyObject
* obj2
= 0 ;
22247 PyObject
* obj3
= 0 ;
22248 PyObject
* obj4
= 0 ;
22249 char *kwnames
[] = {
22250 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 arg2
= (long)SWIG_As_long(obj1
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22258 arg3
= (int)SWIG_As_int(obj2
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 arg4
= wxString_in_helper(obj3
);
22262 if (arg4
== NULL
) SWIG_fail
;
22266 arg5
= (int)SWIG_As_int(obj4
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_From_long((long)result
);
22291 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 PyObject
* obj2
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 arg2
= (long)SWIG_As_long(obj1
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22309 arg3
= (long)SWIG_As_long(obj2
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_From_int((int)result
);
22325 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 PyObject
* obj2
= 0 ;
22335 PyObject
* obj3
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22343 arg2
= (long)SWIG_As_long(obj1
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22345 arg3
= (long)SWIG_As_long(obj2
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22347 arg4
= (long)SWIG_As_long(obj3
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22365 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 PyObject
* obj2
= 0 ;
22375 PyObject
* obj3
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22383 arg2
= (long)SWIG_As_long(obj1
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22385 arg3
= (int)SWIG_As_int(obj2
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22387 arg4
= (int)SWIG_As_int(obj3
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "item", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 arg2
= (long)SWIG_As_long(obj1
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22441 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22445 wxString
*arg3
= 0 ;
22446 bool temp3
= false ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 PyObject
* obj2
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "item",(char *) "str", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 arg2
= (long)SWIG_As_long(obj1
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 arg3
= wxString_in_helper(obj2
);
22461 if (arg3
== NULL
) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 Py_INCREF(Py_None
); resultobj
= Py_None
;
22486 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "self",(char *) "item", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22500 arg2
= (long)SWIG_As_long(obj1
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_From_long((long)result
);
22516 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 PyObject
* obj2
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self",(char *) "item",(char *) "data", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22532 arg2
= (long)SWIG_As_long(obj1
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22534 arg3
= (long)SWIG_As_long(obj2
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22552 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "item", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 arg2
= (long)SWIG_As_long(obj1
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 wxPoint
* resultptr
;
22577 resultptr
= new wxPoint((wxPoint
&) result
);
22578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22586 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22590 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 PyObject
* obj2
= 0 ;
22595 char *kwnames
[] = {
22596 (char *) "self",(char *) "item",(char *) "code", NULL
22599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22602 arg2
= (long)SWIG_As_long(obj1
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 arg3
= (int)SWIG_As_int(obj2
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22612 wxPyEndAllowThreads(__tstate
);
22613 if (PyErr_Occurred()) SWIG_fail
;
22616 wxRect
* resultptr
;
22617 resultptr
= new wxRect((wxRect
&) result
);
22618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22626 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22630 wxPoint
*arg3
= 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "item",(char *) "pos", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22643 arg2
= (long)SWIG_As_long(obj1
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22665 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 resultobj
= SWIG_From_int((int)result
);
22691 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_From_int((int)result
);
22717 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22721 PyObject
* obj0
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22737 wxSize
* resultptr
;
22738 resultptr
= new wxSize((wxSize
&) result
);
22739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22747 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
;
22749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_From_int((int)result
);
22773 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
;
22775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 wxColour
* resultptr
;
22794 resultptr
= new wxColour((wxColour
&) result
);
22795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22803 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
;
22805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22806 wxColour
*arg2
= 0 ;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 char *kwnames
[] = {
22811 (char *) "self",(char *) "col", NULL
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 Py_INCREF(Py_None
); resultobj
= Py_None
;
22835 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
;
22837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_From_long((long)result
);
22861 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22865 bool arg3
= (bool) true ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 PyObject
* obj2
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self",(char *) "style",(char *) "add", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 arg2
= (long)SWIG_As_long(obj1
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 arg3
= (bool)SWIG_As_bool(obj2
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 (arg1
)->SetSingleStyle(arg2
,arg3
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 Py_INCREF(Py_None
); resultobj
= Py_None
;
22896 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self",(char *) "style", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 arg2
= (long)SWIG_As_long(obj1
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetWindowStyleFlag(arg2
);
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 Py_INCREF(Py_None
); resultobj
= Py_None
;
22925 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22929 int arg3
= (int) wxLIST_NEXT_ALL
;
22930 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 PyObject
* obj2
= 0 ;
22935 PyObject
* obj3
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 arg2
= (long)SWIG_As_long(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 arg3
= (int)SWIG_As_int(obj2
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22950 arg4
= (int)SWIG_As_int(obj3
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_From_long((long)result
);
22967 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22971 wxImageList
*result
;
22972 PyObject
* obj0
= 0 ;
22973 PyObject
* obj1
= 0 ;
22974 char *kwnames
[] = {
22975 (char *) "self",(char *) "which", NULL
22978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22981 arg2
= (int)SWIG_As_int(obj1
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= wxPyMake_wxObject(result
, 0);
22999 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23002 wxImageList
*arg2
= (wxImageList
*) 0 ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 PyObject
* obj2
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "imageList",(char *) "which", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 arg3
= (int)SWIG_As_int(obj2
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->SetImageList(arg2
,arg3
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23032 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23035 wxImageList
*arg2
= (wxImageList
*) 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self",(char *) "imageList",(char *) "which", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23048 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23049 arg3
= (int)SWIG_As_int(obj2
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 (arg1
)->AssignImageList(arg2
,arg3
);
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 Py_INCREF(Py_None
); resultobj
= Py_None
;
23065 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
23075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23093 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23121 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23125 PyObject
* obj0
= 0 ;
23126 PyObject
* obj1
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self",(char *) "item", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23134 arg2
= (long)SWIG_As_long(obj1
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 (arg1
)->RefreshItem(arg2
);
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 Py_INCREF(Py_None
); resultobj
= Py_None
;
23150 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 arg2
= (long)SWIG_As_long(obj1
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23167 arg3
= (long)SWIG_As_long(obj2
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 (arg1
)->RefreshItems(arg2
,arg3
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 Py_INCREF(Py_None
); resultobj
= Py_None
;
23183 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23186 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self",(char *) "flag", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 arg2
= (int)SWIG_As_int(obj1
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 result
= (bool)(arg1
)->Arrange(arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23217 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "item", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 arg2
= (long)SWIG_As_long(obj1
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (bool)(arg1
)->DeleteItem(arg2
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23249 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23253 PyObject
* obj0
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 result
= (bool)(arg1
)->DeleteAllItems();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23277 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 PyObject
* obj1
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "col", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23291 arg2
= (int)SWIG_As_int(obj1
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23309 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (bool)(arg1
)->DeleteAllColumns();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23337 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 (arg1
)->ClearAll();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23366 wxTextCtrl
*result
;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "item", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23376 arg2
= (long)SWIG_As_long(obj1
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= wxPyMake_wxObject(result
, 0);
23394 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self",(char *) "cancel", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 arg2
= (bool)SWIG_As_bool(obj1
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23426 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self",(char *) "item", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 arg2
= (long)SWIG_As_long(obj1
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23458 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23462 wxString
*arg3
= 0 ;
23463 bool arg4
= (bool) false ;
23465 bool temp3
= false ;
23466 PyObject
* obj0
= 0 ;
23467 PyObject
* obj1
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 PyObject
* obj3
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 arg2
= (long)SWIG_As_long(obj1
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 arg3
= wxString_in_helper(obj2
);
23481 if (arg3
== NULL
) SWIG_fail
;
23485 arg4
= (bool)SWIG_As_bool(obj3
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_From_long((long)result
);
23510 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 PyObject
* obj2
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self",(char *) "start",(char *) "data", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 arg2
= (long)SWIG_As_long(obj1
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23528 arg3
= (long)SWIG_As_long(obj2
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_From_long((long)result
);
23544 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23548 wxPoint
*arg3
= 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 PyObject
* obj2
= 0 ;
23555 PyObject
* obj3
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23563 arg2
= (long)SWIG_As_long(obj1
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23569 arg4
= (int)SWIG_As_int(obj3
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_From_long((long)result
);
23585 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23588 wxPoint
*arg2
= 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "point", NULL
23600 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_From_long((long)result
);
23616 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23617 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23624 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23627 wxListItem
*arg2
= 0 ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 char *kwnames
[] = {
23632 (char *) "self",(char *) "info", NULL
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23641 if (arg2
== NULL
) {
23642 PyErr_SetString(PyExc_TypeError
,"null reference");
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (long)(arg1
)->InsertItem(*arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_From_long((long)result
);
23659 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23663 wxString
*arg3
= 0 ;
23665 bool temp3
= false ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 PyObject
* obj2
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self",(char *) "index",(char *) "label", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 arg2
= (long)SWIG_As_long(obj1
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 arg3
= wxString_in_helper(obj2
);
23680 if (arg3
== NULL
) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_From_long((long)result
);
23705 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 PyObject
* obj2
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23721 arg2
= (long)SWIG_As_long(obj1
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23723 arg3
= (int)SWIG_As_int(obj2
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_From_long((long)result
);
23739 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23743 wxString
*arg3
= 0 ;
23746 bool temp3
= false ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 arg2
= (long)SWIG_As_long(obj1
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 arg3
= wxString_in_helper(obj2
);
23762 if (arg3
== NULL
) SWIG_fail
;
23765 arg4
= (int)SWIG_As_int(obj3
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_From_long((long)result
);
23789 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23793 wxListItem
*arg3
= 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 PyObject
* obj2
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "col",(char *) "info", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 arg2
= (long)SWIG_As_long(obj1
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23807 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23810 if (arg3
== NULL
) {
23811 PyErr_SetString(PyExc_TypeError
,"null reference");
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_From_long((long)result
);
23828 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23832 wxString
*arg3
= 0 ;
23833 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23834 int arg5
= (int) -1 ;
23836 bool temp3
= false ;
23837 PyObject
* obj0
= 0 ;
23838 PyObject
* obj1
= 0 ;
23839 PyObject
* obj2
= 0 ;
23840 PyObject
* obj3
= 0 ;
23841 PyObject
* obj4
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 arg2
= (long)SWIG_As_long(obj1
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 arg3
= wxString_in_helper(obj2
);
23853 if (arg3
== NULL
) SWIG_fail
;
23857 arg4
= (int)SWIG_As_int(obj3
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 arg5
= (int)SWIG_As_int(obj4
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_From_long((long)result
);
23886 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "count", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 arg2
= (long)SWIG_As_long(obj1
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 (arg1
)->SetItemCount(arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 Py_INCREF(Py_None
); resultobj
= Py_None
;
23915 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
;
23917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 PyObject
* obj2
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "dx",(char *) "dy", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 arg2
= (int)SWIG_As_int(obj1
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23933 arg3
= (int)SWIG_As_int(obj2
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23951 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
;
23953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23955 wxColour
*arg3
= 0 ;
23957 PyObject
* obj0
= 0 ;
23958 PyObject
* obj1
= 0 ;
23959 PyObject
* obj2
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self",(char *) "item",(char *) "col", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23967 arg2
= (long)SWIG_As_long(obj1
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23975 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 Py_INCREF(Py_None
); resultobj
= Py_None
;
23987 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "item", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 arg2
= (long)SWIG_As_long(obj1
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 wxColour
* resultptr
;
24012 resultptr
= new wxColour((wxColour
&) result
);
24013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24021 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24025 wxColour
*arg3
= 0 ;
24027 PyObject
* obj0
= 0 ;
24028 PyObject
* obj1
= 0 ;
24029 PyObject
* obj2
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self",(char *) "item",(char *) "col", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 arg2
= (long)SWIG_As_long(obj1
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "item", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 arg2
= (long)SWIG_As_long(obj1
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 wxColour
* resultptr
;
24082 resultptr
= new wxColour((wxColour
&) result
);
24083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24091 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24094 PyObject
*arg2
= (PyObject
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "func", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24122 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= wxPyMake_wxObject(result
, 0);
24150 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24153 wxVisualAttributes result
;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "variant", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24161 arg1
= (int)SWIG_As_int(obj0
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 if (!wxPyCheckForApp()) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 wxVisualAttributes
* resultptr
;
24174 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24183 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24186 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24188 return Py_BuildValue((char *)"");
24190 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxWindow
*arg1
= (wxWindow
*) 0 ;
24193 int arg2
= (int) -1 ;
24194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24198 long arg5
= (long) wxLC_REPORT
;
24199 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24200 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24201 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24203 wxListView
*result
;
24206 bool temp7
= false ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 PyObject
* obj2
= 0 ;
24210 PyObject
* obj3
= 0 ;
24211 PyObject
* obj4
= 0 ;
24212 PyObject
* obj5
= 0 ;
24213 PyObject
* obj6
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24222 arg2
= (int)SWIG_As_int(obj1
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24234 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24238 arg5
= (long)SWIG_As_long(obj4
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24242 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24245 if (arg6
== NULL
) {
24246 PyErr_SetString(PyExc_TypeError
,"null reference");
24252 arg7
= wxString_in_helper(obj6
);
24253 if (arg7
== NULL
) SWIG_fail
;
24258 if (!wxPyCheckForApp()) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24280 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxListView
*result
;
24283 char *kwnames
[] = {
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24289 if (!wxPyCheckForApp()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxListView
*)new wxListView();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24303 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxListView
*arg1
= (wxListView
*) 0 ;
24306 wxWindow
*arg2
= (wxWindow
*) 0 ;
24307 int arg3
= (int) -1 ;
24308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24312 long arg6
= (long) wxLC_REPORT
;
24313 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24314 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24315 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24320 bool temp8
= false ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj2
= 0 ;
24324 PyObject
* obj3
= 0 ;
24325 PyObject
* obj4
= 0 ;
24326 PyObject
* obj5
= 0 ;
24327 PyObject
* obj6
= 0 ;
24328 PyObject
* obj7
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 arg3
= (int)SWIG_As_int(obj2
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24355 arg6
= (long)SWIG_As_long(obj5
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24359 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24362 if (arg7
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference");
24369 arg8
= wxString_in_helper(obj7
);
24370 if (arg8
== NULL
) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxListView
*arg1
= (wxListView
*) 0 ;
24402 bool arg3
= (bool) true ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 PyObject
* obj2
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "n",(char *) "on", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 arg2
= (long)SWIG_As_long(obj1
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 arg3
= (bool)SWIG_As_bool(obj2
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->Select(arg2
,arg3
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxListView
*arg1
= (wxListView
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "index", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 arg2
= (long)SWIG_As_long(obj1
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->Focus(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxListView
*arg1
= (wxListView
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= SWIG_From_long((long)result
);
24488 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxListView
*arg1
= (wxListView
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "item", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 arg2
= (long)SWIG_As_long(obj1
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= SWIG_From_long((long)result
);
24518 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxListView
*arg1
= (wxListView
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_From_long((long)result
);
24544 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxListView
*arg1
= (wxListView
*) 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "index", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24558 arg2
= (long)SWIG_As_long(obj1
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (bool)(arg1
)->IsSelected(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24576 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
;
24578 wxListView
*arg1
= (wxListView
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 PyObject
* obj2
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "col",(char *) "image", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 arg2
= (int)SWIG_As_int(obj1
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24593 arg3
= (int)SWIG_As_int(obj2
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetColumnImage(arg2
,arg3
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxListView
*arg1
= (wxListView
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "col", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 arg2
= (int)SWIG_As_int(obj1
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->ClearColumnImage(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24641 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24643 return Py_BuildValue((char *)"");
24645 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24646 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24651 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24656 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24658 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24665 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxTreeItemId
*result
;
24668 char *kwnames
[] = {
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (wxTreeItemId
*)new wxTreeItemId();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24687 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24740 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24743 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "other", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24758 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24772 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24775 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "other", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24804 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24807 void *arg2
= (void *) 0 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self",(char *) "m_pItem", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24818 if (arg1
) (arg1
)->m_pItem
= arg2
;
24820 Py_INCREF(Py_None
); resultobj
= Py_None
;
24827 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24831 PyObject
* obj0
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24839 result
= (void *) ((arg1
)->m_pItem
);
24841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24848 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24851 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24853 return Py_BuildValue((char *)"");
24855 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 PyObject
*arg1
= (PyObject
*) NULL
;
24858 wxPyTreeItemData
*result
;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "obj", NULL
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24882 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 char *kwnames
[] = {
24888 (char *) "self", NULL
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 result
= (PyObject
*)(arg1
)->GetData();
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= result
;
24908 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24911 PyObject
*arg2
= (PyObject
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "obj", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->SetData(arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24936 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24939 wxTreeItemId
*result
;
24940 PyObject
* obj0
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24952 result
= (wxTreeItemId
*) &_result_ref
;
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24965 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24968 wxTreeItemId
*arg2
= 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "id", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24981 if (arg2
== NULL
) {
24982 PyErr_SetString(PyExc_TypeError
,"null reference");
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 Py_INCREF(Py_None
); resultobj
= Py_None
;
24999 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 wxPyTreeItemData_Destroy(arg1
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25024 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
25026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25027 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
25029 return Py_BuildValue((char *)"");
25031 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25034 int arg2
= (int) 0 ;
25035 wxTreeEvent
*result
;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "commandType",(char *) "id", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25044 arg1
= (wxEventType
)SWIG_As_int(obj0
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 arg2
= (int)SWIG_As_int(obj1
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
25065 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25068 wxTreeItemId result
;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 wxTreeItemId
* resultptr
;
25086 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25095 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25098 wxTreeItemId
*arg2
= 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "item", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25111 if (arg2
== NULL
) {
25112 PyErr_SetString(PyExc_TypeError
,"null reference");
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25129 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25132 wxTreeItemId result
;
25133 PyObject
* obj0
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 wxTreeItemId
* resultptr
;
25150 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25159 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
;
25161 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25162 wxTreeItemId
*arg2
= 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "item", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25175 if (arg2
== NULL
) {
25176 PyErr_SetString(PyExc_TypeError
,"null reference");
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 Py_INCREF(Py_None
); resultobj
= Py_None
;
25193 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25197 PyObject
* obj0
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25213 wxPoint
* resultptr
;
25214 resultptr
= new wxPoint((wxPoint
&) result
);
25215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25223 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25226 wxPoint
*arg2
= 0 ;
25228 PyObject
* obj0
= 0 ;
25229 PyObject
* obj1
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self",(char *) "pt", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 Py_INCREF(Py_None
); resultobj
= Py_None
;
25255 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25258 wxKeyEvent
*result
;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25271 result
= (wxKeyEvent
*) &_result_ref
;
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25284 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
;
25286 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_From_int((int)result
);
25310 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25313 wxKeyEvent
*arg2
= 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "evt", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25326 if (arg2
== NULL
) {
25327 PyErr_SetString(PyExc_TypeError
,"null reference");
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 Py_INCREF(Py_None
); resultobj
= Py_None
;
25344 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25348 PyObject
* obj0
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25360 result
= (wxString
*) &_result_ref
;
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25370 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25379 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25382 wxString
*arg2
= 0 ;
25383 bool temp2
= false ;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "label", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25394 arg2
= wxString_in_helper(obj1
);
25395 if (arg2
== NULL
) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 (arg1
)->SetLabel((wxString
const &)*arg2
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25420 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25448 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "editCancelled", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25461 arg2
= (bool)SWIG_As_bool(obj1
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 (arg1
)->SetEditCanceled(arg2
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25480 wxString
*arg2
= 0 ;
25481 bool temp2
= false ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char *kwnames
[] = {
25485 (char *) "self",(char *) "toolTip", NULL
25488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25492 arg2
= wxString_in_helper(obj1
);
25493 if (arg2
== NULL
) SWIG_fail
;
25497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25498 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 Py_INCREF(Py_None
); resultobj
= Py_None
;
25518 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25521 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25523 return Py_BuildValue((char *)"");
25525 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxWindow
*arg1
= (wxWindow
*) 0 ;
25528 int arg2
= (int) -1 ;
25529 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25530 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25531 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25532 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25533 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25534 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25535 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25536 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25538 wxPyTreeCtrl
*result
;
25541 bool temp7
= false ;
25542 PyObject
* obj0
= 0 ;
25543 PyObject
* obj1
= 0 ;
25544 PyObject
* obj2
= 0 ;
25545 PyObject
* obj3
= 0 ;
25546 PyObject
* obj4
= 0 ;
25547 PyObject
* obj5
= 0 ;
25548 PyObject
* obj6
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 arg2
= (int)SWIG_As_int(obj1
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25573 arg5
= (long)SWIG_As_long(obj4
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25580 if (arg6
== NULL
) {
25581 PyErr_SetString(PyExc_TypeError
,"null reference");
25587 arg7
= wxString_in_helper(obj6
);
25588 if (arg7
== NULL
) SWIG_fail
;
25593 if (!wxPyCheckForApp()) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25615 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPyTreeCtrl
*result
;
25618 char *kwnames
[] = {
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25624 if (!wxPyCheckForApp()) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25638 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25641 wxWindow
*arg2
= (wxWindow
*) 0 ;
25642 int arg3
= (int) -1 ;
25643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25647 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25648 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25649 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25650 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25655 bool temp8
= false ;
25656 PyObject
* obj0
= 0 ;
25657 PyObject
* obj1
= 0 ;
25658 PyObject
* obj2
= 0 ;
25659 PyObject
* obj3
= 0 ;
25660 PyObject
* obj4
= 0 ;
25661 PyObject
* obj5
= 0 ;
25662 PyObject
* obj6
= 0 ;
25663 PyObject
* obj7
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 arg3
= (int)SWIG_As_int(obj2
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25686 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25690 arg6
= (long)SWIG_As_long(obj5
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25697 if (arg7
== NULL
) {
25698 PyErr_SetString(PyExc_TypeError
,"null reference");
25704 arg8
= wxString_in_helper(obj7
);
25705 if (arg8
== NULL
) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25733 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 PyObject
*arg2
= (PyObject
*) 0 ;
25737 PyObject
*arg3
= (PyObject
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 PyObject
* obj2
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "self",(char *) "_class", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25790 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25793 unsigned int result
;
25794 PyObject
* obj0
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25806 wxPyEndAllowThreads(__tstate
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25816 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
;
25818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25819 unsigned int arg2
;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "indent", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25829 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 (arg1
)->SetIndent(arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 Py_INCREF(Py_None
); resultobj
= Py_None
;
25845 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25846 PyObject
*resultobj
;
25847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25848 unsigned int result
;
25849 PyObject
* obj0
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25871 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25874 unsigned int arg2
;
25875 PyObject
* obj0
= 0 ;
25876 PyObject
* obj1
= 0 ;
25877 char *kwnames
[] = {
25878 (char *) "self",(char *) "spacing", NULL
25881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25884 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25888 (arg1
)->SetSpacing(arg2
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 Py_INCREF(Py_None
); resultobj
= Py_None
;
25900 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25901 PyObject
*resultobj
;
25902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25903 wxImageList
*result
;
25904 PyObject
* obj0
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= wxPyMake_wxObject(result
, 0);
25928 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25931 wxImageList
*result
;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= wxPyMake_wxObject(result
, 0);
25956 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25959 wxImageList
*arg2
= (wxImageList
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "imageList", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetImageList(arg2
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25988 wxImageList
*arg2
= (wxImageList
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "imageList", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->SetStateImageList(arg2
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 Py_INCREF(Py_None
); resultobj
= Py_None
;
26014 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
;
26016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26017 wxImageList
*arg2
= (wxImageList
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "imageList", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26028 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 (arg1
)->AssignImageList(arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26046 wxImageList
*arg2
= (wxImageList
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "imageList", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26057 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26060 (arg1
)->AssignStateImageList(arg2
);
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 Py_INCREF(Py_None
); resultobj
= Py_None
;
26072 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26075 wxTreeItemId
*arg2
= 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "item", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26089 if (arg2
== NULL
) {
26090 PyErr_SetString(PyExc_TypeError
,"null reference");
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26113 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
;
26115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26116 wxTreeItemId
*arg2
= 0 ;
26117 int arg3
= (int) wxTreeItemIcon_Normal
;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 PyObject
* obj2
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "item",(char *) "which", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26132 if (arg2
== NULL
) {
26133 PyErr_SetString(PyExc_TypeError
,"null reference");
26137 arg3
= (int)SWIG_As_int(obj2
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_From_int((int)result
);
26154 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26157 wxTreeItemId
*arg2
= 0 ;
26158 wxPyTreeItemData
*result
;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self",(char *) "item", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26171 if (arg2
== NULL
) {
26172 PyErr_SetString(PyExc_TypeError
,"null reference");
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26189 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26192 wxTreeItemId
*arg2
= 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self",(char *) "item", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26204 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26206 if (arg2
== NULL
) {
26207 PyErr_SetString(PyExc_TypeError
,"null reference");
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
;
26224 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26227 wxTreeItemId
*arg2
= 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "item", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26241 if (arg2
== NULL
) {
26242 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 wxColour
* resultptr
;
26254 resultptr
= new wxColour((wxColour
&) result
);
26255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26263 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26266 wxTreeItemId
*arg2
= 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self",(char *) "item", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26280 if (arg2
== NULL
) {
26281 PyErr_SetString(PyExc_TypeError
,"null reference");
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 wxColour
* resultptr
;
26293 resultptr
= new wxColour((wxColour
&) result
);
26294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26302 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26305 wxTreeItemId
*arg2
= 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self",(char *) "item", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26319 if (arg2
== NULL
) {
26320 PyErr_SetString(PyExc_TypeError
,"null reference");
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 wxFont
* resultptr
;
26332 resultptr
= new wxFont((wxFont
&) result
);
26333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26341 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26344 wxTreeItemId
*arg2
= 0 ;
26345 wxString
*arg3
= 0 ;
26346 bool temp3
= false ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 PyObject
* obj2
= 0 ;
26350 char *kwnames
[] = {
26351 (char *) "self",(char *) "item",(char *) "text", NULL
26354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26360 if (arg2
== NULL
) {
26361 PyErr_SetString(PyExc_TypeError
,"null reference");
26365 arg3
= wxString_in_helper(obj2
);
26366 if (arg3
== NULL
) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26394 wxTreeItemId
*arg2
= 0 ;
26396 int arg4
= (int) wxTreeItemIcon_Normal
;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 PyObject
* obj2
= 0 ;
26400 PyObject
* obj3
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26411 if (arg2
== NULL
) {
26412 PyErr_SetString(PyExc_TypeError
,"null reference");
26415 arg3
= (int)SWIG_As_int(obj2
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 arg4
= (int)SWIG_As_int(obj3
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 Py_INCREF(Py_None
); resultobj
= Py_None
;
26435 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26438 wxTreeItemId
*arg2
= 0 ;
26439 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 PyObject
* obj2
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "item",(char *) "data", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26453 if (arg2
== NULL
) {
26454 PyErr_SetString(PyExc_TypeError
,"null reference");
26457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26473 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26476 wxTreeItemId
*arg2
= 0 ;
26477 PyObject
*arg3
= (PyObject
*) 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 PyObject
* obj2
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "item",(char *) "obj", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26491 if (arg2
== NULL
) {
26492 PyErr_SetString(PyExc_TypeError
,"null reference");
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26513 wxTreeItemId
*arg2
= 0 ;
26514 bool arg3
= (bool) true ;
26515 PyObject
* obj0
= 0 ;
26516 PyObject
* obj1
= 0 ;
26517 PyObject
* obj2
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "item",(char *) "has", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26528 if (arg2
== NULL
) {
26529 PyErr_SetString(PyExc_TypeError
,"null reference");
26533 arg3
= (bool)SWIG_As_bool(obj2
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 Py_INCREF(Py_None
); resultobj
= Py_None
;
26550 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26553 wxTreeItemId
*arg2
= 0 ;
26554 bool arg3
= (bool) true ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 PyObject
* obj2
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self",(char *) "item",(char *) "bold", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26568 if (arg2
== NULL
) {
26569 PyErr_SetString(PyExc_TypeError
,"null reference");
26573 arg3
= (bool)SWIG_As_bool(obj2
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 Py_INCREF(Py_None
); resultobj
= Py_None
;
26590 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26593 wxTreeItemId
*arg2
= 0 ;
26594 bool arg3
= (bool) true ;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 PyObject
* obj2
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "item",(char *) "highlight", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26608 if (arg2
== NULL
) {
26609 PyErr_SetString(PyExc_TypeError
,"null reference");
26613 arg3
= (bool)SWIG_As_bool(obj2
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 Py_INCREF(Py_None
); resultobj
= Py_None
;
26630 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26631 PyObject
*resultobj
;
26632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26633 wxTreeItemId
*arg2
= 0 ;
26634 wxColour
*arg3
= 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 PyObject
* obj2
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self",(char *) "item",(char *) "col", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26649 if (arg2
== NULL
) {
26650 PyErr_SetString(PyExc_TypeError
,"null reference");
26655 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 Py_INCREF(Py_None
); resultobj
= Py_None
;
26671 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26674 wxTreeItemId
*arg2
= 0 ;
26675 wxColour
*arg3
= 0 ;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 PyObject
* obj2
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "item",(char *) "col", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26690 if (arg2
== NULL
) {
26691 PyErr_SetString(PyExc_TypeError
,"null reference");
26696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26712 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26715 wxTreeItemId
*arg2
= 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 PyObject
* obj2
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self",(char *) "item",(char *) "font", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26730 if (arg2
== NULL
) {
26731 PyErr_SetString(PyExc_TypeError
,"null reference");
26734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26737 if (arg3
== NULL
) {
26738 PyErr_SetString(PyExc_TypeError
,"null reference");
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 Py_INCREF(Py_None
); resultobj
= Py_None
;
26755 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26758 wxTreeItemId
*arg2
= 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "item", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26772 if (arg2
== NULL
) {
26773 PyErr_SetString(PyExc_TypeError
,"null reference");
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26792 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26795 wxTreeItemId
*arg2
= 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self",(char *) "item", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26809 if (arg2
== NULL
) {
26810 PyErr_SetString(PyExc_TypeError
,"null reference");
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26829 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26832 wxTreeItemId
*arg2
= 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "item", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26846 if (arg2
== NULL
) {
26847 PyErr_SetString(PyExc_TypeError
,"null reference");
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26866 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26869 wxTreeItemId
*arg2
= 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 char *kwnames
[] = {
26874 (char *) "self",(char *) "item", NULL
26877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26883 if (arg2
== NULL
) {
26884 PyErr_SetString(PyExc_TypeError
,"null reference");
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26906 wxTreeItemId
*arg2
= 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self",(char *) "item", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26920 if (arg2
== NULL
) {
26921 PyErr_SetString(PyExc_TypeError
,"null reference");
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26943 wxTreeItemId
*arg2
= 0 ;
26944 bool arg3
= (bool) true ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "item",(char *) "recursively", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26959 if (arg2
== NULL
) {
26960 PyErr_SetString(PyExc_TypeError
,"null reference");
26964 arg3
= (bool)SWIG_As_bool(obj2
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26981 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26984 wxTreeItemId result
;
26985 PyObject
* obj0
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 wxTreeItemId
* resultptr
;
27002 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27011 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27014 wxTreeItemId result
;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 wxTreeItemId
* resultptr
;
27032 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27041 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= result
;
27067 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27070 wxTreeItemId
*arg2
= 0 ;
27071 wxTreeItemId result
;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "item", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27084 if (arg2
== NULL
) {
27085 PyErr_SetString(PyExc_TypeError
,"null reference");
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 wxTreeItemId
* resultptr
;
27097 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27106 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27109 wxTreeItemId
*arg2
= 0 ;
27111 PyObject
* obj0
= 0 ;
27112 PyObject
* obj1
= 0 ;
27113 char *kwnames
[] = {
27114 (char *) "self",(char *) "item", NULL
27117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27123 if (arg2
== NULL
) {
27124 PyErr_SetString(PyExc_TypeError
,"null reference");
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= result
;
27141 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
;
27143 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27144 wxTreeItemId
*arg2
= 0 ;
27145 void *arg3
= (void *) 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 PyObject
* obj2
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "item",(char *) "cookie", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27160 if (arg2
== NULL
) {
27161 PyErr_SetString(PyExc_TypeError
,"null reference");
27164 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
;
27179 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27182 wxTreeItemId
*arg2
= 0 ;
27183 wxTreeItemId result
;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "item", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27196 if (arg2
== NULL
) {
27197 PyErr_SetString(PyExc_TypeError
,"null reference");
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27208 wxTreeItemId
* resultptr
;
27209 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27218 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27221 wxTreeItemId
*arg2
= 0 ;
27222 wxTreeItemId result
;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "item", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27235 if (arg2
== NULL
) {
27236 PyErr_SetString(PyExc_TypeError
,"null reference");
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 wxTreeItemId
* resultptr
;
27248 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27257 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27260 wxTreeItemId
*arg2
= 0 ;
27261 wxTreeItemId result
;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "item", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27274 if (arg2
== NULL
) {
27275 PyErr_SetString(PyExc_TypeError
,"null reference");
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27286 wxTreeItemId
* resultptr
;
27287 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27296 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27299 wxTreeItemId result
;
27300 PyObject
* obj0
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27310 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 wxTreeItemId
* resultptr
;
27317 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27326 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
;
27328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27329 wxTreeItemId
*arg2
= 0 ;
27330 wxTreeItemId result
;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "item", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27343 if (arg2
== NULL
) {
27344 PyErr_SetString(PyExc_TypeError
,"null reference");
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 wxTreeItemId
* resultptr
;
27356 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27365 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27368 wxTreeItemId
*arg2
= 0 ;
27369 wxTreeItemId result
;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "item", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27382 if (arg2
== NULL
) {
27383 PyErr_SetString(PyExc_TypeError
,"null reference");
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 wxTreeItemId
* resultptr
;
27395 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27404 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27407 wxString
*arg2
= 0 ;
27408 int arg3
= (int) -1 ;
27409 int arg4
= (int) -1 ;
27410 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27411 wxTreeItemId result
;
27412 bool temp2
= false ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 PyObject
* obj2
= 0 ;
27416 PyObject
* obj3
= 0 ;
27417 PyObject
* obj4
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27426 arg2
= wxString_in_helper(obj1
);
27427 if (arg2
== NULL
) SWIG_fail
;
27431 arg3
= (int)SWIG_As_int(obj2
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27435 arg4
= (int)SWIG_As_int(obj3
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 wxTreeItemId
* resultptr
;
27451 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27468 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27471 wxTreeItemId
*arg2
= 0 ;
27472 wxString
*arg3
= 0 ;
27473 int arg4
= (int) -1 ;
27474 int arg5
= (int) -1 ;
27475 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27476 wxTreeItemId result
;
27477 bool temp3
= false ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 PyObject
* obj2
= 0 ;
27481 PyObject
* obj3
= 0 ;
27482 PyObject
* obj4
= 0 ;
27483 PyObject
* obj5
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27494 if (arg2
== NULL
) {
27495 PyErr_SetString(PyExc_TypeError
,"null reference");
27499 arg3
= wxString_in_helper(obj2
);
27500 if (arg3
== NULL
) SWIG_fail
;
27504 arg4
= (int)SWIG_As_int(obj3
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 arg5
= (int)SWIG_As_int(obj4
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 wxTreeItemId
* resultptr
;
27524 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27541 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27544 wxTreeItemId
*arg2
= 0 ;
27545 wxTreeItemId
*arg3
= 0 ;
27546 wxString
*arg4
= 0 ;
27547 int arg5
= (int) -1 ;
27548 int arg6
= (int) -1 ;
27549 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27550 wxTreeItemId result
;
27551 bool temp4
= false ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 PyObject
* obj2
= 0 ;
27555 PyObject
* obj3
= 0 ;
27556 PyObject
* obj4
= 0 ;
27557 PyObject
* obj5
= 0 ;
27558 PyObject
* obj6
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27569 if (arg2
== NULL
) {
27570 PyErr_SetString(PyExc_TypeError
,"null reference");
27573 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27576 if (arg3
== NULL
) {
27577 PyErr_SetString(PyExc_TypeError
,"null reference");
27581 arg4
= wxString_in_helper(obj3
);
27582 if (arg4
== NULL
) SWIG_fail
;
27586 arg5
= (int)SWIG_As_int(obj4
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 arg6
= (int)SWIG_As_int(obj5
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27594 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 wxTreeItemId
* resultptr
;
27606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27623 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27626 wxTreeItemId
*arg2
= 0 ;
27628 wxString
*arg4
= 0 ;
27629 int arg5
= (int) -1 ;
27630 int arg6
= (int) -1 ;
27631 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27632 wxTreeItemId result
;
27633 bool temp4
= false ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 PyObject
* obj2
= 0 ;
27637 PyObject
* obj3
= 0 ;
27638 PyObject
* obj4
= 0 ;
27639 PyObject
* obj5
= 0 ;
27640 PyObject
* obj6
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27651 if (arg2
== NULL
) {
27652 PyErr_SetString(PyExc_TypeError
,"null reference");
27655 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 arg4
= wxString_in_helper(obj3
);
27659 if (arg4
== NULL
) SWIG_fail
;
27663 arg5
= (int)SWIG_As_int(obj4
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 arg6
= (int)SWIG_As_int(obj5
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 wxTreeItemId
* resultptr
;
27683 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27700 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27703 wxTreeItemId
*arg2
= 0 ;
27704 wxString
*arg3
= 0 ;
27705 int arg4
= (int) -1 ;
27706 int arg5
= (int) -1 ;
27707 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27708 wxTreeItemId result
;
27709 bool temp3
= false ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 PyObject
* obj2
= 0 ;
27713 PyObject
* obj3
= 0 ;
27714 PyObject
* obj4
= 0 ;
27715 PyObject
* obj5
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27726 if (arg2
== NULL
) {
27727 PyErr_SetString(PyExc_TypeError
,"null reference");
27731 arg3
= wxString_in_helper(obj2
);
27732 if (arg3
== NULL
) SWIG_fail
;
27736 arg4
= (int)SWIG_As_int(obj3
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 arg5
= (int)SWIG_As_int(obj4
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 wxTreeItemId
* resultptr
;
27756 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27773 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27776 wxTreeItemId
*arg2
= 0 ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "item", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27789 if (arg2
== NULL
) {
27790 PyErr_SetString(PyExc_TypeError
,"null reference");
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27800 Py_INCREF(Py_None
); resultobj
= Py_None
;
27807 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27810 wxTreeItemId
*arg2
= 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "item", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27823 if (arg2
== NULL
) {
27824 PyErr_SetString(PyExc_TypeError
,"null reference");
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 Py_INCREF(Py_None
); resultobj
= Py_None
;
27841 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 (arg1
)->DeleteAllItems();
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27859 Py_INCREF(Py_None
); resultobj
= Py_None
;
27866 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27869 wxTreeItemId
*arg2
= 0 ;
27870 PyObject
* obj0
= 0 ;
27871 PyObject
* obj1
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self",(char *) "item", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27882 if (arg2
== NULL
) {
27883 PyErr_SetString(PyExc_TypeError
,"null reference");
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27903 wxTreeItemId
*arg2
= 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self",(char *) "item", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27916 if (arg2
== NULL
) {
27917 PyErr_SetString(PyExc_TypeError
,"null reference");
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 Py_INCREF(Py_None
); resultobj
= Py_None
;
27934 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
;
27936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27937 wxTreeItemId
*arg2
= 0 ;
27938 PyObject
* obj0
= 0 ;
27939 PyObject
* obj1
= 0 ;
27940 char *kwnames
[] = {
27941 (char *) "self",(char *) "item", NULL
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27950 if (arg2
== NULL
) {
27951 PyErr_SetString(PyExc_TypeError
,"null reference");
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 Py_INCREF(Py_None
); resultobj
= Py_None
;
27968 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27971 wxTreeItemId
*arg2
= 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "self",(char *) "item", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27984 if (arg2
== NULL
) {
27985 PyErr_SetString(PyExc_TypeError
,"null reference");
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28005 PyObject
* obj0
= 0 ;
28006 char *kwnames
[] = {
28007 (char *) "self", NULL
28010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
28011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->Unselect();
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 Py_INCREF(Py_None
); resultobj
= Py_None
;
28027 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
;
28029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28030 wxTreeItemId
*arg2
= 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "item", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28043 if (arg2
== NULL
) {
28044 PyErr_SetString(PyExc_TypeError
,"null reference");
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28064 PyObject
* obj0
= 0 ;
28065 char *kwnames
[] = {
28066 (char *) "self", NULL
28069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
28070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->UnselectAll();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28089 wxTreeItemId
*arg2
= 0 ;
28090 bool arg3
= (bool) true ;
28091 PyObject
* obj0
= 0 ;
28092 PyObject
* obj1
= 0 ;
28093 PyObject
* obj2
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "item",(char *) "select", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28104 if (arg2
== NULL
) {
28105 PyErr_SetString(PyExc_TypeError
,"null reference");
28109 arg3
= (bool)SWIG_As_bool(obj2
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 Py_INCREF(Py_None
); resultobj
= Py_None
;
28126 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
;
28128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28129 wxTreeItemId
*arg2
= 0 ;
28130 PyObject
* obj0
= 0 ;
28131 PyObject
* obj1
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self",(char *) "item", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28142 if (arg2
== NULL
) {
28143 PyErr_SetString(PyExc_TypeError
,"null reference");
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 Py_INCREF(Py_None
); resultobj
= Py_None
;
28160 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28163 wxTreeItemId
*arg2
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "item", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28176 if (arg2
== NULL
) {
28177 PyErr_SetString(PyExc_TypeError
,"null reference");
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 Py_INCREF(Py_None
); resultobj
= Py_None
;
28194 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28197 wxTreeItemId
*arg2
= 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char *kwnames
[] = {
28201 (char *) "self",(char *) "item", NULL
28204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28210 if (arg2
== NULL
) {
28211 PyErr_SetString(PyExc_TypeError
,"null reference");
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28228 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28231 wxTreeItemId
*arg2
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "item", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28244 if (arg2
== NULL
) {
28245 PyErr_SetString(PyExc_TypeError
,"null reference");
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28265 wxTextCtrl
*result
;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= wxPyMake_wxObject(result
, 0);
28290 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
;
28292 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28293 wxTreeItemId
*arg2
= 0 ;
28294 bool arg3
= (bool) false ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 PyObject
* obj2
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28308 if (arg2
== NULL
) {
28309 PyErr_SetString(PyExc_TypeError
,"null reference");
28313 arg3
= (bool)SWIG_As_bool(obj2
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28318 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
28320 wxPyEndAllowThreads(__tstate
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28323 Py_INCREF(Py_None
); resultobj
= Py_None
;
28330 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28333 wxTreeItemId
*arg2
= 0 ;
28334 PyObject
* obj0
= 0 ;
28335 PyObject
* obj1
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self",(char *) "item", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28346 if (arg2
== NULL
) {
28347 PyErr_SetString(PyExc_TypeError
,"null reference");
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28364 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28367 wxPoint
*arg2
= 0 ;
28369 wxTreeItemId result
;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 char *kwnames
[] = {
28376 (char *) "self",(char *) "point", NULL
28379 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 wxTreeItemId
* resultptr
;
28396 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28399 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28400 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28407 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28408 PyObject
*resultobj
;
28409 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28410 wxTreeItemId
*arg2
= 0 ;
28411 bool arg3
= (bool) false ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 PyObject
* obj2
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28426 if (arg2
== NULL
) {
28427 PyErr_SetString(PyExc_TypeError
,"null reference");
28431 arg3
= (bool)SWIG_As_bool(obj2
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= result
;
28448 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
;
28450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28451 wxTreeItemId
*arg2
= 0 ;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 PyObject
* obj2
= 0 ;
28456 char *kwnames
[] = {
28457 (char *) "self",(char *) "node",(char *) "state", NULL
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28466 if (arg2
== NULL
) {
28467 PyErr_SetString(PyExc_TypeError
,"null reference");
28470 arg3
= (int)SWIG_As_int(obj2
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 Py_INCREF(Py_None
); resultobj
= Py_None
;
28486 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
;
28488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28489 wxTreeItemId
*arg2
= 0 ;
28491 PyObject
* obj0
= 0 ;
28492 PyObject
* obj1
= 0 ;
28493 char *kwnames
[] = {
28494 (char *) "self",(char *) "node", NULL
28497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28503 if (arg2
== NULL
) {
28504 PyErr_SetString(PyExc_TypeError
,"null reference");
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_From_int((int)result
);
28521 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28524 wxVisualAttributes result
;
28525 PyObject
* obj0
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "variant", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28532 arg1
= (int)SWIG_As_int(obj0
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 if (!wxPyCheckForApp()) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 wxVisualAttributes
* resultptr
;
28545 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28554 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28557 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28559 return Py_BuildValue((char *)"");
28561 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28562 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28567 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28572 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28574 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28581 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
;
28583 wxWindow
*arg1
= (wxWindow
*) 0 ;
28584 int arg2
= (int) (int)-1 ;
28585 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28591 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28592 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28594 int arg8
= (int) 0 ;
28595 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28596 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28597 wxGenericDirCtrl
*result
;
28598 bool temp3
= false ;
28601 bool temp7
= false ;
28602 bool temp9
= false ;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 PyObject
* obj2
= 0 ;
28606 PyObject
* obj3
= 0 ;
28607 PyObject
* obj4
= 0 ;
28608 PyObject
* obj5
= 0 ;
28609 PyObject
* obj6
= 0 ;
28610 PyObject
* obj7
= 0 ;
28611 PyObject
* obj8
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 arg2
= (int)SWIG_As_int(obj1
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28625 arg3
= wxString_in_helper(obj2
);
28626 if (arg3
== NULL
) SWIG_fail
;
28633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28643 arg6
= (long)SWIG_As_long(obj5
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28648 arg7
= wxString_in_helper(obj6
);
28649 if (arg7
== NULL
) SWIG_fail
;
28654 arg8
= (int)SWIG_As_int(obj7
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28659 arg9
= wxString_in_helper(obj8
);
28660 if (arg9
== NULL
) SWIG_fail
;
28665 if (!wxPyCheckForApp()) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28703 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxGenericDirCtrl
*result
;
28706 char *kwnames
[] = {
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28712 if (!wxPyCheckForApp()) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28726 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28729 wxWindow
*arg2
= (wxWindow
*) 0 ;
28730 int arg3
= (int) (int)-1 ;
28731 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28733 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28734 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28735 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28736 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28737 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28738 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28740 int arg9
= (int) 0 ;
28741 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28742 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28744 bool temp4
= false ;
28747 bool temp8
= false ;
28748 bool temp10
= false ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 PyObject
* obj2
= 0 ;
28752 PyObject
* obj3
= 0 ;
28753 PyObject
* obj4
= 0 ;
28754 PyObject
* obj5
= 0 ;
28755 PyObject
* obj6
= 0 ;
28756 PyObject
* obj7
= 0 ;
28757 PyObject
* obj8
= 0 ;
28758 PyObject
* obj9
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28769 arg3
= (int)SWIG_As_int(obj2
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28774 arg4
= wxString_in_helper(obj3
);
28775 if (arg4
== NULL
) SWIG_fail
;
28782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28792 arg7
= (long)SWIG_As_long(obj6
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28797 arg8
= wxString_in_helper(obj7
);
28798 if (arg8
== NULL
) SWIG_fail
;
28803 arg9
= (int)SWIG_As_int(obj8
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28808 arg10
= wxString_in_helper(obj9
);
28809 if (arg10
== NULL
) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28853 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28856 wxString
*arg2
= 0 ;
28858 bool temp2
= false ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "path", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 arg2
= wxString_in_helper(obj1
);
28870 if (arg2
== NULL
) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28897 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28929 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
;
28931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28932 wxString
*arg2
= 0 ;
28933 bool temp2
= false ;
28934 PyObject
* obj0
= 0 ;
28935 PyObject
* obj1
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "path", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 arg2
= wxString_in_helper(obj1
);
28945 if (arg2
== NULL
) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28970 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29002 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29034 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29037 wxString
*arg2
= 0 ;
29038 bool temp2
= false ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self",(char *) "path", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29049 arg2
= wxString_in_helper(obj1
);
29050 if (arg2
== NULL
) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->SetPath((wxString
const &)*arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29075 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self",(char *) "show", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= (bool)SWIG_As_bool(obj1
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 (arg1
)->ShowHidden(arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 Py_INCREF(Py_None
); resultobj
= Py_None
;
29104 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->GetShowHidden();
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
29142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29164 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29167 wxString
*arg2
= 0 ;
29168 bool temp2
= false ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self",(char *) "filter", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 arg2
= wxString_in_helper(obj1
);
29180 if (arg2
== NULL
) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->SetFilter((wxString
const &)*arg2
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "self", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
29215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_From_int((int)result
);
29231 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "n", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 arg2
= (int)SWIG_As_int(obj1
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 (arg1
)->SetFilterIndex(arg2
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 Py_INCREF(Py_None
); resultobj
= Py_None
;
29260 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29263 wxTreeItemId result
;
29264 PyObject
* obj0
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (arg1
)->GetRootId();
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29280 wxTreeItemId
* resultptr
;
29281 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29290 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
;
29292 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29293 wxPyTreeCtrl
*result
;
29294 PyObject
* obj0
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= wxPyMake_wxObject(result
, 0);
29318 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29321 wxDirFilterListCtrl
*result
;
29322 PyObject
* obj0
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29344 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29347 wxTreeItemId arg2
;
29348 wxString
*arg3
= 0 ;
29350 wxTreeItemId result
;
29351 wxTreeItemId
*argp2
;
29352 bool temp3
= false ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 PyObject
* obj2
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "parentId",(char *) "path", NULL
29362 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29366 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29367 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29370 arg3
= wxString_in_helper(obj2
);
29371 if (arg3
== NULL
) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29382 wxTreeItemId
* resultptr
;
29383 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29386 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29387 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29402 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 (arg1
)->DoResize();
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 Py_INCREF(Py_None
); resultobj
= Py_None
;
29427 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 (arg1
)->ReCreateTree();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 Py_INCREF(Py_None
); resultobj
= Py_None
;
29452 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29455 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29457 return Py_BuildValue((char *)"");
29459 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29462 int arg2
= (int) (int)-1 ;
29463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29465 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29466 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29467 long arg5
= (long) 0 ;
29468 wxDirFilterListCtrl
*result
;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 PyObject
* obj3
= 0 ;
29475 PyObject
* obj4
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 arg2
= (int)SWIG_As_int(obj1
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29500 arg5
= (long)SWIG_As_long(obj4
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 if (!wxPyCheckForApp()) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29518 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxDirFilterListCtrl
*result
;
29521 char *kwnames
[] = {
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29527 if (!wxPyCheckForApp()) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29541 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29544 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29545 int arg3
= (int) (int)-1 ;
29546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29550 long arg6
= (long) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 PyObject
* obj2
= 0 ;
29557 PyObject
* obj3
= 0 ;
29558 PyObject
* obj4
= 0 ;
29559 PyObject
* obj5
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 arg3
= (int)SWIG_As_int(obj2
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29586 arg6
= (long)SWIG_As_long(obj5
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29605 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29608 wxString
*arg2
= 0 ;
29610 bool temp2
= false ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29622 arg2
= wxString_in_helper(obj1
);
29623 if (arg2
== NULL
) SWIG_fail
;
29626 arg3
= (int)SWIG_As_int(obj2
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 Py_INCREF(Py_None
); resultobj
= Py_None
;
29650 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29653 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29655 return Py_BuildValue((char *)"");
29657 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
;
29659 wxWindow
*arg1
= (wxWindow
*) 0 ;
29660 int arg2
= (int) (int)-1 ;
29661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29665 long arg5
= (long) 0 ;
29666 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29667 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29668 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29670 wxPyControl
*result
;
29673 bool temp7
= false ;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 PyObject
* obj2
= 0 ;
29677 PyObject
* obj3
= 0 ;
29678 PyObject
* obj4
= 0 ;
29679 PyObject
* obj5
= 0 ;
29680 PyObject
* obj6
= 0 ;
29681 char *kwnames
[] = {
29682 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29689 arg2
= (int)SWIG_As_int(obj1
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29705 arg5
= (long)SWIG_As_long(obj4
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29712 if (arg6
== NULL
) {
29713 PyErr_SetString(PyExc_TypeError
,"null reference");
29719 arg7
= wxString_in_helper(obj6
);
29720 if (arg7
== NULL
) SWIG_fail
;
29725 if (!wxPyCheckForApp()) SWIG_fail
;
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29747 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxPyControl
*result
;
29750 char *kwnames
[] = {
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29756 if (!wxPyCheckForApp()) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= (wxPyControl
*)new wxPyControl();
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29770 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
;
29772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29773 PyObject
*arg2
= (PyObject
*) 0 ;
29774 PyObject
*arg3
= (PyObject
*) 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 PyObject
* obj2
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self",(char *) "self",(char *) "_class", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 Py_INCREF(Py_None
); resultobj
= Py_None
;
29801 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self",(char *) "size", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 Py_INCREF(Py_None
); resultobj
= Py_None
;
29833 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 PyObject
* obj2
= 0 ;
29843 PyObject
* obj3
= 0 ;
29844 PyObject
* obj4
= 0 ;
29845 char *kwnames
[] = {
29846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29852 arg2
= (int)SWIG_As_int(obj1
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29854 arg3
= (int)SWIG_As_int(obj2
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29856 arg4
= (int)SWIG_As_int(obj3
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29858 arg5
= (int)SWIG_As_int(obj4
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 Py_INCREF(Py_None
); resultobj
= Py_None
;
29874 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29881 int arg6
= (int) wxSIZE_AUTO
;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 PyObject
* obj5
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 arg2
= (int)SWIG_As_int(obj1
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29897 arg3
= (int)SWIG_As_int(obj2
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29899 arg4
= (int)SWIG_As_int(obj3
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29901 arg5
= (int)SWIG_As_int(obj4
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 arg6
= (int)SWIG_As_int(obj5
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 Py_INCREF(Py_None
); resultobj
= Py_None
;
29921 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
;
29923 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 PyObject
* obj2
= 0 ;
29929 char *kwnames
[] = {
29930 (char *) "self",(char *) "width",(char *) "height", NULL
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 arg2
= (int)SWIG_As_int(obj1
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29938 arg3
= (int)SWIG_As_int(obj2
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 Py_INCREF(Py_None
); resultobj
= Py_None
;
29954 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29959 PyObject
* obj0
= 0 ;
29960 PyObject
* obj1
= 0 ;
29961 PyObject
* obj2
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self",(char *) "x",(char *) "y", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29969 arg2
= (int)SWIG_As_int(obj1
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29971 arg3
= (int)SWIG_As_int(obj2
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 Py_INCREF(Py_None
); resultobj
= Py_None
;
29987 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29990 int *arg2
= (int *) 0 ;
29991 int *arg3
= (int *) 0 ;
29996 PyObject
* obj0
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self", NULL
30001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30002 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 Py_INCREF(Py_None
); resultobj
= Py_None
;
30014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30016 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30017 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30024 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30027 int *arg2
= (int *) 0 ;
30028 int *arg3
= (int *) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self", NULL
30038 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30039 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
30041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 Py_INCREF(Py_None
); resultobj
= Py_None
;
30051 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30052 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30053 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30054 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30061 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
;
30063 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30064 int *arg2
= (int *) 0 ;
30065 int *arg3
= (int *) 0 ;
30070 PyObject
* obj0
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self", NULL
30075 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30076 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
30078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 Py_INCREF(Py_None
); resultobj
= Py_None
;
30088 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30089 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30091 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30098 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30102 PyObject
* obj0
= 0 ;
30103 char *kwnames
[] = {
30104 (char *) "self", NULL
30107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
30108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
30114 wxPyEndAllowThreads(__tstate
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30118 wxSize
* resultptr
;
30119 resultptr
= new wxSize((wxSize
&) result
);
30120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30128 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30129 PyObject
*resultobj
;
30130 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30132 PyObject
* obj0
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
30138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30148 wxSize
* resultptr
;
30149 resultptr
= new wxSize((wxSize
&) result
);
30150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30158 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30161 PyObject
* obj0
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
30167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 (arg1
)->base_InitDialog();
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 Py_INCREF(Py_None
); resultobj
= Py_None
;
30183 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
;
30185 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30187 PyObject
* obj0
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (bool)(arg1
)->base_TransferDataToWindow();
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30211 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
30221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 result
= (bool)(arg1
)->base_TransferDataFromWindow();
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30239 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
30249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (bool)(arg1
)->base_Validate();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30267 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30295 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30323 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
;
30325 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30327 PyObject
* obj0
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 wxSize
* resultptr
;
30344 resultptr
= new wxSize((wxSize
&) result
);
30345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30353 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30356 wxWindow
*arg2
= (wxWindow
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "child", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->base_AddChild(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30382 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30385 wxWindow
*arg2
= (wxWindow
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "child", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->base_RemoveChild(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30411 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30439 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30442 wxColour
*arg2
= 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "c", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 Py_INCREF(Py_None
); resultobj
= Py_None
;
30471 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30474 wxVisualAttributes result
;
30475 PyObject
* obj0
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (arg1
)->base_GetDefaultAttributes();
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30491 wxVisualAttributes
* resultptr
;
30492 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30501 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30504 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30506 return Py_BuildValue((char *)"");
30508 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30511 int arg2
= (int) 0 ;
30512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30514 wxHelpEvent
*result
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "type",(char *) "winid",(char *) "pt", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30525 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30529 arg2
= (int)SWIG_As_int(obj1
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30552 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 wxPoint
* resultptr
;
30573 resultptr
= new wxPoint((wxPoint
&) result
);
30574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30582 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30585 wxPoint
*arg2
= 0 ;
30587 PyObject
* obj0
= 0 ;
30588 PyObject
* obj1
= 0 ;
30589 char *kwnames
[] = {
30590 (char *) "self",(char *) "pos", NULL
30593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 Py_INCREF(Py_None
); resultobj
= Py_None
;
30614 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30630 result
= (wxString
*) &_result_ref
;
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30640 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30649 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30652 wxString
*arg2
= 0 ;
30653 bool temp2
= false ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "link", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 arg2
= wxString_in_helper(obj1
);
30665 if (arg2
== NULL
) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->SetLink((wxString
const &)*arg2
);
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30706 result
= (wxString
*) &_result_ref
;
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30725 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30728 wxString
*arg2
= 0 ;
30729 bool temp2
= false ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "self",(char *) "target", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30740 arg2
= wxString_in_helper(obj1
);
30741 if (arg2
== NULL
) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->SetTarget((wxString
const &)*arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30766 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30769 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30771 return Py_BuildValue((char *)"");
30773 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxWindow
*arg1
= (wxWindow
*) NULL
;
30776 bool arg2
= (bool) true ;
30777 wxContextHelp
*result
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "window",(char *) "doNow", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30790 arg2
= (bool)SWIG_As_bool(obj1
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30794 if (!wxPyCheckForApp()) SWIG_fail
;
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30808 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30811 PyObject
* obj0
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 Py_INCREF(Py_None
); resultobj
= Py_None
;
30833 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30836 wxWindow
*arg2
= (wxWindow
*) NULL
;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self",(char *) "window", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (bool)(arg1
)->EndContextHelp();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30895 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30898 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30900 return Py_BuildValue((char *)"");
30902 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxWindow
*arg1
= (wxWindow
*) 0 ;
30905 int arg2
= (int) wxID_CONTEXT_HELP
;
30906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30910 long arg5
= (long) wxBU_AUTODRAW
;
30911 wxContextHelpButton
*result
;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 PyObject
* obj4
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 arg2
= (int)SWIG_As_int(obj1
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30943 arg5
= (long)SWIG_As_long(obj4
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30947 if (!wxPyCheckForApp()) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30961 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30964 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30966 return Py_BuildValue((char *)"");
30968 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30971 wxHelpProvider
*result
;
30972 PyObject
* obj0
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "helpProvider", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30994 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
;
30996 wxHelpProvider
*result
;
30997 char *kwnames
[] = {
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxHelpProvider
*)wxHelpProvider::Get();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
31016 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31019 wxWindow
*arg2
= (wxWindow
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self",(char *) "window", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31052 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31055 wxWindow
*arg2
= (wxWindow
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 char *kwnames
[] = {
31060 (char *) "self",(char *) "window", NULL
31063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (bool)(arg1
)->ShowHelp(arg2
);
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31084 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31087 wxWindow
*arg2
= (wxWindow
*) 0 ;
31088 wxString
*arg3
= 0 ;
31089 bool temp3
= false ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "window",(char *) "text", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31103 arg3
= wxString_in_helper(obj2
);
31104 if (arg3
== NULL
) SWIG_fail
;
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 Py_INCREF(Py_None
); resultobj
= Py_None
;
31129 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31133 wxString
*arg3
= 0 ;
31134 bool temp3
= false ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "self",(char *) "id",(char *) "text", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 arg2
= (int)SWIG_As_int(obj1
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 arg3
= wxString_in_helper(obj2
);
31149 if (arg3
== NULL
) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 Py_INCREF(Py_None
); resultobj
= Py_None
;
31174 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
;
31176 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31177 wxWindow
*arg2
= (wxWindow
*) 0 ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self",(char *) "window", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->RemoveHelp(arg2
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31206 PyObject
* obj0
= 0 ;
31207 char *kwnames
[] = {
31208 (char *) "self", NULL
31211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
31212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 wxHelpProvider_Destroy(arg1
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 Py_INCREF(Py_None
); resultobj
= Py_None
;
31228 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31231 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
31233 return Py_BuildValue((char *)"");
31235 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxSimpleHelpProvider
*result
;
31238 char *kwnames
[] = {
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31257 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31260 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31262 return Py_BuildValue((char *)"");
31264 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxBitmap
*arg1
= 0 ;
31267 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31268 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31269 wxGenericDragImage
*result
;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "image",(char *) "cursor", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31280 if (arg1
== NULL
) {
31281 PyErr_SetString(PyExc_TypeError
,"null reference");
31285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31288 if (arg2
== NULL
) {
31289 PyErr_SetString(PyExc_TypeError
,"null reference");
31294 if (!wxPyCheckForApp()) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31308 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31311 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31312 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31313 wxGenericDragImage
*result
;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "image",(char *) "cursor", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31324 if (arg1
== NULL
) {
31325 PyErr_SetString(PyExc_TypeError
,"null reference");
31329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31332 if (arg2
== NULL
) {
31333 PyErr_SetString(PyExc_TypeError
,"null reference");
31338 if (!wxPyCheckForApp()) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31352 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31353 PyObject
*resultobj
;
31354 wxString
*arg1
= 0 ;
31355 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31356 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31357 wxGenericDragImage
*result
;
31358 bool temp1
= false ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "str",(char *) "cursor", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31367 arg1
= wxString_in_helper(obj0
);
31368 if (arg1
== NULL
) SWIG_fail
;
31372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31375 if (arg2
== NULL
) {
31376 PyErr_SetString(PyExc_TypeError
,"null reference");
31381 if (!wxPyCheckForApp()) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31403 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxPyTreeCtrl
*arg1
= 0 ;
31406 wxTreeItemId
*arg2
= 0 ;
31407 wxGenericDragImage
*result
;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "treeCtrl",(char *) "id", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31418 if (arg1
== NULL
) {
31419 PyErr_SetString(PyExc_TypeError
,"null reference");
31422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31425 if (arg2
== NULL
) {
31426 PyErr_SetString(PyExc_TypeError
,"null reference");
31430 if (!wxPyCheckForApp()) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31444 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
;
31446 wxPyListCtrl
*arg1
= 0 ;
31448 wxGenericDragImage
*result
;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "listCtrl",(char *) "id", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31459 if (arg1
== NULL
) {
31460 PyErr_SetString(PyExc_TypeError
,"null reference");
31463 arg2
= (long)SWIG_As_long(obj1
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31466 if (!wxPyCheckForApp()) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31480 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31483 PyObject
* obj0
= 0 ;
31484 char *kwnames
[] = {
31485 (char *) "self", NULL
31488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 Py_INCREF(Py_None
); resultobj
= Py_None
;
31505 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
;
31507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31508 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31509 PyObject
* obj0
= 0 ;
31510 PyObject
* obj1
= 0 ;
31511 char *kwnames
[] = {
31512 (char *) "self",(char *) "bitmap", NULL
31515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 (arg1
)->SetBackingBitmap(arg2
);
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 Py_INCREF(Py_None
); resultobj
= Py_None
;
31534 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31537 wxPoint
*arg2
= 0 ;
31538 wxWindow
*arg3
= (wxWindow
*) 0 ;
31539 bool arg4
= (bool) false ;
31540 wxRect
*arg5
= (wxRect
*) NULL
;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 PyObject
* obj2
= 0 ;
31546 PyObject
* obj3
= 0 ;
31547 PyObject
* obj4
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31562 arg4
= (bool)SWIG_As_bool(obj3
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31566 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31585 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31588 wxPoint
*arg2
= 0 ;
31589 wxWindow
*arg3
= (wxWindow
*) 0 ;
31590 wxWindow
*arg4
= (wxWindow
*) 0 ;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 PyObject
* obj2
= 0 ;
31596 PyObject
* obj3
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31628 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (bool)(arg1
)->EndDrag();
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31656 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31659 wxPoint
*arg2
= 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "pt", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31691 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
;
31693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31695 PyObject
* obj0
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (bool)(arg1
)->Show();
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31719 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (bool)(arg1
)->Hide();
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31747 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
;
31749 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31750 wxPoint
*arg2
= 0 ;
31753 PyObject
* obj0
= 0 ;
31754 PyObject
* obj1
= 0 ;
31755 char *kwnames
[] = {
31756 (char *) "self",(char *) "pos", NULL
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31774 wxRect
* resultptr
;
31775 resultptr
= new wxRect((wxRect
&) result
);
31776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31784 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
;
31786 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31788 wxPoint
*arg3
= 0 ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 PyObject
* obj2
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "dc",(char *) "pos", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31804 if (arg2
== NULL
) {
31805 PyErr_SetString(PyExc_TypeError
,"null reference");
31810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31828 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31832 wxMemoryDC
*arg3
= 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 PyObject
* obj2
= 0 ;
31841 PyObject
* obj3
= 0 ;
31842 PyObject
* obj4
= 0 ;
31843 char *kwnames
[] = {
31844 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31853 if (arg2
== NULL
) {
31854 PyErr_SetString(PyExc_TypeError
,"null reference");
31857 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31860 if (arg3
== NULL
) {
31861 PyErr_SetString(PyExc_TypeError
,"null reference");
31866 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31870 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31888 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
;
31890 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31891 wxPoint
*arg2
= 0 ;
31892 wxPoint
*arg3
= 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 PyObject
* obj2
= 0 ;
31901 PyObject
* obj3
= 0 ;
31902 PyObject
* obj4
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31918 arg4
= (bool)SWIG_As_bool(obj3
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31920 arg5
= (bool)SWIG_As_bool(obj4
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31938 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31941 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31943 return Py_BuildValue((char *)"");
31945 static PyMethodDef SwigMethods
[] = {
31946 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
32035 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
32071 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
32080 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
32111 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
32169 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
32174 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
32186 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
32199 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
32211 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
32215 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
32233 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
32240 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32266 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32274 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
32295 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32301 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32312 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32314 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32320 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32322 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32328 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32330 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32335 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32340 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32370 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32415 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32421 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32433 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32485 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32512 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32584 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32596 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32604 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32611 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32627 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32706 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32728 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32733 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32759 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32767 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32772 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32774 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32783 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32785 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32803 { NULL
, NULL
, 0, NULL
}
32807 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32809 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32810 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32812 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32813 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32815 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) {
32816 return (void *)((wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32818 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32819 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32821 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32822 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32824 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32825 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32827 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32828 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32830 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32831 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32833 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32834 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32836 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32837 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32839 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32840 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32842 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32845 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32846 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32848 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32849 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32851 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32852 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32854 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32855 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32857 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32858 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32860 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32861 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32863 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32864 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32866 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32869 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32870 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32872 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32873 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32875 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32876 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32878 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32881 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32882 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32884 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32885 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32887 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32888 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32890 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32891 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32893 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32896 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32897 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32899 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32902 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32903 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32905 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32906 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32908 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32909 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32911 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32912 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32914 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32915 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32917 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32918 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32920 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32921 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32923 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32924 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32926 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32927 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32929 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32930 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32932 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32933 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32935 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32936 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32938 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32939 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32941 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32942 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32944 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32945 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32947 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32948 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32950 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32951 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32953 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32954 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32956 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32959 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32962 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32963 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32965 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32966 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32968 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32969 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32971 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32972 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32974 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32975 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32977 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32978 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32980 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32981 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32983 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32984 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32986 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32987 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32989 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32990 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32992 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32993 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32995 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32996 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32998 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32999 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
33001 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
33002 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
33004 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
33005 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
33007 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
33008 return (void *)((wxControl
*) ((wxPyControl
*) x
));
33010 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
33011 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
33013 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
33014 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33016 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
33017 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
33019 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
33020 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33022 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
33023 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
33025 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
33026 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
33028 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
33029 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
33031 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
33032 return (void *)((wxControl
*) ((wxGauge
*) x
));
33034 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
33035 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
33037 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
33038 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxChoicebook
*) x
));
33040 static void *_p_wxListbookTo_p_wxControl(void *x
) {
33041 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
33043 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
33044 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
33046 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
33047 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
33049 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
33050 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
33052 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
33053 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33055 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
33056 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33058 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
33059 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33061 static void *_p_wxListViewTo_p_wxControl(void *x
) {
33062 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
33064 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
33065 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
33067 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
33068 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
33070 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
33071 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
33073 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
33074 return (void *)((wxControl
*) ((wxStaticText
*) x
));
33076 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
33077 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
33079 static void *_p_wxSliderTo_p_wxControl(void *x
) {
33080 return (void *)((wxControl
*) ((wxSlider
*) x
));
33082 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
33083 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33085 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
33086 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
33088 static void *_p_wxButtonTo_p_wxControl(void *x
) {
33089 return (void *)((wxControl
*) ((wxButton
*) x
));
33091 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
33092 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
33094 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
33095 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
33097 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
33098 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
33100 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
33101 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
33103 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
33104 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33106 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
33107 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33109 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
33110 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33112 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
33113 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
33115 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
33116 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33118 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
33119 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33121 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
33122 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33124 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
33125 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33127 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
33128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33130 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33131 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33133 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33134 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33136 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33137 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33139 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
33140 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33142 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33143 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33145 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
33146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33148 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
33149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33151 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33152 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33154 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33155 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33157 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
33158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33160 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
33161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33163 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
33164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33166 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
33167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33169 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
33170 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33172 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33173 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33175 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
33176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33178 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
33179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33181 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33184 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
33185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33187 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
33188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33190 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
33191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33193 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
33194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33196 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
33197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33199 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
33200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33202 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
33203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33205 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
33206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33208 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
33209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33211 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
33212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33214 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
33215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33217 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
33218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33220 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
33221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33223 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
33224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33226 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
33227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33229 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
33230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33232 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
33233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33235 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
33236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33238 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
33239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33241 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
33242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33244 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
33245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33247 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
33248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33250 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
33251 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33253 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) {
33254 return (void *)((wxBookCtrl
*) ((wxChoicebook
*) x
));
33256 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
33257 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
33259 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
33260 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
33262 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33263 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33265 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33266 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33268 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33269 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33271 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33272 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33274 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33277 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33280 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33283 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33286 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33289 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33292 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33295 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33298 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33301 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) ((wxSizer
*) x
));
33304 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33307 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33310 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33313 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33316 static void *_p_wxEventTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) ((wxEvent
*) x
));
33319 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33322 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33325 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33328 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33331 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33334 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33337 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33338 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33340 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33341 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33343 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33344 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33346 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33347 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33349 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33350 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33352 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33353 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33355 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33358 static void *_p_wxControlTo_p_wxObject(void *x
) {
33359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33361 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33364 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33367 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33370 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33373 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33374 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33376 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33377 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33379 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33380 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33382 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33383 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33385 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33386 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33388 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33391 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33394 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33397 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33398 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33400 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33403 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33406 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33409 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33410 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33412 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33415 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33418 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33419 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33421 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33422 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33424 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33427 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33428 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33430 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33431 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33433 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33434 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33436 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33437 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33439 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33440 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33442 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33443 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33445 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33446 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33448 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33449 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33451 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33454 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33457 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33460 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33463 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33466 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33469 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33470 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33472 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33473 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33475 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33476 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33478 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33481 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33482 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33484 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33487 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33488 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33490 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33493 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33496 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33499 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33502 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33505 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33508 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33511 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33514 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33515 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33517 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33520 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33523 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33526 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33529 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33530 return (void *)((wxObject
*) ((wxListItem
*) x
));
33532 static void *_p_wxImageTo_p_wxObject(void *x
) {
33533 return (void *)((wxObject
*) ((wxImage
*) x
));
33535 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33536 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33538 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33539 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33541 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33544 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33545 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33547 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33548 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33550 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33553 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33556 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33559 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33560 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33562 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33563 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33565 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33566 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33568 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33571 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33572 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33574 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33577 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33578 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33580 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33583 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33584 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33586 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33587 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33589 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33590 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33592 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33593 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33595 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33596 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33598 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33601 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33604 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33605 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33607 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33610 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33611 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33613 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33614 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33616 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33619 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33622 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33623 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33625 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33628 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33631 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33632 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33634 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33635 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33637 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33638 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33640 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33641 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33643 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33644 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33646 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33647 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33649 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33650 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33652 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33653 return (void *)((wxWindow
*) ((wxControl
*) x
));
33655 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33656 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33658 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33659 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33661 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33662 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33664 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33665 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33667 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33668 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33670 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33671 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33673 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33674 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33676 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33677 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33679 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33680 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33682 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33683 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33685 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33686 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33688 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33689 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33691 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33692 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33694 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33695 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33697 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33698 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33700 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33701 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33703 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33704 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33706 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33707 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33709 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33710 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33712 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33713 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33715 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33716 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33718 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33719 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33721 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33722 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33724 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33725 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33727 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33728 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33730 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33731 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33733 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33734 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33736 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33737 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33739 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33740 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33742 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33743 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33745 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33746 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33748 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33749 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33751 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33752 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33754 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33755 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33757 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33758 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33760 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33761 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33763 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33764 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33766 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33767 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33769 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33770 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33772 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33773 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33775 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33776 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33778 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33779 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33781 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33782 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33784 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33785 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33787 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33788 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33790 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33791 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33793 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33794 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33796 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33797 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33799 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33800 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33802 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33803 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33805 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33806 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33808 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33809 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33811 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33812 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33814 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33815 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33816 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33817 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33818 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33819 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33820 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33821 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33822 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33823 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33824 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33825 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33826 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33827 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33828 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33829 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33830 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33831 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33832 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33833 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33834 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33835 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33836 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33837 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33838 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33839 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33840 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33841 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33842 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33843 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33844 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33845 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33846 static swig_type_info _swigt__p_wxChoicebook
[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33847 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33848 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33849 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33850 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33851 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33852 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33853 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33854 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33855 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33856 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33857 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33858 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33859 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33860 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33861 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33862 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33863 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33864 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33865 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33866 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33867 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33868 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33869 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33870 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33871 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33872 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33873 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33874 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33875 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33876 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33877 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33878 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33879 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33880 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33881 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33882 static swig_type_info _swigt__p_wxChoicebookEvent
[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33883 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33884 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33885 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33886 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33887 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33888 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33889 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33890 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33891 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33892 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33893 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33894 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33895 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33896 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33897 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33898 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33899 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33900 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33902 static swig_type_info
*swig_types_initial
[] = {
33903 _swigt__p_wxTextUrlEvent
,
33904 _swigt__p_wxBookCtrlEvent
,
33906 _swigt__p_wxCheckBox
,
33907 _swigt__p_wxPyTreeCtrl
,
33909 _swigt__p_wxGenericDirCtrl
,
33911 _swigt__p_wxPyTreeItemData
,
33912 _swigt__p_wxItemContainer
,
33913 _swigt__p_wxPyListCtrl
,
33914 _swigt__p_wxDirFilterListCtrl
,
33915 _swigt__p_wxStaticLine
,
33916 _swigt__p_wxControl
,
33917 _swigt__p_wxPyControl
,
33919 _swigt__p_wxToolBarBase
,
33921 _swigt__p_wxToggleButton
,
33922 _swigt__p_wxRadioButton
,
33923 _swigt__p_wxChoice
,
33924 _swigt__p_wxMemoryDC
,
33925 _swigt__p_wxListItemAttr
,
33930 _swigt__p_wxListView
,
33932 _swigt__p_wxVisualAttributes
,
33933 _swigt__p_wxTextCtrl
,
33934 _swigt__p_wxNotebook
,
33935 _swigt__p_wxChoicebook
,
33936 _swigt__p_wxNotifyEvent
,
33937 _swigt__p_wxArrayString
,
33938 _swigt__p_wxListbook
,
33939 _swigt__p_wxStaticBitmap
,
33940 _swigt__p_wxSlider
,
33941 _swigt__p_wxStaticBox
,
33942 _swigt__p_wxArrayInt
,
33943 _swigt__p_wxContextHelp
,
33945 _swigt__p_wxEvtHandler
,
33946 _swigt__p_wxListEvent
,
33947 _swigt__p_wxCheckListBox
,
33948 _swigt__p_wxListBox
,
33949 _swigt__p_wxBookCtrl
,
33950 _swigt__p_wxSpinButton
,
33951 _swigt__p_wxButton
,
33952 _swigt__p_wxBitmapButton
,
33954 _swigt__p_wxContextHelpButton
,
33955 _swigt__p_wxRadioBox
,
33956 _swigt__p_wxScrollBar
,
33958 _swigt__p_wxTreeItemId
,
33959 _swigt__p_wxComboBox
,
33960 _swigt__p_wxHelpEvent
,
33961 _swigt__p_wxListItem
,
33962 _swigt__p_wxNotebookSizer
,
33963 _swigt__p_wxSpinEvent
,
33964 _swigt__p_wxGenericDragImage
,
33965 _swigt__p_wxSpinCtrl
,
33966 _swigt__p_wxImageList
,
33967 _swigt__p_wxHelpProvider
,
33968 _swigt__p_wxTextAttr
,
33969 _swigt__p_wxSimpleHelpProvider
,
33971 _swigt__p_wxChoicebookEvent
,
33972 _swigt__p_wxListbookEvent
,
33973 _swigt__p_wxNotebookEvent
,
33974 _swigt__p_wxObject
,
33975 _swigt__p_wxCursor
,
33976 _swigt__p_wxKeyEvent
,
33977 _swigt__p_wxWindow
,
33978 _swigt__p_wxString
,
33979 _swigt__p_wxBitmap
,
33980 _swigt__p_wxTreeEvent
,
33981 _swigt__p_wxMouseEvent
,
33982 _swigt__p_wxCommandEvent
,
33983 _swigt__p_wxStaticText
,
33984 _swigt__p_wxControlWithItems
,
33985 _swigt__p_wxToolBarToolBase
,
33986 _swigt__p_wxColour
,
33987 _swigt__p_wxToolBar
,
33988 _swigt__p_wxBookCtrlSizer
,
33989 _swigt__p_wxValidator
,
33994 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33996 static swig_const_info swig_const_table
[] = {
33997 {0, 0, 0, 0.0, 0, 0}};
34006 SWIGEXPORT(void) SWIG_init(void) {
34007 static PyObject
*SWIG_globals
= 0;
34008 static int typeinit
= 0;
34011 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34012 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34013 d
= PyModule_GetDict(m
);
34016 for (i
= 0; swig_types_initial
[i
]; i
++) {
34017 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34021 SWIG_InstallConstants(d
,swig_const_table
);
34023 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
34024 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
34025 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
34026 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
34027 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
34028 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
34029 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
34030 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
34031 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
34032 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
34033 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
34034 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
34035 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
34036 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
34037 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
34038 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
34039 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
34040 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
34041 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
34042 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
34043 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
34044 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
34045 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
34046 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
34047 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
34048 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
34049 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
34050 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
34051 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
34052 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
34053 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
34054 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
34055 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
34056 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
34057 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
34058 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
34059 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
34060 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
34061 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
34062 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
34063 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
34064 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
34065 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
34066 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
34067 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
34068 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
34069 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
34070 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
34071 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
34072 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
34073 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
34074 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
34075 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
34076 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
34077 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
34078 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
34079 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
34080 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
34081 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
34082 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
34083 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
34084 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
34085 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
34086 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
34087 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
34088 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
34089 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
34090 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
34091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
34092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
34093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
34094 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
34095 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
34096 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
34097 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
34098 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
34099 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
34100 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
34101 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
34102 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
34103 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
34104 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
34105 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
34106 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
34107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
34108 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
34109 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
34110 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
34111 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
34112 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
34113 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
34114 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
34115 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
34116 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
34117 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
34118 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
34119 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
34120 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
34121 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
34122 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
34123 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
34124 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
34125 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
34126 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
34127 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
34128 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
34129 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
34130 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
34131 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
34132 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
34133 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
34134 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
34135 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
34136 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
34137 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
34138 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
34139 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
34140 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
34141 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
34142 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
34143 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
34144 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
34145 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
34146 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
34147 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
34148 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
34149 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
34150 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
34151 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
34152 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
34153 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
34154 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
34155 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
34156 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
34157 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
34158 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
34159 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
34160 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
34161 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
34162 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
34163 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
34164 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
34165 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
34166 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
34167 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
34168 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
34169 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
34170 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
34171 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
34172 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
34173 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
34174 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
34175 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
34176 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
34177 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
34178 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
34179 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
34180 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
34181 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
34182 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
34183 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
34184 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
34185 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
34186 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
34187 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
34188 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
34189 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
34190 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
34191 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
34192 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
34193 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
34194 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
34195 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
34196 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
34197 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
34198 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
34199 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
34200 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
34201 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
34202 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
34203 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
34204 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
34205 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
34206 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
34207 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
34208 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
34209 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
34210 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
34211 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
34212 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
34213 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
34214 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
34215 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
34216 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
34217 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
34218 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
34219 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
34220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
34221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
34222 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
34223 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
34224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
34225 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
34226 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
34227 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
34228 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
34229 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
34230 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
34231 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
34232 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
34233 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
34234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
34235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
34236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
34237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
34238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
34239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
34240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
34241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
34243 // Map renamed classes back to their common name for OOR
34244 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34246 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
34247 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
34248 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
34249 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
34250 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
34251 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
34252 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
34253 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
34254 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34255 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34256 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34257 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34258 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34259 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34260 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34261 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34262 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34263 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34264 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34265 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34266 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34267 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34268 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34269 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34270 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34271 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34272 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34273 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34274 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34275 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34276 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34277 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34278 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34279 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34280 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34281 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34291 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34303 // Map renamed classes back to their common name for OOR
34304 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34305 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34307 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34308 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34309 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34310 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34311 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34312 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34313 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34314 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34315 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34316 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34318 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");