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_LISTATTR_LONG(OnGetItemAttr
);
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
801 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
803 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
804 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
808 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
810 item
.SetMask( wxLIST_MASK_STATE
|
818 if (self
->GetColumn(col
, item
))
819 return new wxListItem(item
);
823 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
824 wxListItem
* info
= new wxListItem
;
825 info
->m_itemId
= itemId
;
827 info
->m_mask
= 0xFFFF;
828 self
->GetItem(*info
);
831 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
833 self
->GetItemPosition(item
, pos
);
836 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
838 self
->GetItemRect(item
, rect
, code
);
842 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
843 if (!PyCallable_Check(func
))
845 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
847 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
855 #include <wx/treectrl.h>
856 #include "wx/wxPython/pytree.h"
858 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
859 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
860 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
861 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
862 // C++ version of Python aware wxTreeCtrl
863 class wxPyTreeCtrl
: public wxTreeCtrl
{
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
866 wxPyTreeCtrl() : wxTreeCtrl() {}
867 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
871 const wxValidator
& validator
,
872 const wxString
& name
) :
873 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
875 bool Create(wxWindow
*parent
, wxWindowID id
,
879 const wxValidator
& validator
,
880 const wxString
& name
) {
881 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
885 int OnCompareItems(const wxTreeItemId
& item1
,
886 const wxTreeItemId
& item2
) {
889 bool blocked
= wxPyBeginBlockThreads();
890 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
891 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
892 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
893 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
897 wxPyEndBlockThreads(blocked
);
899 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
909 #if UINT_MAX < LONG_MAX
910 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
915 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
920 SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value
,
922 unsigned long max_value
,
925 if (value
> max_value
) {
927 PyErr_Format(PyExc_OverflowError
,
928 "value %ld is greater than '%s' minimum %ld",
929 value
, errmsg
, max_value
);
937 #if UINT_MAX != ULONG_MAX
938 SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
941 const char* errmsg
= val
? "unsigned int" : 0;
943 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
944 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
945 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
952 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
957 SWIGSTATICINLINE(unsigned int)
958 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
960 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
965 SWIGSTATICINLINE(unsigned int)
966 SWIG_As_unsigned_SS_int(PyObject
* obj
)
969 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
975 memset((void*)&v
, 0, sizeof(unsigned int));
981 SWIGSTATICINLINE(int)
982 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
984 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
987 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
988 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
990 data
= new wxPyTreeItemData();
991 data
->SetId(item
); // set the id
992 self
->SetItemData(item
, data
);
996 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
997 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
999 data
= new wxPyTreeItemData();
1000 data
->SetId(item
); // set the id
1001 self
->SetItemData(item
, data
);
1003 return data
->GetData();
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1006 data
->SetId(item
); // set the id
1007 self
->SetItemData(item
, data
);
1009 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1010 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1012 data
= new wxPyTreeItemData(obj
);
1013 data
->SetId(item
); // set the id
1014 self
->SetItemData(item
, data
);
1018 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1019 bool blocked
= wxPyBeginBlockThreads();
1020 PyObject
* rval
= PyList_New(0);
1021 wxArrayTreeItemIds array
;
1023 num
= self
->GetSelections(array
);
1024 for (x
=0; x
< num
; x
++) {
1025 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1026 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1027 PyList_Append(rval
, item
);
1030 wxPyEndBlockThreads(blocked
);
1033 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1035 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1036 bool blocked
= wxPyBeginBlockThreads();
1037 PyObject
* tup
= PyTuple_New(2);
1038 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1039 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1040 wxPyEndBlockThreads(blocked
);
1043 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1044 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1045 bool blocked
= wxPyBeginBlockThreads();
1046 PyObject
* tup
= PyTuple_New(2);
1047 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1048 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1049 wxPyEndBlockThreads(blocked
);
1052 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1054 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1055 bool blocked
= wxPyBeginBlockThreads();
1056 wxRect
* r
= new wxRect(rect
);
1057 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
1058 wxPyEndBlockThreads(blocked
);
1064 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1066 SWIGSTATICINLINE(PyObject
*)
1067 SWIG_From_bool(bool value
)
1069 PyObject
*obj
= value
? Py_True
: Py_False
;
1075 // C++ version of Python aware wxControl
1076 class wxPyControl
: public wxControl
1078 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1080 wxPyControl() : wxControl() {}
1081 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1082 const wxPoint
& pos
= wxDefaultPosition
,
1083 const wxSize
& size
= wxDefaultSize
,
1085 const wxValidator
& validator
=wxDefaultValidator
,
1086 const wxString
& name
= wxPyControlNameStr
)
1087 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1089 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1091 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1092 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1093 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1094 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1096 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1097 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1098 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1100 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1101 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1103 DEC_PYCALLBACK__(InitDialog
);
1104 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1105 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1106 DEC_PYCALLBACK_BOOL_(Validate
);
1108 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1109 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1110 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1112 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1113 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1136 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1137 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1138 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1139 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1149 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1154 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1156 #include <wx/generic/dragimgg.h>
1161 static int _wrap_ButtonNameStr_set(PyObject
*) {
1162 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1167 static PyObject
*_wrap_ButtonNameStr_get() {
1172 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1174 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1181 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxWindow
*arg1
= (wxWindow
*) 0 ;
1184 int arg2
= (int) -1 ;
1185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1191 long arg6
= (long) 0 ;
1192 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1193 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1194 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1195 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1197 bool temp3
= false ;
1200 bool temp8
= false ;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1203 PyObject
* obj2
= 0 ;
1204 PyObject
* obj3
= 0 ;
1205 PyObject
* obj4
= 0 ;
1206 PyObject
* obj5
= 0 ;
1207 PyObject
* obj6
= 0 ;
1208 PyObject
* obj7
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1217 arg2
= (int)SWIG_As_int(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 arg3
= wxString_in_helper(obj2
);
1223 if (arg3
== NULL
) SWIG_fail
;
1230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long)SWIG_As_long(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1244 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1248 PyErr_SetString(PyExc_TypeError
,"null reference");
1254 arg8
= wxString_in_helper(obj7
);
1255 if (arg8
== NULL
) SWIG_fail
;
1260 if (!wxPyCheckForApp()) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1290 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1299 if (!wxPyCheckForApp()) SWIG_fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (wxButton
*)new wxButton();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1313 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxButton
*arg1
= (wxButton
*) 0 ;
1316 wxWindow
*arg2
= (wxWindow
*) 0 ;
1317 int arg3
= (int) -1 ;
1318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1324 long arg7
= (long) 0 ;
1325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1327 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1330 bool temp4
= false ;
1333 bool temp9
= false ;
1334 PyObject
* obj0
= 0 ;
1335 PyObject
* obj1
= 0 ;
1336 PyObject
* obj2
= 0 ;
1337 PyObject
* obj3
= 0 ;
1338 PyObject
* obj4
= 0 ;
1339 PyObject
* obj5
= 0 ;
1340 PyObject
* obj6
= 0 ;
1341 PyObject
* obj7
= 0 ;
1342 PyObject
* obj8
= 0 ;
1344 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg3
= (int)SWIG_As_int(obj2
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1358 arg4
= wxString_in_helper(obj3
);
1359 if (arg4
== NULL
) SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1376 arg7
= (long)SWIG_As_long(obj6
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1380 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1384 PyErr_SetString(PyExc_TypeError
,"null reference");
1390 arg9
= wxString_in_helper(obj8
);
1391 if (arg9
== NULL
) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1427 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxButton
*arg1
= (wxButton
*) 0 ;
1430 PyObject
* obj0
= 0 ;
1432 (char *) "self", NULL
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 (arg1
)->SetDefault();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 Py_INCREF(Py_None
); resultobj
= Py_None
;
1452 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= wxButton::GetDefaultSize();
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1469 resultptr
= new wxSize((wxSize
&) result
);
1470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1478 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1481 wxVisualAttributes result
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "variant", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1489 arg1
= (int)SWIG_As_int(obj0
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 if (!wxPyCheckForApp()) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 wxVisualAttributes
* resultptr
;
1502 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1511 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1516 return Py_BuildValue((char *)"");
1518 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxWindow
*arg1
= (wxWindow
*) 0 ;
1521 int arg2
= (int) -1 ;
1522 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1523 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1528 long arg6
= (long) wxBU_AUTODRAW
;
1529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1531 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1533 wxBitmapButton
*result
;
1536 bool temp8
= false ;
1537 PyObject
* obj0
= 0 ;
1538 PyObject
* obj1
= 0 ;
1539 PyObject
* obj2
= 0 ;
1540 PyObject
* obj3
= 0 ;
1541 PyObject
* obj4
= 0 ;
1542 PyObject
* obj5
= 0 ;
1543 PyObject
* obj6
= 0 ;
1544 PyObject
* obj7
= 0 ;
1546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 arg2
= (int)SWIG_As_int(obj1
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1561 PyErr_SetString(PyExc_TypeError
,"null reference");
1568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1578 arg6
= (long)SWIG_As_long(obj5
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1586 PyErr_SetString(PyExc_TypeError
,"null reference");
1592 arg8
= wxString_in_helper(obj7
);
1593 if (arg8
== NULL
) SWIG_fail
;
1598 if (!wxPyCheckForApp()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1620 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*result
;
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1629 if (!wxPyCheckForApp()) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (wxBitmapButton
*)new wxBitmapButton();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1643 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1646 wxWindow
*arg2
= (wxWindow
*) 0 ;
1647 int arg3
= (int) -1 ;
1648 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1649 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1654 long arg7
= (long) wxBU_AUTODRAW
;
1655 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1656 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1657 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1658 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1662 bool temp9
= false ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1665 PyObject
* obj2
= 0 ;
1666 PyObject
* obj3
= 0 ;
1667 PyObject
* obj4
= 0 ;
1668 PyObject
* obj5
= 0 ;
1669 PyObject
* obj6
= 0 ;
1670 PyObject
* obj7
= 0 ;
1671 PyObject
* obj8
= 0 ;
1673 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 arg3
= (int)SWIG_As_int(obj2
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1690 PyErr_SetString(PyExc_TypeError
,"null reference");
1697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1707 arg7
= (long)SWIG_As_long(obj6
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1711 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1715 PyErr_SetString(PyExc_TypeError
,"null reference");
1721 arg9
= wxString_in_helper(obj8
);
1722 if (arg9
== NULL
) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1750 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1756 (char *) "self", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (arg1
)->GetBitmapLabel();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1770 wxBitmap
* resultptr
;
1771 resultptr
= new wxBitmap((wxBitmap
&) result
);
1772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1780 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "self", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (arg1
)->GetBitmapDisabled();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1800 wxBitmap
* resultptr
;
1801 resultptr
= new wxBitmap((wxBitmap
&) result
);
1802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1810 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (arg1
)->GetBitmapFocus();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1830 wxBitmap
* resultptr
;
1831 resultptr
= new wxBitmap((wxBitmap
&) result
);
1832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1840 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (arg1
)->GetBitmapSelected();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 wxBitmap
* resultptr
;
1861 resultptr
= new wxBitmap((wxBitmap
&) result
);
1862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1870 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1873 wxBitmap
*arg2
= 0 ;
1874 PyObject
* obj0
= 0 ;
1875 PyObject
* obj1
= 0 ;
1877 (char *) "self",(char *) "bitmap", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1887 PyErr_SetString(PyExc_TypeError
,"null reference");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 Py_INCREF(Py_None
); resultobj
= Py_None
;
1904 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1907 wxBitmap
*arg2
= 0 ;
1908 PyObject
* obj0
= 0 ;
1909 PyObject
* obj1
= 0 ;
1911 (char *) "self",(char *) "bitmap", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1921 PyErr_SetString(PyExc_TypeError
,"null reference");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1941 wxBitmap
*arg2
= 0 ;
1942 PyObject
* obj0
= 0 ;
1943 PyObject
* obj1
= 0 ;
1945 (char *) "self",(char *) "bitmap", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1955 PyErr_SetString(PyExc_TypeError
,"null reference");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1975 wxBitmap
*arg2
= 0 ;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1979 (char *) "self",(char *) "bitmap", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1989 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2012 PyObject
* obj1
= 0 ;
2013 PyObject
* obj2
= 0 ;
2015 (char *) "self",(char *) "x",(char *) "y", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int)SWIG_As_int(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2023 arg3
= (int)SWIG_As_int(obj2
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 (arg1
)->SetMargins(arg2
,arg3
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 resultobj
= SWIG_From_int((int)result
);
2065 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
*resultobj
;
2067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2069 PyObject
* obj0
= 0 ;
2071 (char *) "self", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 resultobj
= SWIG_From_int((int)result
);
2091 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2096 return Py_BuildValue((char *)"");
2098 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2099 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2104 static PyObject
*_wrap_CheckBoxNameStr_get() {
2109 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2111 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2118 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxWindow
*arg1
= (wxWindow
*) 0 ;
2121 int arg2
= (int) -1 ;
2122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2128 long arg6
= (long) 0 ;
2129 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2131 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2134 bool temp3
= false ;
2137 bool temp8
= false ;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2147 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 arg2
= (int)SWIG_As_int(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2159 arg3
= wxString_in_helper(obj2
);
2160 if (arg3
== NULL
) SWIG_fail
;
2167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2177 arg6
= (long)SWIG_As_long(obj5
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2185 PyErr_SetString(PyExc_TypeError
,"null reference");
2191 arg8
= wxString_in_helper(obj7
);
2192 if (arg8
== NULL
) SWIG_fail
;
2197 if (!wxPyCheckForApp()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2227 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2236 if (!wxPyCheckForApp()) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (wxCheckBox
*)new wxCheckBox();
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2250 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 wxWindow
*arg2
= (wxWindow
*) 0 ;
2254 int arg3
= (int) -1 ;
2255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2261 long arg7
= (long) 0 ;
2262 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2263 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2264 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2265 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2267 bool temp4
= false ;
2270 bool temp9
= false ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2273 PyObject
* obj2
= 0 ;
2274 PyObject
* obj3
= 0 ;
2275 PyObject
* obj4
= 0 ;
2276 PyObject
* obj5
= 0 ;
2277 PyObject
* obj6
= 0 ;
2278 PyObject
* obj7
= 0 ;
2279 PyObject
* obj8
= 0 ;
2281 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2290 arg3
= (int)SWIG_As_int(obj2
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2295 arg4
= wxString_in_helper(obj3
);
2296 if (arg4
== NULL
) SWIG_fail
;
2303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2313 arg7
= (long)SWIG_As_long(obj6
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2321 PyErr_SetString(PyExc_TypeError
,"null reference");
2327 arg9
= wxString_in_helper(obj8
);
2328 if (arg9
== NULL
) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2364 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2370 (char *) "self", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 result
= (bool)(arg1
)->GetValue();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2392 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)(arg1
)->IsChecked();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2420 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "state", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 arg2
= (bool)SWIG_As_bool(obj1
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->SetValue(arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_From_int((int)result
);
2475 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "state", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int)SWIG_As_int(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2532 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2538 (char *) "self", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2560 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2563 wxVisualAttributes result
;
2564 PyObject
* obj0
= 0 ;
2566 (char *) "variant", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2571 arg1
= (int)SWIG_As_int(obj0
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 if (!wxPyCheckForApp()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2583 wxVisualAttributes
* resultptr
;
2584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2593 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2596 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2598 return Py_BuildValue((char *)"");
2600 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2601 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2606 static PyObject
*_wrap_ChoiceNameStr_get() {
2611 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2613 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2620 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2625 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2626 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2627 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2628 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2629 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2630 long arg6
= (long) 0 ;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2638 bool temp5
= false ;
2639 bool temp8
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 arg2
= (int)SWIG_As_int(obj1
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2673 if (! PySequence_Check(obj4
)) {
2674 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2677 arg5
= new wxArrayString
;
2679 int i
, len
=PySequence_Length(obj4
);
2680 for (i
=0; i
<len
; i
++) {
2681 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2683 PyObject
* str
= PyObject_Unicode(item
);
2685 PyObject
* str
= PyObject_Str(item
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2688 arg5
->Add(Py2wxString(str
));
2695 arg6
= (long)SWIG_As_long(obj5
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2703 PyErr_SetString(PyExc_TypeError
,"null reference");
2709 arg8
= wxString_in_helper(obj7
);
2710 if (arg8
== NULL
) SWIG_fail
;
2715 if (!wxPyCheckForApp()) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2724 if (temp5
) delete arg5
;
2733 if (temp5
) delete arg5
;
2743 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2752 if (!wxPyCheckForApp()) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (wxChoice
*)new wxChoice();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2766 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxChoice
*arg1
= (wxChoice
*) 0 ;
2769 wxWindow
*arg2
= (wxWindow
*) 0 ;
2770 int arg3
= (int) -1 ;
2771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2775 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2776 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2777 long arg7
= (long) 0 ;
2778 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2779 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2780 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2781 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2785 bool temp6
= false ;
2786 bool temp9
= false ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2790 PyObject
* obj3
= 0 ;
2791 PyObject
* obj4
= 0 ;
2792 PyObject
* obj5
= 0 ;
2793 PyObject
* obj6
= 0 ;
2794 PyObject
* obj7
= 0 ;
2795 PyObject
* obj8
= 0 ;
2797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg3
= (int)SWIG_As_int(obj2
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2823 if (! PySequence_Check(obj5
)) {
2824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2827 arg6
= new wxArrayString
;
2829 int i
, len
=PySequence_Length(obj5
);
2830 for (i
=0; i
<len
; i
++) {
2831 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2833 PyObject
* str
= PyObject_Unicode(item
);
2835 PyObject
* str
= PyObject_Str(item
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2838 arg6
->Add(Py2wxString(str
));
2845 arg7
= (long)SWIG_As_long(obj6
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2853 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 arg9
= wxString_in_helper(obj8
);
2860 if (arg9
== NULL
) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2875 if (temp6
) delete arg6
;
2884 if (temp6
) delete arg6
;
2894 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxChoice
*arg1
= (wxChoice
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "self",(char *) "n", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 arg2
= (int)SWIG_As_int(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 (arg1
)->SetSelection(arg2
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxChoice
*arg1
= (wxChoice
*) 0 ;
2926 wxString
*arg2
= 0 ;
2928 bool temp2
= false ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "string", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= wxString_in_helper(obj1
);
2940 if (arg2
== NULL
) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2967 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxChoice
*arg1
= (wxChoice
*) 0 ;
2971 wxString
*arg3
= 0 ;
2972 bool temp3
= false ;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2977 (char *) "self",(char *) "n",(char *) "string", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= (int)SWIG_As_int(obj1
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= wxString_in_helper(obj2
);
2987 if (arg3
== NULL
) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3015 wxVisualAttributes result
;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "variant", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3023 arg1
= (int)SWIG_As_int(obj0
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 if (!wxPyCheckForApp()) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 wxVisualAttributes
* resultptr
;
3036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3045 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3050 return Py_BuildValue((char *)"");
3052 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3053 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3058 static PyObject
*_wrap_ComboBoxNameStr_get() {
3063 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3065 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3072 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxWindow
*arg1
= (wxWindow
*) 0 ;
3075 int arg2
= (int) -1 ;
3076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3082 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3083 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3084 long arg7
= (long) 0 ;
3085 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3086 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3087 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3088 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3090 bool temp3
= false ;
3093 bool temp6
= false ;
3094 bool temp9
= false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3100 PyObject
* obj5
= 0 ;
3101 PyObject
* obj6
= 0 ;
3102 PyObject
* obj7
= 0 ;
3103 PyObject
* obj8
= 0 ;
3105 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= (int)SWIG_As_int(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3117 arg3
= wxString_in_helper(obj2
);
3118 if (arg3
== NULL
) SWIG_fail
;
3125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3136 if (! PySequence_Check(obj5
)) {
3137 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3140 arg6
= new wxArrayString
;
3142 int i
, len
=PySequence_Length(obj5
);
3143 for (i
=0; i
<len
; i
++) {
3144 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3146 PyObject
* str
= PyObject_Unicode(item
);
3148 PyObject
* str
= PyObject_Str(item
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3151 arg6
->Add(Py2wxString(str
));
3158 arg7
= (long)SWIG_As_long(obj6
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3166 PyErr_SetString(PyExc_TypeError
,"null reference");
3172 arg9
= wxString_in_helper(obj8
);
3173 if (arg9
== NULL
) SWIG_fail
;
3178 if (!wxPyCheckForApp()) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 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
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3191 if (temp6
) delete arg6
;
3204 if (temp6
) delete arg6
;
3214 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3223 if (!wxPyCheckForApp()) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (wxComboBox
*)new wxComboBox();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3237 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 wxWindow
*arg2
= (wxWindow
*) 0 ;
3241 int arg3
= (int) -1 ;
3242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3248 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3249 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3250 long arg8
= (long) 0 ;
3251 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3252 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3253 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3254 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3256 bool temp4
= false ;
3259 bool temp7
= false ;
3260 bool temp10
= false ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 PyObject
* obj2
= 0 ;
3264 PyObject
* obj3
= 0 ;
3265 PyObject
* obj4
= 0 ;
3266 PyObject
* obj5
= 0 ;
3267 PyObject
* obj6
= 0 ;
3268 PyObject
* obj7
= 0 ;
3269 PyObject
* obj8
= 0 ;
3270 PyObject
* obj9
= 0 ;
3272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 arg3
= (int)SWIG_As_int(obj2
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3286 arg4
= wxString_in_helper(obj3
);
3287 if (arg4
== NULL
) SWIG_fail
;
3294 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3300 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3305 if (! PySequence_Check(obj6
)) {
3306 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3309 arg7
= new wxArrayString
;
3311 int i
, len
=PySequence_Length(obj6
);
3312 for (i
=0; i
<len
; i
++) {
3313 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3315 PyObject
* str
= PyObject_Unicode(item
);
3317 PyObject
* str
= PyObject_Str(item
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3320 arg7
->Add(Py2wxString(str
));
3327 arg8
= (long)SWIG_As_long(obj7
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3335 PyErr_SetString(PyExc_TypeError
,"null reference");
3341 arg10
= wxString_in_helper(obj9
);
3342 if (arg10
== NULL
) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 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
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3361 if (temp7
) delete arg7
;
3374 if (temp7
) delete arg7
;
3384 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= ((wxComboBox
const *)arg1
)->GetValue();
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3416 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3419 wxString
*arg2
= 0 ;
3420 bool temp2
= false ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "value", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= wxString_in_helper(obj1
);
3432 if (arg2
== NULL
) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetValue((wxString
const &)*arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3512 (char *) "self", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "pos", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (long)SWIG_As_long(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetInsertionPoint(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3567 (char *) "self", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_From_long((long)result
);
3587 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_long((long)result
);
3613 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3618 wxString
*arg4
= 0 ;
3619 bool temp4
= false ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3622 PyObject
* obj2
= 0 ;
3623 PyObject
* obj3
= 0 ;
3625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 arg2
= (long)SWIG_As_long(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3633 arg3
= (long)SWIG_As_long(obj2
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 arg4
= wxString_in_helper(obj3
);
3637 if (arg4
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3669 (char *) "self",(char *) "n", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 arg2
= (int)SWIG_As_int(obj1
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetSelection(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long)SWIG_As_long(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long)SWIG_As_long(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetSelection(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3727 wxString
*arg2
= 0 ;
3729 bool temp2
= false ;
3730 PyObject
* obj0
= 0 ;
3731 PyObject
* obj1
= 0 ;
3733 (char *) "self",(char *) "string", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= wxString_in_helper(obj1
);
3741 if (arg2
== NULL
) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3768 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3772 wxString
*arg3
= 0 ;
3773 bool temp3
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3778 (char *) "self",(char *) "n",(char *) "string", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 arg3
= wxString_in_helper(obj2
);
3788 if (arg3
== NULL
) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "editable", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 arg2
= (bool)SWIG_As_bool(obj1
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetEditable(arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetInsertionPointEnd();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 PyObject
* obj2
= 0 ;
3876 (char *) "self",(char *) "from",(char *) "to", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 arg2
= (long)SWIG_As_long(obj1
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3884 arg3
= (long)SWIG_As_long(obj2
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->Remove(arg2
,arg3
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3903 wxVisualAttributes result
;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "variant", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3911 arg1
= (int)SWIG_As_int(obj0
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3915 if (!wxPyCheckForApp()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 wxVisualAttributes
* resultptr
;
3924 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3933 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3936 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3938 return Py_BuildValue((char *)"");
3940 static int _wrap_GaugeNameStr_set(PyObject
*) {
3941 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3946 static PyObject
*_wrap_GaugeNameStr_get() {
3951 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3953 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3960 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxWindow
*arg1
= (wxWindow
*) 0 ;
3963 int arg2
= (int) -1 ;
3964 int arg3
= (int) 100 ;
3965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3969 long arg6
= (long) wxGA_HORIZONTAL
;
3970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3972 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3977 bool temp8
= false ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3980 PyObject
* obj2
= 0 ;
3981 PyObject
* obj3
= 0 ;
3982 PyObject
* obj4
= 0 ;
3983 PyObject
* obj5
= 0 ;
3984 PyObject
* obj6
= 0 ;
3985 PyObject
* obj7
= 0 ;
3987 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg2
= (int)SWIG_As_int(obj1
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 arg3
= (int)SWIG_As_int(obj2
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4014 arg6
= (long)SWIG_As_long(obj5
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4018 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4022 PyErr_SetString(PyExc_TypeError
,"null reference");
4028 arg8
= wxString_in_helper(obj7
);
4029 if (arg8
== NULL
) SWIG_fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4056 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxGauge
*)new wxGauge();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4079 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxGauge
*arg1
= (wxGauge
*) 0 ;
4082 wxWindow
*arg2
= (wxWindow
*) 0 ;
4083 int arg3
= (int) -1 ;
4084 int arg4
= (int) 100 ;
4085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4089 long arg7
= (long) wxGA_HORIZONTAL
;
4090 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4091 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4092 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4093 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4097 bool temp9
= false ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4100 PyObject
* obj2
= 0 ;
4101 PyObject
* obj3
= 0 ;
4102 PyObject
* obj4
= 0 ;
4103 PyObject
* obj5
= 0 ;
4104 PyObject
* obj6
= 0 ;
4105 PyObject
* obj7
= 0 ;
4106 PyObject
* obj8
= 0 ;
4108 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg3
= (int)SWIG_As_int(obj2
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 arg4
= (int)SWIG_As_int(obj3
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4137 arg7
= (long)SWIG_As_long(obj6
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4145 PyErr_SetString(PyExc_TypeError
,"null reference");
4151 arg9
= wxString_in_helper(obj8
);
4152 if (arg9
== NULL
) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4180 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxGauge
*arg1
= (wxGauge
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "range", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg2
= (int)SWIG_As_int(obj1
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 (arg1
)->SetRange(arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxGauge
*arg1
= (wxGauge
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4215 (char *) "self", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_From_int((int)result
);
4235 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxGauge
*arg1
= (wxGauge
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "pos", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 arg2
= (int)SWIG_As_int(obj1
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetValue(arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxGauge
*arg1
= (wxGauge
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4270 (char *) "self", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_int((int)result
);
4290 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxGauge
*arg1
= (wxGauge
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4296 (char *) "self", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4318 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxGauge
*arg1
= (wxGauge
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "w", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4331 arg2
= (int)SWIG_As_int(obj1
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetShadowWidth(arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxGauge
*arg1
= (wxGauge
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4353 (char *) "self", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_From_int((int)result
);
4373 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxGauge
*arg1
= (wxGauge
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4380 (char *) "self",(char *) "w", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 arg2
= (int)SWIG_As_int(obj1
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetBezelFace(arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxGauge
*arg1
= (wxGauge
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_From_int((int)result
);
4428 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4431 wxVisualAttributes result
;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "variant", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4439 arg1
= (int)SWIG_As_int(obj0
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 if (!wxPyCheckForApp()) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 wxVisualAttributes
* resultptr
;
4452 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4461 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4464 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4466 return Py_BuildValue((char *)"");
4468 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4469 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4474 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4479 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4481 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4488 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4489 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4494 static PyObject
*_wrap_StaticBoxNameStr_get() {
4499 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4501 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4508 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4509 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4514 static PyObject
*_wrap_StaticTextNameStr_get() {
4519 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4521 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4528 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxWindow
*arg1
= (wxWindow
*) 0 ;
4531 int arg2
= (int) -1 ;
4532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4538 long arg6
= (long) 0 ;
4539 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4540 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4541 wxStaticBox
*result
;
4542 bool temp3
= false ;
4545 bool temp7
= false ;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 PyObject
* obj2
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 PyObject
* obj4
= 0 ;
4551 PyObject
* obj5
= 0 ;
4552 PyObject
* obj6
= 0 ;
4554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int)SWIG_As_int(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 arg3
= wxString_in_helper(obj2
);
4567 if (arg3
== NULL
) SWIG_fail
;
4574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4584 arg6
= (long)SWIG_As_long(obj5
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4589 arg7
= wxString_in_helper(obj6
);
4590 if (arg7
== NULL
) SWIG_fail
;
4595 if (!wxPyCheckForApp()) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4625 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxStaticBox
*result
;
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4634 if (!wxPyCheckForApp()) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (wxStaticBox
*)new wxStaticBox();
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4648 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4651 wxWindow
*arg2
= (wxWindow
*) 0 ;
4652 int arg3
= (int) -1 ;
4653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4655 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4656 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4657 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4658 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4659 long arg7
= (long) 0 ;
4660 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4663 bool temp4
= false ;
4666 bool temp8
= false ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 PyObject
* obj3
= 0 ;
4671 PyObject
* obj4
= 0 ;
4672 PyObject
* obj5
= 0 ;
4673 PyObject
* obj6
= 0 ;
4674 PyObject
* obj7
= 0 ;
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4685 arg3
= (int)SWIG_As_int(obj2
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4690 arg4
= wxString_in_helper(obj3
);
4691 if (arg4
== NULL
) SWIG_fail
;
4698 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4704 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4708 arg7
= (long)SWIG_As_long(obj6
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4713 arg8
= wxString_in_helper(obj7
);
4714 if (arg8
== NULL
) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4750 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4753 wxVisualAttributes result
;
4754 PyObject
* obj0
= 0 ;
4756 (char *) "variant", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4761 arg1
= (int)SWIG_As_int(obj0
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 if (!wxPyCheckForApp()) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 wxVisualAttributes
* resultptr
;
4774 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4783 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4788 return Py_BuildValue((char *)"");
4790 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxWindow
*arg1
= (wxWindow
*) 0 ;
4793 int arg2
= (int) -1 ;
4794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4798 long arg5
= (long) wxLI_HORIZONTAL
;
4799 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4801 wxStaticLine
*result
;
4804 bool temp6
= false ;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj2
= 0 ;
4808 PyObject
* obj3
= 0 ;
4809 PyObject
* obj4
= 0 ;
4810 PyObject
* obj5
= 0 ;
4812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4819 arg2
= (int)SWIG_As_int(obj1
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4835 arg5
= (long)SWIG_As_long(obj4
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4840 arg6
= wxString_in_helper(obj5
);
4841 if (arg6
== NULL
) SWIG_fail
;
4846 if (!wxPyCheckForApp()) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4868 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxStaticLine
*result
;
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4877 if (!wxPyCheckForApp()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (wxStaticLine
*)new wxStaticLine();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4891 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4894 wxWindow
*arg2
= (wxWindow
*) 0 ;
4895 int arg3
= (int) -1 ;
4896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4900 long arg6
= (long) wxLI_HORIZONTAL
;
4901 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4902 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4906 bool temp7
= false ;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4909 PyObject
* obj2
= 0 ;
4910 PyObject
* obj3
= 0 ;
4911 PyObject
* obj4
= 0 ;
4912 PyObject
* obj5
= 0 ;
4913 PyObject
* obj6
= 0 ;
4915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg3
= (int)SWIG_As_int(obj2
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4930 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4936 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4940 arg6
= (long)SWIG_As_long(obj5
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4945 arg7
= wxString_in_helper(obj6
);
4946 if (arg7
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4974 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (int)wxStaticLine::GetDefaultSize();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_From_int((int)result
);
5024 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5027 wxVisualAttributes result
;
5028 PyObject
* obj0
= 0 ;
5030 (char *) "variant", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5035 arg1
= (int)SWIG_As_int(obj0
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 if (!wxPyCheckForApp()) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 wxVisualAttributes
* resultptr
;
5048 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5057 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5062 return Py_BuildValue((char *)"");
5064 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxWindow
*arg1
= (wxWindow
*) 0 ;
5067 int arg2
= (int) -1 ;
5068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5074 long arg6
= (long) 0 ;
5075 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5077 wxStaticText
*result
;
5078 bool temp3
= false ;
5081 bool temp7
= false ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5087 PyObject
* obj5
= 0 ;
5088 PyObject
* obj6
= 0 ;
5090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg2
= (int)SWIG_As_int(obj1
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5102 arg3
= wxString_in_helper(obj2
);
5103 if (arg3
== NULL
) SWIG_fail
;
5110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5120 arg6
= (long)SWIG_As_long(obj5
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5125 arg7
= wxString_in_helper(obj6
);
5126 if (arg7
== NULL
) SWIG_fail
;
5131 if (!wxPyCheckForApp()) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5161 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxStaticText
*result
;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5170 if (!wxPyCheckForApp()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (wxStaticText
*)new wxStaticText();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5184 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5187 wxWindow
*arg2
= (wxWindow
*) 0 ;
5188 int arg3
= (int) -1 ;
5189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5195 long arg7
= (long) 0 ;
5196 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5199 bool temp4
= false ;
5202 bool temp8
= false ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5207 PyObject
* obj4
= 0 ;
5208 PyObject
* obj5
= 0 ;
5209 PyObject
* obj6
= 0 ;
5210 PyObject
* obj7
= 0 ;
5212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg3
= (int)SWIG_As_int(obj2
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5226 arg4
= wxString_in_helper(obj3
);
5227 if (arg4
== NULL
) SWIG_fail
;
5234 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5240 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5244 arg7
= (long)SWIG_As_long(obj6
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5249 arg8
= wxString_in_helper(obj7
);
5250 if (arg8
== NULL
) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5289 wxVisualAttributes result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "variant", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5297 arg1
= (int)SWIG_As_int(obj0
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 if (!wxPyCheckForApp()) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5309 wxVisualAttributes
* resultptr
;
5310 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5319 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5324 return Py_BuildValue((char *)"");
5326 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxWindow
*arg1
= (wxWindow
*) 0 ;
5329 int arg2
= (int) -1 ;
5330 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5331 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5336 long arg6
= (long) 0 ;
5337 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5339 wxStaticBitmap
*result
;
5342 bool temp7
= false ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5346 PyObject
* obj3
= 0 ;
5347 PyObject
* obj4
= 0 ;
5348 PyObject
* obj5
= 0 ;
5349 PyObject
* obj6
= 0 ;
5351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 arg2
= (int)SWIG_As_int(obj1
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5366 PyErr_SetString(PyExc_TypeError
,"null reference");
5373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5383 arg6
= (long)SWIG_As_long(obj5
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5388 arg7
= wxString_in_helper(obj6
);
5389 if (arg7
== NULL
) SWIG_fail
;
5394 if (!wxPyCheckForApp()) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5416 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxStaticBitmap
*result
;
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5425 if (!wxPyCheckForApp()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5439 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5442 wxWindow
*arg2
= (wxWindow
*) 0 ;
5443 int arg3
= (int) -1 ;
5444 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5445 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5446 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5447 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5448 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5449 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5450 long arg7
= (long) 0 ;
5451 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5456 bool temp8
= false ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 PyObject
* obj2
= 0 ;
5460 PyObject
* obj3
= 0 ;
5461 PyObject
* obj4
= 0 ;
5462 PyObject
* obj5
= 0 ;
5463 PyObject
* obj6
= 0 ;
5464 PyObject
* obj7
= 0 ;
5466 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 arg3
= (int)SWIG_As_int(obj2
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5483 PyErr_SetString(PyExc_TypeError
,"null reference");
5490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5500 arg7
= (long)SWIG_As_long(obj6
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 arg8
= wxString_in_helper(obj7
);
5506 if (arg8
== NULL
) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5534 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (arg1
)->GetBitmap();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 wxBitmap
* resultptr
;
5555 resultptr
= new wxBitmap((wxBitmap
&) result
);
5556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5564 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5567 wxBitmap
*arg2
= 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "bitmap", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5581 PyErr_SetString(PyExc_TypeError
,"null reference");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "icon", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5615 PyErr_SetString(PyExc_TypeError
,"null reference");
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5635 wxVisualAttributes result
;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "variant", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5643 arg1
= (int)SWIG_As_int(obj0
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 if (!wxPyCheckForApp()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 wxVisualAttributes
* resultptr
;
5656 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5665 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5670 return Py_BuildValue((char *)"");
5672 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5673 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5678 static PyObject
*_wrap_ListBoxNameStr_get() {
5683 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5685 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5692 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxWindow
*arg1
= (wxWindow
*) 0 ;
5695 int arg2
= (int) -1 ;
5696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5700 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5701 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5702 long arg6
= (long) 0 ;
5703 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5704 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5705 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5706 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5710 bool temp5
= false ;
5711 bool temp8
= false ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5714 PyObject
* obj2
= 0 ;
5715 PyObject
* obj3
= 0 ;
5716 PyObject
* obj4
= 0 ;
5717 PyObject
* obj5
= 0 ;
5718 PyObject
* obj6
= 0 ;
5719 PyObject
* obj7
= 0 ;
5721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 arg2
= (int)SWIG_As_int(obj1
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5745 if (! PySequence_Check(obj4
)) {
5746 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5749 arg5
= new wxArrayString
;
5751 int i
, len
=PySequence_Length(obj4
);
5752 for (i
=0; i
<len
; i
++) {
5753 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5755 PyObject
* str
= PyObject_Unicode(item
);
5757 PyObject
* str
= PyObject_Str(item
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 arg5
->Add(Py2wxString(str
));
5767 arg6
= (long)SWIG_As_long(obj5
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5775 PyErr_SetString(PyExc_TypeError
,"null reference");
5781 arg8
= wxString_in_helper(obj7
);
5782 if (arg8
== NULL
) SWIG_fail
;
5787 if (!wxPyCheckForApp()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5796 if (temp5
) delete arg5
;
5805 if (temp5
) delete arg5
;
5815 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxListBox
*)new wxListBox();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5838 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxListBox
*arg1
= (wxListBox
*) 0 ;
5841 wxWindow
*arg2
= (wxWindow
*) 0 ;
5842 int arg3
= (int) -1 ;
5843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5847 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5848 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5849 long arg7
= (long) 0 ;
5850 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5851 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5852 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5853 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5857 bool temp6
= false ;
5858 bool temp9
= false ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5861 PyObject
* obj2
= 0 ;
5862 PyObject
* obj3
= 0 ;
5863 PyObject
* obj4
= 0 ;
5864 PyObject
* obj5
= 0 ;
5865 PyObject
* obj6
= 0 ;
5866 PyObject
* obj7
= 0 ;
5867 PyObject
* obj8
= 0 ;
5869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 arg3
= (int)SWIG_As_int(obj2
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5890 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5895 if (! PySequence_Check(obj5
)) {
5896 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5899 arg6
= new wxArrayString
;
5901 int i
, len
=PySequence_Length(obj5
);
5902 for (i
=0; i
<len
; i
++) {
5903 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5905 PyObject
* str
= PyObject_Unicode(item
);
5907 PyObject
* str
= PyObject_Str(item
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5910 arg6
->Add(Py2wxString(str
));
5917 arg7
= (long)SWIG_As_long(obj6
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5925 PyErr_SetString(PyExc_TypeError
,"null reference");
5931 arg9
= wxString_in_helper(obj8
);
5932 if (arg9
== NULL
) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5947 if (temp6
) delete arg6
;
5956 if (temp6
) delete arg6
;
5966 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxListBox
*arg1
= (wxListBox
*) 0 ;
5969 wxString
*arg2
= 0 ;
5971 PyObject
*arg4
= (PyObject
*) NULL
;
5972 bool temp2
= false ;
5973 PyObject
* obj0
= 0 ;
5974 PyObject
* obj1
= 0 ;
5975 PyObject
* obj2
= 0 ;
5976 PyObject
* obj3
= 0 ;
5978 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 arg2
= wxString_in_helper(obj1
);
5986 if (arg2
== NULL
) SWIG_fail
;
5989 arg3
= (int)SWIG_As_int(obj2
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxListBox
*arg1
= (wxListBox
*) 0 ;
6019 wxArrayString
*arg2
= 0 ;
6021 bool temp2
= false ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6024 PyObject
* obj2
= 0 ;
6026 (char *) "self",(char *) "items",(char *) "pos", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 if (! PySequence_Check(obj1
)) {
6034 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6037 arg2
= new wxArrayString
;
6039 int i
, len
=PySequence_Length(obj1
);
6040 for (i
=0; i
<len
; i
++) {
6041 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6043 PyObject
* str
= PyObject_Unicode(item
);
6045 PyObject
* str
= PyObject_Str(item
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6048 arg2
->Add(Py2wxString(str
));
6053 arg3
= (int)SWIG_As_int(obj2
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 if (temp2
) delete arg2
;
6069 if (temp2
) delete arg2
;
6075 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxListBox
*arg1
= (wxListBox
*) 0 ;
6078 wxArrayString
*arg2
= 0 ;
6079 bool temp2
= false ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "items", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 if (! PySequence_Check(obj1
)) {
6091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6094 arg2
= new wxArrayString
;
6096 int i
, len
=PySequence_Length(obj1
);
6097 for (i
=0; i
<len
; i
++) {
6098 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6100 PyObject
* str
= PyObject_Unicode(item
);
6102 PyObject
* str
= PyObject_Str(item
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6105 arg2
->Add(Py2wxString(str
));
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->Set((wxArrayString
const &)*arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 if (temp2
) delete arg2
;
6124 if (temp2
) delete arg2
;
6130 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxListBox
*arg1
= (wxListBox
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "n", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg2
= (int)SWIG_As_int(obj1
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxListBox
*arg1
= (wxListBox
*) 0 ;
6166 bool arg3
= (bool) true ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "n",(char *) "select", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6177 arg2
= (int)SWIG_As_int(obj1
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 arg3
= (bool)SWIG_As_bool(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->SetSelection(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxListBox
*arg1
= (wxListBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "n", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 arg2
= (int)SWIG_As_int(obj1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 (arg1
)->Select(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxListBox
*arg1
= (wxListBox
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "n", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int)SWIG_As_int(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->Deselect(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxListBox
*arg1
= (wxListBox
*) 0 ;
6258 int arg2
= (int) -1 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "itemToLeaveSelected", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 arg2
= (int)SWIG_As_int(obj1
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->DeselectAll(arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxListBox
*arg1
= (wxListBox
*) 0 ;
6289 wxString
*arg2
= 0 ;
6290 bool arg3
= (bool) true ;
6292 bool temp2
= false ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 PyObject
* obj2
= 0 ;
6297 (char *) "self",(char *) "s",(char *) "select", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= wxString_in_helper(obj1
);
6305 if (arg2
== NULL
) SWIG_fail
;
6309 arg3
= (bool)SWIG_As_bool(obj2
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6336 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxListBox
*arg1
= (wxListBox
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6362 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxListBox
*arg1
= (wxListBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6369 (char *) "self",(char *) "n", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (int)SWIG_As_int(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 (arg1
)->SetFirstItem(arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxListBox
*arg1
= (wxListBox
*) 0 ;
6394 wxString
*arg2
= 0 ;
6395 bool temp2
= false ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6399 (char *) "self",(char *) "s", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= wxString_in_helper(obj1
);
6407 if (arg2
== NULL
) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6432 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxListBox
*arg1
= (wxListBox
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 (char *) "self",(char *) "n", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 arg2
= (int)SWIG_As_int(obj1
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 (arg1
)->EnsureVisible(arg2
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxListBox
*arg1
= (wxListBox
*) 0 ;
6464 wxString
*arg2
= 0 ;
6465 bool temp2
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6469 (char *) "self",(char *) "s", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= wxString_in_helper(obj1
);
6477 if (arg2
== NULL
) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxListBox
*arg1
= (wxListBox
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxListBox
*arg1
= (wxListBox
*) 0 ;
6534 wxColour
*arg3
= 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 PyObject
* obj2
= 0 ;
6540 (char *) "self",(char *) "item",(char *) "c", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 arg2
= (int)SWIG_As_int(obj1
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxListBox
*arg1
= (wxListBox
*) 0 ;
6570 wxColour
*arg3
= 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6574 PyObject
* obj2
= 0 ;
6576 (char *) "self",(char *) "item",(char *) "c", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6582 arg2
= (int)SWIG_As_int(obj1
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxListBox
*arg1
= (wxListBox
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6611 (char *) "self",(char *) "item",(char *) "f", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (int)SWIG_As_int(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6623 PyErr_SetString(PyExc_TypeError
,"null reference");
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6643 wxVisualAttributes result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "variant", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6651 arg1
= (int)SWIG_As_int(obj0
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 if (!wxPyCheckForApp()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 wxVisualAttributes
* resultptr
;
6664 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6673 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6676 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6678 return Py_BuildValue((char *)"");
6680 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxWindow
*arg1
= (wxWindow
*) 0 ;
6683 int arg2
= (int) -1 ;
6684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6688 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6689 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6690 long arg6
= (long) 0 ;
6691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6693 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6695 wxCheckListBox
*result
;
6698 bool temp5
= false ;
6699 bool temp8
= false ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6703 PyObject
* obj3
= 0 ;
6704 PyObject
* obj4
= 0 ;
6705 PyObject
* obj5
= 0 ;
6706 PyObject
* obj6
= 0 ;
6707 PyObject
* obj7
= 0 ;
6709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= (int)SWIG_As_int(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6733 if (! PySequence_Check(obj4
)) {
6734 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6737 arg5
= new wxArrayString
;
6739 int i
, len
=PySequence_Length(obj4
);
6740 for (i
=0; i
<len
; i
++) {
6741 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6743 PyObject
* str
= PyObject_Unicode(item
);
6745 PyObject
* str
= PyObject_Str(item
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6748 arg5
->Add(Py2wxString(str
));
6755 arg6
= (long)SWIG_As_long(obj5
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6759 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6763 PyErr_SetString(PyExc_TypeError
,"null reference");
6769 arg8
= wxString_in_helper(obj7
);
6770 if (arg8
== NULL
) SWIG_fail
;
6775 if (!wxPyCheckForApp()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6784 if (temp5
) delete arg5
;
6793 if (temp5
) delete arg5
;
6803 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxCheckListBox
*result
;
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxCheckListBox
*)new wxCheckListBox();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6826 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6829 wxWindow
*arg2
= (wxWindow
*) 0 ;
6830 int arg3
= (int) -1 ;
6831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6835 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6836 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6837 long arg7
= (long) 0 ;
6838 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6839 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6840 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6845 bool temp6
= false ;
6846 bool temp9
= false ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 PyObject
* obj2
= 0 ;
6850 PyObject
* obj3
= 0 ;
6851 PyObject
* obj4
= 0 ;
6852 PyObject
* obj5
= 0 ;
6853 PyObject
* obj6
= 0 ;
6854 PyObject
* obj7
= 0 ;
6855 PyObject
* obj8
= 0 ;
6857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 arg3
= (int)SWIG_As_int(obj2
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6883 if (! PySequence_Check(obj5
)) {
6884 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6887 arg6
= new wxArrayString
;
6889 int i
, len
=PySequence_Length(obj5
);
6890 for (i
=0; i
<len
; i
++) {
6891 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6893 PyObject
* str
= PyObject_Unicode(item
);
6895 PyObject
* str
= PyObject_Str(item
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6898 arg6
->Add(Py2wxString(str
));
6905 arg7
= (long)SWIG_As_long(obj6
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6913 PyErr_SetString(PyExc_TypeError
,"null reference");
6919 arg9
= wxString_in_helper(obj8
);
6920 if (arg9
== NULL
) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6935 if (temp6
) delete arg6
;
6944 if (temp6
) delete arg6
;
6954 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6960 PyObject
* obj1
= 0 ;
6962 (char *) "self",(char *) "index", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6968 arg2
= (int)SWIG_As_int(obj1
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (bool)(arg1
)->IsChecked(arg2
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6990 int arg3
= (int) true ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6993 PyObject
* obj2
= 0 ;
6995 (char *) "self",(char *) "index",(char *) "check", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 arg2
= (int)SWIG_As_int(obj1
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 arg3
= (int)SWIG_As_int(obj2
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->Check(arg2
,arg3
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)(arg1
)->GetItemHeight();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_From_int((int)result
);
7047 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7056 (char *) "self",(char *) "pt", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_From_int((int)result
);
7080 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 PyObject
* obj2
= 0 ;
7090 (char *) "self",(char *) "x",(char *) "y", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= (int)SWIG_As_int(obj1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7098 arg3
= (int)SWIG_As_int(obj2
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_From_int((int)result
);
7114 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7117 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7119 return Py_BuildValue((char *)"");
7121 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7122 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7127 static PyObject
*_wrap_TextCtrlNameStr_get() {
7132 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7134 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7141 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxColour
const &arg1_defvalue
= wxNullColour
;
7144 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7145 wxColour
const &arg2_defvalue
= wxNullColour
;
7146 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7147 wxFont
const &arg3_defvalue
= wxNullFont
;
7148 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7149 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7153 PyObject
* obj0
= 0 ;
7154 PyObject
* obj1
= 0 ;
7155 PyObject
* obj2
= 0 ;
7156 PyObject
* obj3
= 0 ;
7158 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7165 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7171 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7175 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7179 PyErr_SetString(PyExc_TypeError
,"null reference");
7184 arg4
= (int)SWIG_As_int(obj3
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7201 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "self", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7229 PyObject
* obj0
= 0 ;
7231 (char *) "self", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7254 wxColour
*arg2
= 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "colText", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 Py_INCREF(Py_None
); resultobj
= Py_None
;
7283 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7286 wxColour
*arg2
= 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7291 (char *) "self",(char *) "colBack", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7319 long arg3
= (long) wxTEXT_ATTR_FONT
;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7322 PyObject
* obj2
= 0 ;
7324 (char *) "self",(char *) "font",(char *) "flags", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7334 PyErr_SetString(PyExc_TypeError
,"null reference");
7338 arg3
= (long)SWIG_As_long(obj2
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7362 (char *) "self",(char *) "alignment", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 arg2
= (int)SWIG_As_int(obj1
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7387 wxArrayInt
*arg2
= 0 ;
7388 bool temp2
= false ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7392 (char *) "self",(char *) "tabs", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7399 if (! PySequence_Check(obj1
)) {
7400 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7403 arg2
= new wxArrayInt
;
7405 int i
, len
=PySequence_Length(obj1
);
7406 for (i
=0; i
<len
; i
++) {
7407 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7408 PyObject
* number
= PyNumber_Int(item
);
7409 arg2
->Add(PyInt_AS_LONG(number
));
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7423 if (temp2
) delete arg2
;
7428 if (temp2
) delete arg2
;
7434 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7436 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7438 int arg3
= (int) 0 ;
7439 PyObject
* obj0
= 0 ;
7440 PyObject
* obj1
= 0 ;
7441 PyObject
* obj2
= 0 ;
7443 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= (int)SWIG_As_int(obj1
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 arg3
= (int)SWIG_As_int(obj2
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetLeftIndent(arg2
,arg3
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "indent", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 arg2
= (int)SWIG_As_int(obj1
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 (arg1
)->SetRightIndent(arg2
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 Py_INCREF(Py_None
); resultobj
= Py_None
;
7498 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "flags", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 arg2
= (long)SWIG_As_long(obj1
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 (arg1
)->SetFlags(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "self", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7555 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7583 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7587 PyObject
* obj0
= 0 ;
7589 (char *) "self", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7611 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7615 PyObject
* obj0
= 0 ;
7617 (char *) "self", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7639 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7643 PyObject
* obj0
= 0 ;
7645 (char *) "self", NULL
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7667 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7695 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7723 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "self",(char *) "flag", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 arg2
= (long)SWIG_As_long(obj1
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7755 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7761 (char *) "self", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7771 result
= (wxColour
*) &_result_ref
;
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7784 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7800 result
= (wxColour
*) &_result_ref
;
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7813 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7829 result
= (wxFont
*) &_result_ref
;
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 wxFont
* resultptr
= new wxFont(*result
);
7837 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7845 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_int((int)result
);
7871 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7887 result
= (wxArrayInt
*) &_result_ref
;
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= PyList_New(0);
7896 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7897 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7898 PyList_Append(resultobj
, val
);
7908 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_From_long((long)result
);
7934 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_From_long((long)result
);
7960 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "self", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_From_long((long)result
);
7986 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_From_long((long)result
);
8012 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8040 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxTextAttr
*arg1
= 0 ;
8043 wxTextAttr
*arg2
= 0 ;
8044 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8048 PyObject
* obj2
= 0 ;
8050 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8058 PyErr_SetString(PyExc_TypeError
,"null reference");
8061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8065 PyErr_SetString(PyExc_TypeError
,"null reference");
8068 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 wxTextAttr
* resultptr
;
8079 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8088 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8091 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8093 return Py_BuildValue((char *)"");
8095 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
*resultobj
;
8097 wxWindow
*arg1
= (wxWindow
*) 0 ;
8098 int arg2
= (int) -1 ;
8099 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8100 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8101 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8102 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8103 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8104 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8105 long arg6
= (long) 0 ;
8106 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8107 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8108 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8111 bool temp3
= false ;
8114 bool temp8
= false ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8118 PyObject
* obj3
= 0 ;
8119 PyObject
* obj4
= 0 ;
8120 PyObject
* obj5
= 0 ;
8121 PyObject
* obj6
= 0 ;
8122 PyObject
* obj7
= 0 ;
8124 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8131 arg2
= (int)SWIG_As_int(obj1
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8136 arg3
= wxString_in_helper(obj2
);
8137 if (arg3
== NULL
) SWIG_fail
;
8144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8154 arg6
= (long)SWIG_As_long(obj5
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8162 PyErr_SetString(PyExc_TypeError
,"null reference");
8168 arg8
= wxString_in_helper(obj7
);
8169 if (arg8
== NULL
) SWIG_fail
;
8174 if (!wxPyCheckForApp()) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8204 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8213 if (!wxPyCheckForApp()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (wxTextCtrl
*)new wxTextCtrl();
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8227 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8230 wxWindow
*arg2
= (wxWindow
*) 0 ;
8231 int arg3
= (int) -1 ;
8232 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8233 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8234 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8235 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8236 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8237 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8238 long arg7
= (long) 0 ;
8239 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8240 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8241 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8242 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8244 bool temp4
= false ;
8247 bool temp9
= false ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8250 PyObject
* obj2
= 0 ;
8251 PyObject
* obj3
= 0 ;
8252 PyObject
* obj4
= 0 ;
8253 PyObject
* obj5
= 0 ;
8254 PyObject
* obj6
= 0 ;
8255 PyObject
* obj7
= 0 ;
8256 PyObject
* obj8
= 0 ;
8258 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 arg3
= (int)SWIG_As_int(obj2
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8272 arg4
= wxString_in_helper(obj3
);
8273 if (arg4
== NULL
) SWIG_fail
;
8280 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8286 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8290 arg7
= (long)SWIG_As_long(obj6
);
8291 if (PyErr_Occurred()) SWIG_fail
;
8294 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8298 PyErr_SetString(PyExc_TypeError
,"null reference");
8304 arg9
= wxString_in_helper(obj8
);
8305 if (arg9
== NULL
) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8341 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8373 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8376 wxString
*arg2
= 0 ;
8377 bool temp2
= false ;
8378 PyObject
* obj0
= 0 ;
8379 PyObject
* obj1
= 0 ;
8381 (char *) "self",(char *) "value", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 arg2
= wxString_in_helper(obj1
);
8389 if (arg2
== NULL
) SWIG_fail
;
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 (arg1
)->SetValue((wxString
const &)*arg2
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8422 PyObject
* obj2
= 0 ;
8424 (char *) "self",(char *) "from",(char *) "to", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8430 arg2
= (long)SWIG_As_long(obj1
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8432 arg3
= (long)SWIG_As_long(obj2
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8454 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8462 (char *) "self",(char *) "lineNo", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8468 arg2
= (long)SWIG_As_long(obj1
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= SWIG_From_int((int)result
);
8484 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8492 (char *) "self",(char *) "lineNo", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg2
= (long)SWIG_As_long(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8520 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_From_int((int)result
);
8546 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8574 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
;
8576 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8578 PyObject
* obj0
= 0 ;
8580 (char *) "self", NULL
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8602 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8630 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8644 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8658 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
;
8660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8661 long *arg2
= (long *) 0 ;
8662 long *arg3
= (long *) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 (char *) "self", NULL
8672 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8673 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 Py_INCREF(Py_None
); resultobj
= Py_None
;
8685 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8686 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8687 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8688 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8695 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8727 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8732 (char *) "self", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 wxPyEndAllowThreads(__tstate
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 Py_INCREF(Py_None
); resultobj
= Py_None
;
8752 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8757 wxString
*arg4
= 0 ;
8758 bool temp4
= false ;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8761 PyObject
* obj2
= 0 ;
8762 PyObject
* obj3
= 0 ;
8764 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8770 arg2
= (long)SWIG_As_long(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8772 arg3
= (long)SWIG_As_long(obj2
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 arg4
= wxString_in_helper(obj3
);
8776 if (arg4
== NULL
) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8808 PyObject
* obj2
= 0 ;
8810 (char *) "self",(char *) "from",(char *) "to", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 arg2
= (long)SWIG_As_long(obj1
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8818 arg3
= (long)SWIG_As_long(obj2
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 (arg1
)->Remove(arg2
,arg3
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 Py_INCREF(Py_None
); resultobj
= Py_None
;
8834 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8837 wxString
*arg2
= 0 ;
8839 bool temp2
= false ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "file", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8850 arg2
= wxString_in_helper(obj1
);
8851 if (arg2
== NULL
) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8878 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8881 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8882 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8884 bool temp2
= false ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8888 (char *) "self",(char *) "file", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg2
= wxString_in_helper(obj1
);
8897 if (arg2
== NULL
) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8925 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 (arg1
)->MarkDirty();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 Py_INCREF(Py_None
); resultobj
= Py_None
;
8950 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8952 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "self", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->DiscardEdits();
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8978 unsigned long arg2
;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8982 (char *) "self",(char *) "len", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->SetMaxLength(arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9007 wxString
*arg2
= 0 ;
9008 bool temp2
= false ;
9009 PyObject
* obj0
= 0 ;
9010 PyObject
* obj1
= 0 ;
9012 (char *) "self",(char *) "text", NULL
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 arg2
= wxString_in_helper(obj1
);
9020 if (arg2
== NULL
) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 (arg1
)->WriteText((wxString
const &)*arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9048 wxString
*arg2
= 0 ;
9049 bool temp2
= false ;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9053 (char *) "self",(char *) "text", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 arg2
= wxString_in_helper(obj1
);
9061 if (arg2
== NULL
) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 (arg1
)->AppendText((wxString
const &)*arg2
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 Py_INCREF(Py_None
); resultobj
= Py_None
;
9086 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9089 wxKeyEvent
*arg2
= 0 ;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "event", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9104 PyErr_SetString(PyExc_TypeError
,"null reference");
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9123 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9128 wxTextAttr
*arg4
= 0 ;
9130 PyObject
* obj0
= 0 ;
9131 PyObject
* obj1
= 0 ;
9132 PyObject
* obj2
= 0 ;
9133 PyObject
* obj3
= 0 ;
9135 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 arg2
= (long)SWIG_As_long(obj1
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9143 arg3
= (long)SWIG_As_long(obj2
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9145 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9149 PyErr_SetString(PyExc_TypeError
,"null reference");
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9168 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9172 wxTextAttr
*arg3
= 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9178 (char *) "self",(char *) "position",(char *) "style", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 arg2
= (long)SWIG_As_long(obj1
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9186 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9190 PyErr_SetString(PyExc_TypeError
,"null reference");
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9209 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9212 wxTextAttr
*arg2
= 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9217 (char *) "self",(char *) "style", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9227 PyErr_SetString(PyExc_TypeError
,"null reference");
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9246 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9252 (char *) "self", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9262 result
= (wxTextAttr
*) &_result_ref
;
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9275 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9283 PyObject
* obj2
= 0 ;
9285 (char *) "self",(char *) "x",(char *) "y", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 arg2
= (long)SWIG_As_long(obj1
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9293 arg3
= (long)SWIG_As_long(obj2
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_From_long((long)result
);
9309 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9313 long *arg3
= (long *) 0 ;
9314 long *arg4
= (long *) 0 ;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9322 (char *) "self",(char *) "pos", NULL
9325 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9326 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9330 arg2
= (long)SWIG_As_long(obj1
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9341 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9342 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9343 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9350 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9355 PyObject
* obj1
= 0 ;
9357 (char *) "self",(char *) "pos", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9363 arg2
= (long)SWIG_As_long(obj1
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->ShowPosition(arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 Py_INCREF(Py_None
); resultobj
= Py_None
;
9379 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9383 long *arg3
= (long *) 0 ;
9384 long *arg4
= (long *) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9394 (char *) "self",(char *) "pt", NULL
9397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9398 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_From_int((int)result
);
9414 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9415 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9416 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9417 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9424 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9428 long *arg3
= (long *) 0 ;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9436 (char *) "self",(char *) "pt", NULL
9439 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_From_int((int)result
);
9455 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9456 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9463 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 Py_INCREF(Py_None
); resultobj
= Py_None
;
9513 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9566 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9622 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
;
9624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 Py_INCREF(Py_None
); resultobj
= Py_None
;
9647 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 Py_INCREF(Py_None
); resultobj
= Py_None
;
9672 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9700 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9728 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9735 (char *) "self",(char *) "pos", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 arg2
= (long)SWIG_As_long(obj1
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->SetInsertionPoint(arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 Py_INCREF(Py_None
); resultobj
= Py_None
;
9757 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "self", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 (arg1
)->SetInsertionPointEnd();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 Py_INCREF(Py_None
); resultobj
= Py_None
;
9782 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9788 (char *) "self", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_From_long((long)result
);
9808 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_From_long((long)result
);
9834 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9840 PyObject
* obj1
= 0 ;
9841 PyObject
* obj2
= 0 ;
9843 (char *) "self",(char *) "from",(char *) "to", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9849 arg2
= (long)SWIG_As_long(obj1
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9851 arg3
= (long)SWIG_As_long(obj2
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 (arg1
)->SetSelection(arg2
,arg3
);
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 Py_INCREF(Py_None
); resultobj
= Py_None
;
9867 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "self", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 (arg1
)->SelectAll();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 Py_INCREF(Py_None
); resultobj
= Py_None
;
9892 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9897 PyObject
* obj1
= 0 ;
9899 (char *) "self",(char *) "editable", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 arg2
= (bool)SWIG_As_bool(obj1
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 (arg1
)->SetEditable(arg2
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 Py_INCREF(Py_None
); resultobj
= Py_None
;
9921 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9924 bool arg2
= (bool) true ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "show", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9936 arg2
= (bool)SWIG_As_bool(obj1
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9955 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9961 (char *) "self", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)(arg1
)->HideNativeCaret();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9983 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9986 wxString
*arg2
= 0 ;
9987 bool temp2
= false ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "self",(char *) "text", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 arg2
= wxString_in_helper(obj1
);
9999 if (arg2
== NULL
) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 Py_INCREF(Py_None
); resultobj
= Py_None
;
10024 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
;
10026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "from",(char *) "to", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 arg2
= (long)SWIG_As_long(obj1
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10042 arg3
= (long)SWIG_As_long(obj2
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10055 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10064 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10067 wxVisualAttributes result
;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "variant", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10075 arg1
= (int)SWIG_As_int(obj0
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10079 if (!wxPyCheckForApp()) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10087 wxVisualAttributes
* resultptr
;
10088 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10097 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10102 return Py_BuildValue((char *)"");
10104 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10107 wxMouseEvent
*arg2
= 0 ;
10110 wxTextUrlEvent
*result
;
10111 PyObject
* obj0
= 0 ;
10112 PyObject
* obj1
= 0 ;
10113 PyObject
* obj2
= 0 ;
10114 PyObject
* obj3
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10120 arg1
= (int)SWIG_As_int(obj0
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10125 if (arg2
== NULL
) {
10126 PyErr_SetString(PyExc_TypeError
,"null reference");
10129 arg3
= (long)SWIG_As_long(obj2
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10131 arg4
= (long)SWIG_As_long(obj3
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10147 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10150 wxMouseEvent
*result
;
10151 PyObject
* obj0
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "self", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10163 result
= (wxMouseEvent
*) &_result_ref
;
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10176 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char *kwnames
[] = {
10182 (char *) "self", NULL
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_From_long((long)result
);
10202 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_From_long((long)result
);
10228 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10231 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10233 return Py_BuildValue((char *)"");
10235 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10236 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10241 static PyObject
*_wrap_ScrollBarNameStr_get() {
10246 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10248 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10255 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxWindow
*arg1
= (wxWindow
*) 0 ;
10258 int arg2
= (int) -1 ;
10259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10263 long arg5
= (long) wxSB_HORIZONTAL
;
10264 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10265 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10266 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10267 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10268 wxScrollBar
*result
;
10271 bool temp7
= false ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 PyObject
* obj3
= 0 ;
10276 PyObject
* obj4
= 0 ;
10277 PyObject
* obj5
= 0 ;
10278 PyObject
* obj6
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 arg2
= (int)SWIG_As_int(obj1
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10299 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10303 arg5
= (long)SWIG_As_long(obj4
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10310 if (arg6
== NULL
) {
10311 PyErr_SetString(PyExc_TypeError
,"null reference");
10317 arg7
= wxString_in_helper(obj6
);
10318 if (arg7
== NULL
) SWIG_fail
;
10323 if (!wxPyCheckForApp()) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10345 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxScrollBar
*result
;
10348 char *kwnames
[] = {
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10354 if (!wxPyCheckForApp()) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (wxScrollBar
*)new wxScrollBar();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10368 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10371 wxWindow
*arg2
= (wxWindow
*) 0 ;
10372 int arg3
= (int) -1 ;
10373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10377 long arg6
= (long) wxSB_HORIZONTAL
;
10378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10380 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10385 bool temp8
= false ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 PyObject
* obj2
= 0 ;
10389 PyObject
* obj3
= 0 ;
10390 PyObject
* obj4
= 0 ;
10391 PyObject
* obj5
= 0 ;
10392 PyObject
* obj6
= 0 ;
10393 PyObject
* obj7
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 arg3
= (int)SWIG_As_int(obj2
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10420 arg6
= (long)SWIG_As_long(obj5
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10427 if (arg7
== NULL
) {
10428 PyErr_SetString(PyExc_TypeError
,"null reference");
10434 arg8
= wxString_in_helper(obj7
);
10435 if (arg8
== NULL
) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10463 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_From_int((int)result
);
10489 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_From_int((int)result
);
10515 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_From_int((int)result
);
10541 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_From_int((int)result
);
10567 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10595 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
;
10597 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 char *kwnames
[] = {
10602 (char *) "self",(char *) "viewStart", NULL
10605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10608 arg2
= (int)SWIG_As_int(obj1
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetThumbPosition(arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10631 bool arg6
= (bool) true ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 PyObject
* obj3
= 0 ;
10636 PyObject
* obj4
= 0 ;
10637 PyObject
* obj5
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 arg2
= (int)SWIG_As_int(obj1
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10647 arg3
= (int)SWIG_As_int(obj2
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10649 arg4
= (int)SWIG_As_int(obj3
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10651 arg5
= (int)SWIG_As_int(obj4
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 arg6
= (bool)SWIG_As_bool(obj5
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10674 wxVisualAttributes result
;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "variant", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10682 arg1
= (int)SWIG_As_int(obj0
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10686 if (!wxPyCheckForApp()) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10694 wxVisualAttributes
* resultptr
;
10695 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10704 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10707 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10709 return Py_BuildValue((char *)"");
10711 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10712 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10717 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10722 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10724 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10731 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10732 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10737 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10742 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10744 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10751 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxWindow
*arg1
= (wxWindow
*) 0 ;
10754 int arg2
= (int) -1 ;
10755 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10756 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10757 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10758 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10759 long arg5
= (long) wxSP_HORIZONTAL
;
10760 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10761 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10762 wxSpinButton
*result
;
10765 bool temp6
= false ;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 PyObject
* obj3
= 0 ;
10770 PyObject
* obj4
= 0 ;
10771 PyObject
* obj5
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg2
= (int)SWIG_As_int(obj1
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10796 arg5
= (long)SWIG_As_long(obj4
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10801 arg6
= wxString_in_helper(obj5
);
10802 if (arg6
== NULL
) SWIG_fail
;
10807 if (!wxPyCheckForApp()) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10829 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10830 PyObject
*resultobj
;
10831 wxSpinButton
*result
;
10832 char *kwnames
[] = {
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10838 if (!wxPyCheckForApp()) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (wxSpinButton
*)new wxSpinButton();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10852 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10855 wxWindow
*arg2
= (wxWindow
*) 0 ;
10856 int arg3
= (int) -1 ;
10857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10861 long arg6
= (long) wxSP_HORIZONTAL
;
10862 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10867 bool temp7
= false ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 PyObject
* obj4
= 0 ;
10873 PyObject
* obj5
= 0 ;
10874 PyObject
* obj6
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg3
= (int)SWIG_As_int(obj2
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10901 arg6
= (long)SWIG_As_long(obj5
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10906 arg7
= wxString_in_helper(obj6
);
10907 if (arg7
== NULL
) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10935 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_From_int((int)result
);
10961 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_From_int((int)result
);
10987 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_From_int((int)result
);
11013 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "val", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 arg2
= (int)SWIG_As_int(obj1
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 (arg1
)->SetValue(arg2
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 Py_INCREF(Py_None
); resultobj
= Py_None
;
11042 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
;
11044 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "minVal", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11055 arg2
= (int)SWIG_As_int(obj1
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 (arg1
)->SetMin(arg2
);
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11064 Py_INCREF(Py_None
); resultobj
= Py_None
;
11071 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char *kwnames
[] = {
11078 (char *) "self",(char *) "maxVal", NULL
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11084 arg2
= (int)SWIG_As_int(obj1
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 (arg1
)->SetMax(arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11100 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11101 PyObject
*resultobj
;
11102 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 PyObject
* obj2
= 0 ;
11108 char *kwnames
[] = {
11109 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11115 arg2
= (int)SWIG_As_int(obj1
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11117 arg3
= (int)SWIG_As_int(obj2
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 (arg1
)->SetRange(arg2
,arg3
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11161 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11164 wxVisualAttributes result
;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "variant", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11172 arg1
= (int)SWIG_As_int(obj0
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 if (!wxPyCheckForApp()) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 wxVisualAttributes
* resultptr
;
11185 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11194 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11197 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11199 return Py_BuildValue((char *)"");
11201 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxWindow
*arg1
= (wxWindow
*) 0 ;
11204 int arg2
= (int) -1 ;
11205 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11206 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11211 long arg6
= (long) wxSP_ARROW_KEYS
;
11212 int arg7
= (int) 0 ;
11213 int arg8
= (int) 100 ;
11214 int arg9
= (int) 0 ;
11215 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11216 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11217 wxSpinCtrl
*result
;
11218 bool temp3
= false ;
11221 bool temp10
= false ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 PyObject
* obj2
= 0 ;
11225 PyObject
* obj3
= 0 ;
11226 PyObject
* obj4
= 0 ;
11227 PyObject
* obj5
= 0 ;
11228 PyObject
* obj6
= 0 ;
11229 PyObject
* obj7
= 0 ;
11230 PyObject
* obj8
= 0 ;
11231 PyObject
* obj9
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 arg2
= (int)SWIG_As_int(obj1
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11245 arg3
= wxString_in_helper(obj2
);
11246 if (arg3
== NULL
) SWIG_fail
;
11253 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11259 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11263 arg6
= (long)SWIG_As_long(obj5
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 arg7
= (int)SWIG_As_int(obj6
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 arg8
= (int)SWIG_As_int(obj7
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 arg9
= (int)SWIG_As_int(obj8
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11280 arg10
= wxString_in_helper(obj9
);
11281 if (arg10
== NULL
) SWIG_fail
;
11286 if (!wxPyCheckForApp()) SWIG_fail
;
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11316 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxSpinCtrl
*result
;
11319 char *kwnames
[] = {
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11325 if (!wxPyCheckForApp()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11339 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11342 wxWindow
*arg2
= (wxWindow
*) 0 ;
11343 int arg3
= (int) -1 ;
11344 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11345 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11346 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11347 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11348 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11349 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11350 long arg7
= (long) wxSP_ARROW_KEYS
;
11351 int arg8
= (int) 0 ;
11352 int arg9
= (int) 100 ;
11353 int arg10
= (int) 0 ;
11354 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11355 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11357 bool temp4
= false ;
11360 bool temp11
= false ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 PyObject
* obj2
= 0 ;
11364 PyObject
* obj3
= 0 ;
11365 PyObject
* obj4
= 0 ;
11366 PyObject
* obj5
= 0 ;
11367 PyObject
* obj6
= 0 ;
11368 PyObject
* obj7
= 0 ;
11369 PyObject
* obj8
= 0 ;
11370 PyObject
* obj9
= 0 ;
11371 PyObject
* obj10
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 arg3
= (int)SWIG_As_int(obj2
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11387 arg4
= wxString_in_helper(obj3
);
11388 if (arg4
== NULL
) SWIG_fail
;
11395 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11401 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11405 arg7
= (long)SWIG_As_long(obj6
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 arg8
= (int)SWIG_As_int(obj7
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 arg9
= (int)SWIG_As_int(obj8
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 arg10
= (int)SWIG_As_int(obj9
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11422 arg11
= wxString_in_helper(obj10
);
11423 if (arg11
== NULL
) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 char *kwnames
[] = {
11465 (char *) "self", NULL
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_int((int)result
);
11485 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "value", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11498 arg2
= (int)SWIG_As_int(obj1
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->SetValue(arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11514 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
;
11516 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11517 wxString
*arg2
= 0 ;
11518 bool temp2
= false ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "text", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 arg2
= wxString_in_helper(obj1
);
11530 if (arg2
== NULL
) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 (arg1
)->SetValue((wxString
const &)*arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11570 arg2
= (int)SWIG_As_int(obj1
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11572 arg3
= (int)SWIG_As_int(obj2
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 (arg1
)->SetRange(arg2
,arg3
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) SWIG_fail
;
11581 Py_INCREF(Py_None
); resultobj
= Py_None
;
11588 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11592 PyObject
* obj0
= 0 ;
11593 char *kwnames
[] = {
11594 (char *) "self", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_From_int((int)result
);
11614 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_From_int((int)result
);
11640 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self",(char *) "from",(char *) "to", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11655 arg2
= (long)SWIG_As_long(obj1
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11657 arg3
= (long)SWIG_As_long(obj2
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 (arg1
)->SetSelection(arg2
,arg3
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11676 wxVisualAttributes result
;
11677 PyObject
* obj0
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "variant", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11684 arg1
= (int)SWIG_As_int(obj0
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 if (!wxPyCheckForApp()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11696 wxVisualAttributes
* resultptr
;
11697 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11706 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11709 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11711 return Py_BuildValue((char *)"");
11713 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11716 int arg2
= (int) 0 ;
11717 wxSpinEvent
*result
;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "commandType",(char *) "winid", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11726 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11730 arg2
= (int)SWIG_As_int(obj1
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11747 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11766 resultobj
= SWIG_From_int((int)result
);
11773 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "self",(char *) "pos", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11786 arg2
= (int)SWIG_As_int(obj1
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 (arg1
)->SetPosition(arg2
);
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11795 Py_INCREF(Py_None
); resultobj
= Py_None
;
11802 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11805 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11807 return Py_BuildValue((char *)"");
11809 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11810 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11815 static PyObject
*_wrap_RadioBoxNameStr_get() {
11820 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11822 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11829 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11830 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11835 static PyObject
*_wrap_RadioButtonNameStr_get() {
11840 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11842 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11849 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxWindow
*arg1
= (wxWindow
*) 0 ;
11852 int arg2
= (int) -1 ;
11853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11859 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11860 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11861 int arg7
= (int) 0 ;
11862 long arg8
= (long) wxRA_HORIZONTAL
;
11863 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11864 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11865 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11866 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11867 wxRadioBox
*result
;
11868 bool temp3
= false ;
11871 bool temp6
= false ;
11872 bool temp10
= false ;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 PyObject
* obj2
= 0 ;
11876 PyObject
* obj3
= 0 ;
11877 PyObject
* obj4
= 0 ;
11878 PyObject
* obj5
= 0 ;
11879 PyObject
* obj6
= 0 ;
11880 PyObject
* obj7
= 0 ;
11881 PyObject
* obj8
= 0 ;
11882 PyObject
* obj9
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11891 arg2
= (int)SWIG_As_int(obj1
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11896 arg3
= wxString_in_helper(obj2
);
11897 if (arg3
== NULL
) SWIG_fail
;
11904 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11910 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11915 if (! PySequence_Check(obj5
)) {
11916 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11919 arg6
= new wxArrayString
;
11921 int i
, len
=PySequence_Length(obj5
);
11922 for (i
=0; i
<len
; i
++) {
11923 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11925 PyObject
* str
= PyObject_Unicode(item
);
11927 PyObject
* str
= PyObject_Str(item
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11930 arg6
->Add(Py2wxString(str
));
11937 arg7
= (int)SWIG_As_int(obj6
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 arg8
= (long)SWIG_As_long(obj7
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11945 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11948 if (arg9
== NULL
) {
11949 PyErr_SetString(PyExc_TypeError
,"null reference");
11955 arg10
= wxString_in_helper(obj9
);
11956 if (arg10
== NULL
) SWIG_fail
;
11961 if (!wxPyCheckForApp()) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 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
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11974 if (temp6
) delete arg6
;
11987 if (temp6
) delete arg6
;
11997 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxRadioBox
*result
;
12000 char *kwnames
[] = {
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12006 if (!wxPyCheckForApp()) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxRadioBox
*)new wxRadioBox();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12020 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12023 wxWindow
*arg2
= (wxWindow
*) 0 ;
12024 int arg3
= (int) -1 ;
12025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12027 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12028 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12029 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12030 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12031 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12032 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12033 int arg8
= (int) 0 ;
12034 long arg9
= (long) wxRA_HORIZONTAL
;
12035 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12036 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12037 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12038 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12040 bool temp4
= false ;
12043 bool temp7
= false ;
12044 bool temp11
= false ;
12045 PyObject
* obj0
= 0 ;
12046 PyObject
* obj1
= 0 ;
12047 PyObject
* obj2
= 0 ;
12048 PyObject
* obj3
= 0 ;
12049 PyObject
* obj4
= 0 ;
12050 PyObject
* obj5
= 0 ;
12051 PyObject
* obj6
= 0 ;
12052 PyObject
* obj7
= 0 ;
12053 PyObject
* obj8
= 0 ;
12054 PyObject
* obj9
= 0 ;
12055 PyObject
* obj10
= 0 ;
12056 char *kwnames
[] = {
12057 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 arg3
= (int)SWIG_As_int(obj2
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12071 arg4
= wxString_in_helper(obj3
);
12072 if (arg4
== NULL
) SWIG_fail
;
12079 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12085 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12090 if (! PySequence_Check(obj6
)) {
12091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12094 arg7
= new wxArrayString
;
12096 int i
, len
=PySequence_Length(obj6
);
12097 for (i
=0; i
<len
; i
++) {
12098 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12100 PyObject
* str
= PyObject_Unicode(item
);
12102 PyObject
* str
= PyObject_Str(item
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12105 arg7
->Add(Py2wxString(str
));
12112 arg8
= (int)SWIG_As_int(obj7
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12116 arg9
= (long)SWIG_As_long(obj8
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12123 if (arg10
== NULL
) {
12124 PyErr_SetString(PyExc_TypeError
,"null reference");
12130 arg11
= wxString_in_helper(obj10
);
12131 if (arg11
== NULL
) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 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
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 if (temp7
) delete arg7
;
12163 if (temp7
) delete arg7
;
12173 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "n", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 arg2
= (int)SWIG_As_int(obj1
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 (arg1
)->SetSelection(arg2
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_int((int)result
);
12228 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 char *kwnames
[] = {
12234 (char *) "self", NULL
12237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12260 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
;
12262 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12263 wxString
*arg2
= 0 ;
12265 bool temp2
= false ;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self",(char *) "s", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 arg2
= wxString_in_helper(obj1
);
12277 if (arg2
== NULL
) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12304 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_From_int((int)result
);
12330 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12333 wxString
*arg2
= 0 ;
12335 bool temp2
= false ;
12336 PyObject
* obj0
= 0 ;
12337 PyObject
* obj1
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self",(char *) "s", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12346 arg2
= wxString_in_helper(obj1
);
12347 if (arg2
== NULL
) SWIG_fail
;
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_From_int((int)result
);
12372 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12373 PyObject
*resultobj
;
12374 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self",(char *) "n", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12386 arg2
= (int)SWIG_As_int(obj1
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12408 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12412 wxString
*arg3
= 0 ;
12413 bool temp3
= false ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 PyObject
* obj2
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self",(char *) "n",(char *) "label", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 arg2
= (int)SWIG_As_int(obj1
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 arg3
= wxString_in_helper(obj2
);
12428 if (arg3
== NULL
) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 Py_INCREF(Py_None
); resultobj
= Py_None
;
12453 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12457 bool arg3
= (bool) true ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self",(char *) "n",(char *) "enable", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 arg2
= (int)SWIG_As_int(obj1
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 arg3
= (bool)SWIG_As_bool(obj2
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 (arg1
)->Enable(arg2
,arg3
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 Py_INCREF(Py_None
); resultobj
= Py_None
;
12488 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12492 bool arg3
= (bool) true ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 PyObject
* obj2
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "n",(char *) "show", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 arg2
= (int)SWIG_As_int(obj1
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 arg3
= (bool)SWIG_As_bool(obj2
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->Show(arg2
,arg3
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_From_int((int)result
);
12549 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_From_int((int)result
);
12575 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 PyObject
* obj2
= 0 ;
12585 PyObject
* obj3
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 arg2
= (int)SWIG_As_int(obj1
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12595 arg3
= (int)SWIG_As_int(obj2
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12597 arg4
= (long)SWIG_As_long(obj3
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_From_int((int)result
);
12613 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12616 wxVisualAttributes result
;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "variant", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12624 arg1
= (int)SWIG_As_int(obj0
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 if (!wxPyCheckForApp()) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 wxVisualAttributes
* resultptr
;
12637 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12646 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12649 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12651 return Py_BuildValue((char *)"");
12653 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxWindow
*arg1
= (wxWindow
*) 0 ;
12656 int arg2
= (int) -1 ;
12657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12663 long arg6
= (long) 0 ;
12664 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12665 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12666 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12667 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12668 wxRadioButton
*result
;
12669 bool temp3
= false ;
12672 bool temp8
= false ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 PyObject
* obj2
= 0 ;
12676 PyObject
* obj3
= 0 ;
12677 PyObject
* obj4
= 0 ;
12678 PyObject
* obj5
= 0 ;
12679 PyObject
* obj6
= 0 ;
12680 PyObject
* obj7
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12689 arg2
= (int)SWIG_As_int(obj1
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12694 arg3
= wxString_in_helper(obj2
);
12695 if (arg3
== NULL
) SWIG_fail
;
12702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12712 arg6
= (long)SWIG_As_long(obj5
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12716 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12719 if (arg7
== NULL
) {
12720 PyErr_SetString(PyExc_TypeError
,"null reference");
12726 arg8
= wxString_in_helper(obj7
);
12727 if (arg8
== NULL
) SWIG_fail
;
12732 if (!wxPyCheckForApp()) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12762 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
;
12764 wxRadioButton
*result
;
12765 char *kwnames
[] = {
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12771 if (!wxPyCheckForApp()) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (wxRadioButton
*)new wxRadioButton();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12785 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12788 wxWindow
*arg2
= (wxWindow
*) 0 ;
12789 int arg3
= (int) -1 ;
12790 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12791 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12792 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12793 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12794 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12795 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12796 long arg7
= (long) 0 ;
12797 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12798 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12799 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12800 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12802 bool temp4
= false ;
12805 bool temp9
= false ;
12806 PyObject
* obj0
= 0 ;
12807 PyObject
* obj1
= 0 ;
12808 PyObject
* obj2
= 0 ;
12809 PyObject
* obj3
= 0 ;
12810 PyObject
* obj4
= 0 ;
12811 PyObject
* obj5
= 0 ;
12812 PyObject
* obj6
= 0 ;
12813 PyObject
* obj7
= 0 ;
12814 PyObject
* obj8
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 arg3
= (int)SWIG_As_int(obj2
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12830 arg4
= wxString_in_helper(obj3
);
12831 if (arg4
== NULL
) SWIG_fail
;
12838 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12844 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12848 arg7
= (long)SWIG_As_long(obj6
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12852 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12855 if (arg8
== NULL
) {
12856 PyErr_SetString(PyExc_TypeError
,"null reference");
12862 arg9
= wxString_in_helper(obj8
);
12863 if (arg9
== NULL
) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12899 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 char *kwnames
[] = {
12905 (char *) "self", NULL
12908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (bool)(arg1
)->GetValue();
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12927 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "value", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 arg2
= (bool)SWIG_As_bool(obj1
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 (arg1
)->SetValue(arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 Py_INCREF(Py_None
); resultobj
= Py_None
;
12956 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12959 wxVisualAttributes result
;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "variant", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12967 arg1
= (int)SWIG_As_int(obj0
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12971 if (!wxPyCheckForApp()) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 wxVisualAttributes
* resultptr
;
12980 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12989 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12992 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12994 return Py_BuildValue((char *)"");
12996 static int _wrap_SliderNameStr_set(PyObject
*) {
12997 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
13002 static PyObject
*_wrap_SliderNameStr_get() {
13007 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13009 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13016 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxWindow
*arg1
= (wxWindow
*) 0 ;
13019 int arg2
= (int) -1 ;
13020 int arg3
= (int) 0 ;
13021 int arg4
= (int) 0 ;
13022 int arg5
= (int) 100 ;
13023 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13024 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13025 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13026 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13027 long arg8
= (long) wxSL_HORIZONTAL
;
13028 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13029 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13030 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13031 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13035 bool temp10
= false ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 PyObject
* obj2
= 0 ;
13039 PyObject
* obj3
= 0 ;
13040 PyObject
* obj4
= 0 ;
13041 PyObject
* obj5
= 0 ;
13042 PyObject
* obj6
= 0 ;
13043 PyObject
* obj7
= 0 ;
13044 PyObject
* obj8
= 0 ;
13045 PyObject
* obj9
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 arg2
= (int)SWIG_As_int(obj1
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 arg3
= (int)SWIG_As_int(obj2
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 arg4
= (int)SWIG_As_int(obj3
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 arg5
= (int)SWIG_As_int(obj4
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13072 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13078 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13082 arg8
= (long)SWIG_As_long(obj7
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13086 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13089 if (arg9
== NULL
) {
13090 PyErr_SetString(PyExc_TypeError
,"null reference");
13096 arg10
= wxString_in_helper(obj9
);
13097 if (arg10
== NULL
) SWIG_fail
;
13102 if (!wxPyCheckForApp()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13124 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13127 char *kwnames
[] = {
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13133 if (!wxPyCheckForApp()) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 result
= (wxSlider
*)new wxSlider();
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13147 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxSlider
*arg1
= (wxSlider
*) 0 ;
13150 wxWindow
*arg2
= (wxWindow
*) 0 ;
13151 int arg3
= (int) -1 ;
13152 int arg4
= (int) 0 ;
13153 int arg5
= (int) 0 ;
13154 int arg6
= (int) 100 ;
13155 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13156 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13157 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13158 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13159 long arg9
= (long) wxSL_HORIZONTAL
;
13160 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13161 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13162 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13163 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13167 bool temp11
= false ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 PyObject
* obj2
= 0 ;
13171 PyObject
* obj3
= 0 ;
13172 PyObject
* obj4
= 0 ;
13173 PyObject
* obj5
= 0 ;
13174 PyObject
* obj6
= 0 ;
13175 PyObject
* obj7
= 0 ;
13176 PyObject
* obj8
= 0 ;
13177 PyObject
* obj9
= 0 ;
13178 PyObject
* obj10
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 arg3
= (int)SWIG_As_int(obj2
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 arg4
= (int)SWIG_As_int(obj3
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 arg5
= (int)SWIG_As_int(obj4
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg6
= (int)SWIG_As_int(obj5
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13207 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13213 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13217 arg9
= (long)SWIG_As_long(obj8
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13224 if (arg10
== NULL
) {
13225 PyErr_SetString(PyExc_TypeError
,"null reference");
13231 arg11
= wxString_in_helper(obj10
);
13232 if (arg11
== NULL
) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13260 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxSlider
*arg1
= (wxSlider
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)result
);
13286 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxSlider
*arg1
= (wxSlider
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self",(char *) "value", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 arg2
= (int)SWIG_As_int(obj1
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 (arg1
)->SetValue(arg2
);
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 Py_INCREF(Py_None
); resultobj
= Py_None
;
13315 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxSlider
*arg1
= (wxSlider
*) 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 arg2
= (int)SWIG_As_int(obj1
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13332 arg3
= (int)SWIG_As_int(obj2
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 (arg1
)->SetRange(arg2
,arg3
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 Py_INCREF(Py_None
); resultobj
= Py_None
;
13348 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxSlider
*arg1
= (wxSlider
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_int((int)result
);
13374 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxSlider
*arg1
= (wxSlider
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_From_int((int)result
);
13400 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxSlider
*arg1
= (wxSlider
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self",(char *) "minValue", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 arg2
= (int)SWIG_As_int(obj1
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->SetMin(arg2
);
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 Py_INCREF(Py_None
); resultobj
= Py_None
;
13429 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxSlider
*arg1
= (wxSlider
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self",(char *) "maxValue", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 arg2
= (int)SWIG_As_int(obj1
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 (arg1
)->SetMax(arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 Py_INCREF(Py_None
); resultobj
= Py_None
;
13458 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
;
13460 wxSlider
*arg1
= (wxSlider
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "lineSize", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 arg2
= (int)SWIG_As_int(obj1
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->SetLineSize(arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 Py_INCREF(Py_None
); resultobj
= Py_None
;
13487 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxSlider
*arg1
= (wxSlider
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "pageSize", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 arg2
= (int)SWIG_As_int(obj1
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 (arg1
)->SetPageSize(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13509 Py_INCREF(Py_None
); resultobj
= Py_None
;
13516 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxSlider
*arg1
= (wxSlider
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_From_int((int)result
);
13542 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxSlider
*arg1
= (wxSlider
*) 0 ;
13546 PyObject
* obj0
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_From_int((int)result
);
13568 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxSlider
*arg1
= (wxSlider
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self",(char *) "lenPixels", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13581 arg2
= (int)SWIG_As_int(obj1
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 (arg1
)->SetThumbLength(arg2
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13597 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxSlider
*arg1
= (wxSlider
*) 0 ;
13601 PyObject
* obj0
= 0 ;
13602 char *kwnames
[] = {
13603 (char *) "self", NULL
13606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_int((int)result
);
13623 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxSlider
*arg1
= (wxSlider
*) 0 ;
13627 int arg3
= (int) 1 ;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 PyObject
* obj2
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self",(char *) "n",(char *) "pos", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 arg2
= (int)SWIG_As_int(obj1
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 arg3
= (int)SWIG_As_int(obj2
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 (arg1
)->SetTickFreq(arg2
,arg3
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 Py_INCREF(Py_None
); resultobj
= Py_None
;
13658 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxSlider
*arg1
= (wxSlider
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_From_int((int)result
);
13684 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxSlider
*arg1
= (wxSlider
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 (arg1
)->ClearTicks();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 Py_INCREF(Py_None
); resultobj
= Py_None
;
13709 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxSlider
*arg1
= (wxSlider
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char *kwnames
[] = {
13716 (char *) "self",(char *) "tickPos", NULL
13719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 arg2
= (int)SWIG_As_int(obj1
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 (arg1
)->SetTick(arg2
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 Py_INCREF(Py_None
); resultobj
= Py_None
;
13738 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxSlider
*arg1
= (wxSlider
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->ClearSel();
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13763 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
;
13765 wxSlider
*arg1
= (wxSlider
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_From_int((int)result
);
13789 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxSlider
*arg1
= (wxSlider
*) 0 ;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_From_int((int)result
);
13815 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxSlider
*arg1
= (wxSlider
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 PyObject
* obj2
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self",(char *) "min",(char *) "max", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 arg2
= (int)SWIG_As_int(obj1
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13832 arg3
= (int)SWIG_As_int(obj2
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 (arg1
)->SetSelection(arg2
,arg3
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 Py_INCREF(Py_None
); resultobj
= Py_None
;
13848 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
;
13850 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13851 wxVisualAttributes result
;
13852 PyObject
* obj0
= 0 ;
13853 char *kwnames
[] = {
13854 (char *) "variant", NULL
13857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13859 arg1
= (int)SWIG_As_int(obj0
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13863 if (!wxPyCheckForApp()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 wxVisualAttributes
* resultptr
;
13872 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13881 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13886 return Py_BuildValue((char *)"");
13888 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13889 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13894 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13899 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13901 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13908 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxWindow
*arg1
= (wxWindow
*) 0 ;
13911 int arg2
= (int) -1 ;
13912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13918 long arg6
= (long) 0 ;
13919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13921 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13923 wxToggleButton
*result
;
13924 bool temp3
= false ;
13927 bool temp8
= false ;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 PyObject
* obj2
= 0 ;
13931 PyObject
* obj3
= 0 ;
13932 PyObject
* obj4
= 0 ;
13933 PyObject
* obj5
= 0 ;
13934 PyObject
* obj6
= 0 ;
13935 PyObject
* obj7
= 0 ;
13936 char *kwnames
[] = {
13937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13944 arg2
= (int)SWIG_As_int(obj1
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13949 arg3
= wxString_in_helper(obj2
);
13950 if (arg3
== NULL
) SWIG_fail
;
13957 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13963 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13967 arg6
= (long)SWIG_As_long(obj5
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13971 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13974 if (arg7
== NULL
) {
13975 PyErr_SetString(PyExc_TypeError
,"null reference");
13981 arg8
= wxString_in_helper(obj7
);
13982 if (arg8
== NULL
) SWIG_fail
;
13987 if (!wxPyCheckForApp()) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14017 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxToggleButton
*result
;
14020 char *kwnames
[] = {
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14026 if (!wxPyCheckForApp()) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (wxToggleButton
*)new wxToggleButton();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14040 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14043 wxWindow
*arg2
= (wxWindow
*) 0 ;
14044 int arg3
= (int) -1 ;
14045 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14047 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14048 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14049 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14050 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14051 long arg7
= (long) 0 ;
14052 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14053 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14054 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14057 bool temp4
= false ;
14060 bool temp9
= false ;
14061 PyObject
* obj0
= 0 ;
14062 PyObject
* obj1
= 0 ;
14063 PyObject
* obj2
= 0 ;
14064 PyObject
* obj3
= 0 ;
14065 PyObject
* obj4
= 0 ;
14066 PyObject
* obj5
= 0 ;
14067 PyObject
* obj6
= 0 ;
14068 PyObject
* obj7
= 0 ;
14069 PyObject
* obj8
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14080 arg3
= (int)SWIG_As_int(obj2
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14085 arg4
= wxString_in_helper(obj3
);
14086 if (arg4
== NULL
) SWIG_fail
;
14093 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14099 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14103 arg7
= (long)SWIG_As_long(obj6
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14107 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14110 if (arg8
== NULL
) {
14111 PyErr_SetString(PyExc_TypeError
,"null reference");
14117 arg9
= wxString_in_helper(obj8
);
14118 if (arg9
== NULL
) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14154 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
;
14156 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "value", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= (bool)SWIG_As_bool(obj1
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->SetValue(arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 Py_INCREF(Py_None
); resultobj
= Py_None
;
14183 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14211 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14214 wxString
*arg2
= 0 ;
14215 bool temp2
= false ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "label", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 arg2
= wxString_in_helper(obj1
);
14227 if (arg2
== NULL
) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->SetLabel((wxString
const &)*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14255 wxVisualAttributes result
;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "variant", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14263 arg1
= (int)SWIG_As_int(obj0
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 if (!wxPyCheckForApp()) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 wxVisualAttributes
* resultptr
;
14276 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14285 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14288 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14290 return Py_BuildValue((char *)"");
14292 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14293 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14298 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14303 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14305 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14312 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14338 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self",(char *) "n", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14352 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= wxPyMake_wxObject(result
, 0);
14370 static PyObject
*_wrap_BookCtrl_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 result
= (wxWindow
*)((wxBookCtrl
const *)arg1
)->GetCurrentPage();
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= wxPyMake_wxObject(result
, 0);
14398 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
;
14400 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_From_int((int)result
);
14424 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14428 wxString
*arg3
= 0 ;
14430 bool temp3
= false ;
14431 PyObject
* obj0
= 0 ;
14432 PyObject
* obj1
= 0 ;
14433 PyObject
* obj2
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self",(char *) "n",(char *) "strText", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14441 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 arg3
= wxString_in_helper(obj2
);
14445 if (arg3
== NULL
) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14472 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "n", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14508 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14511 wxImageList
*arg2
= (wxImageList
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "imageList", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 (arg1
)->SetImageList(arg2
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 Py_INCREF(Py_None
); resultobj
= Py_None
;
14537 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14540 wxImageList
*arg2
= (wxImageList
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "imageList", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14551 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 (arg1
)->AssignImageList(arg2
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14566 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14569 wxImageList
*result
;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= wxPyMake_wxObject(result
, 0);
14594 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self",(char *) "n", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= SWIG_From_int((int)result
);
14624 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 PyObject
* obj2
= 0 ;
14633 char *kwnames
[] = {
14634 (char *) "self",(char *) "n",(char *) "imageId", NULL
14637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14642 arg3
= (int)SWIG_As_int(obj2
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14660 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 PyObject
* obj1
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self",(char *) "size", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self",(char *) "sizePage", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 wxSize
* resultptr
;
14720 resultptr
= new wxSize((wxSize
&) result
);
14721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14729 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self",(char *) "n", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (bool)(arg1
)->DeletePage(arg2
);
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14761 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
;
14763 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 PyObject
* obj1
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self",(char *) "n", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)(arg1
)->RemovePage(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (bool)(arg1
)->DeleteAllPages();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14821 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14824 wxWindow
*arg2
= (wxWindow
*) 0 ;
14825 wxString
*arg3
= 0 ;
14826 bool arg4
= (bool) false ;
14827 int arg5
= (int) -1 ;
14829 bool temp3
= false ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 PyObject
* obj4
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 arg3
= wxString_in_helper(obj2
);
14846 if (arg3
== NULL
) SWIG_fail
;
14850 arg4
= (bool)SWIG_As_bool(obj3
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 arg5
= (int)SWIG_As_int(obj4
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14881 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
;
14883 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14885 wxWindow
*arg3
= (wxWindow
*) 0 ;
14886 wxString
*arg4
= 0 ;
14887 bool arg5
= (bool) false ;
14888 int arg6
= (int) -1 ;
14890 bool temp4
= false ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 PyObject
* obj2
= 0 ;
14894 PyObject
* obj3
= 0 ;
14895 PyObject
* obj4
= 0 ;
14896 PyObject
* obj5
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14906 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14909 arg4
= wxString_in_helper(obj3
);
14910 if (arg4
== NULL
) SWIG_fail
;
14914 arg5
= (bool)SWIG_As_bool(obj4
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 arg6
= (int)SWIG_As_int(obj5
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "n", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (int)(arg1
)->SetSelection(arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_From_int((int)result
);
14975 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14978 bool arg2
= (bool) true ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "forward", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 arg2
= (bool)SWIG_As_bool(obj1
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->AdvanceSelection(arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 Py_INCREF(Py_None
); resultobj
= Py_None
;
15006 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15009 wxVisualAttributes result
;
15010 PyObject
* obj0
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "variant", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15017 arg1
= (int)SWIG_As_int(obj0
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 if (!wxPyCheckForApp()) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15029 wxVisualAttributes
* resultptr
;
15030 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15039 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
15041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15042 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
15044 return Py_BuildValue((char *)"");
15046 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15049 int arg2
= (int) 0 ;
15050 int arg3
= (int) -1 ;
15051 int arg4
= (int) -1 ;
15052 wxBookCtrlEvent
*result
;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 PyObject
* obj2
= 0 ;
15056 PyObject
* obj3
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15063 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 arg2
= (int)SWIG_As_int(obj1
);
15068 if (PyErr_Occurred()) SWIG_fail
;
15071 arg3
= (int)SWIG_As_int(obj2
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 arg4
= (int)SWIG_As_int(obj3
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15092 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
;
15094 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15096 PyObject
* obj0
= 0 ;
15097 char *kwnames
[] = {
15098 (char *) "self", NULL
15101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_From_int((int)result
);
15118 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "nSel", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15131 arg2
= (int)SWIG_As_int(obj1
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->SetSelection(arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_From_int((int)result
);
15173 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "nOldSel", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 arg2
= (int)SWIG_As_int(obj1
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 (arg1
)->SetOldSelection(arg2
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15205 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15207 return Py_BuildValue((char *)"");
15209 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
;
15211 wxWindow
*arg1
= (wxWindow
*) 0 ;
15212 int arg2
= (int) -1 ;
15213 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15214 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15215 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15216 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15217 long arg5
= (long) 0 ;
15218 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15219 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15220 wxNotebook
*result
;
15223 bool temp6
= false ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 PyObject
* obj2
= 0 ;
15227 PyObject
* obj3
= 0 ;
15228 PyObject
* obj4
= 0 ;
15229 PyObject
* obj5
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= (int)SWIG_As_int(obj1
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15250 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15254 arg5
= (long)SWIG_As_long(obj4
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15259 arg6
= wxString_in_helper(obj5
);
15260 if (arg6
== NULL
) SWIG_fail
;
15265 if (!wxPyCheckForApp()) SWIG_fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15287 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxNotebook
*result
;
15290 char *kwnames
[] = {
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15296 if (!wxPyCheckForApp()) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (wxNotebook
*)new wxNotebook();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15310 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15313 wxWindow
*arg2
= (wxWindow
*) 0 ;
15314 int arg3
= (int) -1 ;
15315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15319 long arg6
= (long) 0 ;
15320 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15321 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15325 bool temp7
= false ;
15326 PyObject
* obj0
= 0 ;
15327 PyObject
* obj1
= 0 ;
15328 PyObject
* obj2
= 0 ;
15329 PyObject
* obj3
= 0 ;
15330 PyObject
* obj4
= 0 ;
15331 PyObject
* obj5
= 0 ;
15332 PyObject
* obj6
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 arg3
= (int)SWIG_As_int(obj2
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15359 arg6
= (long)SWIG_As_long(obj5
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15364 arg7
= wxString_in_helper(obj6
);
15365 if (arg7
== NULL
) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15393 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_From_int((int)result
);
15419 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
;
15421 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self",(char *) "padding", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 Py_INCREF(Py_None
); resultobj
= Py_None
;
15451 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "sz", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15486 wxPoint
*arg2
= 0 ;
15487 long *arg3
= (long *) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 PyObject
* obj1
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "self",(char *) "pt", NULL
15498 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_From_int((int)result
);
15514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15515 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15522 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "sizePage", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 wxSize
* resultptr
;
15550 resultptr
= new wxSize((wxSize
&) result
);
15551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15559 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15562 wxVisualAttributes result
;
15563 PyObject
* obj0
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "variant", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15570 arg1
= (int)SWIG_As_int(obj0
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15574 if (!wxPyCheckForApp()) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 wxVisualAttributes
* resultptr
;
15583 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15592 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15595 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15597 return Py_BuildValue((char *)"");
15599 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15602 int arg2
= (int) 0 ;
15603 int arg3
= (int) -1 ;
15604 int arg4
= (int) -1 ;
15605 wxNotebookEvent
*result
;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 PyObject
* obj2
= 0 ;
15609 PyObject
* obj3
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15616 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 arg2
= (int)SWIG_As_int(obj1
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 arg3
= (int)SWIG_As_int(obj2
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15628 arg4
= (int)SWIG_As_int(obj3
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15645 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15648 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15650 return Py_BuildValue((char *)"");
15652 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxWindow
*arg1
= (wxWindow
*) 0 ;
15655 int arg2
= (int) -1 ;
15656 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15657 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15658 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15659 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15660 long arg5
= (long) 0 ;
15661 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15662 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15663 wxListbook
*result
;
15666 bool temp6
= false ;
15667 PyObject
* obj0
= 0 ;
15668 PyObject
* obj1
= 0 ;
15669 PyObject
* obj2
= 0 ;
15670 PyObject
* obj3
= 0 ;
15671 PyObject
* obj4
= 0 ;
15672 PyObject
* obj5
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 arg2
= (int)SWIG_As_int(obj1
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15697 arg5
= (long)SWIG_As_long(obj4
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15702 arg6
= wxString_in_helper(obj5
);
15703 if (arg6
== NULL
) SWIG_fail
;
15708 if (!wxPyCheckForApp()) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15730 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxListbook
*result
;
15733 char *kwnames
[] = {
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15739 if (!wxPyCheckForApp()) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (wxListbook
*)new wxListbook();
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15753 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxListbook
*arg1
= (wxListbook
*) 0 ;
15756 wxWindow
*arg2
= (wxWindow
*) 0 ;
15757 int arg3
= (int) -1 ;
15758 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15759 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15760 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15761 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15762 long arg6
= (long) 0 ;
15763 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15764 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15768 bool temp7
= false ;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 PyObject
* obj2
= 0 ;
15772 PyObject
* obj3
= 0 ;
15773 PyObject
* obj4
= 0 ;
15774 PyObject
* obj5
= 0 ;
15775 PyObject
* obj6
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 arg3
= (int)SWIG_As_int(obj2
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15792 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15798 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15802 arg6
= (long)SWIG_As_long(obj5
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15807 arg7
= wxString_in_helper(obj6
);
15808 if (arg7
== NULL
) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxListbook
*arg1
= (wxListbook
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15864 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxListbook
*arg1
= (wxListbook
*) 0 ;
15867 wxListView
*result
;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (wxListView
*)(arg1
)->GetListView();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15890 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15893 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15895 return Py_BuildValue((char *)"");
15897 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15898 PyObject
*resultobj
;
15899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15900 int arg2
= (int) 0 ;
15901 int arg3
= (int) -1 ;
15902 int arg4
= (int) -1 ;
15903 wxListbookEvent
*result
;
15904 PyObject
* obj0
= 0 ;
15905 PyObject
* obj1
= 0 ;
15906 PyObject
* obj2
= 0 ;
15907 PyObject
* obj3
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15914 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 arg2
= (int)SWIG_As_int(obj1
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15922 arg3
= (int)SWIG_As_int(obj2
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 arg4
= (int)SWIG_As_int(obj3
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15943 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15946 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15948 return Py_BuildValue((char *)"");
15950 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
;
15952 wxWindow
*arg1
= (wxWindow
*) 0 ;
15954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15958 long arg5
= (long) 0 ;
15959 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15960 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15961 wxChoicebook
*result
;
15964 bool temp6
= false ;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 PyObject
* obj2
= 0 ;
15968 PyObject
* obj3
= 0 ;
15969 PyObject
* obj4
= 0 ;
15970 PyObject
* obj5
= 0 ;
15971 char *kwnames
[] = {
15972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15978 arg2
= (int)SWIG_As_int(obj1
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15993 arg5
= (long)SWIG_As_long(obj4
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15998 arg6
= wxString_in_helper(obj5
);
15999 if (arg6
== NULL
) SWIG_fail
;
16004 if (!wxPyCheckForApp()) SWIG_fail
;
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16026 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxChoicebook
*result
;
16029 char *kwnames
[] = {
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
16035 if (!wxPyCheckForApp()) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (wxChoicebook
*)new wxChoicebook();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16049 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16052 wxWindow
*arg2
= (wxWindow
*) 0 ;
16054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16058 long arg6
= (long) 0 ;
16059 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16064 bool temp7
= false ;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 PyObject
* obj3
= 0 ;
16069 PyObject
* obj4
= 0 ;
16070 PyObject
* obj5
= 0 ;
16071 PyObject
* obj6
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 arg3
= (int)SWIG_As_int(obj2
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16086 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16092 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16096 arg6
= (long)SWIG_As_long(obj5
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16101 arg7
= wxString_in_helper(obj6
);
16102 if (arg7
== NULL
) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16130 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "self", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16158 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16162 PyObject
* obj0
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (bool)(arg1
)->DeleteAllPages();
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16186 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16189 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16191 return Py_BuildValue((char *)"");
16193 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16196 int arg2
= (int) 0 ;
16197 int arg3
= (int) -1 ;
16198 int arg4
= (int) -1 ;
16199 wxChoicebookEvent
*result
;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 PyObject
* obj2
= 0 ;
16203 PyObject
* obj3
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16210 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 arg2
= (int)SWIG_As_int(obj1
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 arg3
= (int)SWIG_As_int(obj2
);
16219 if (PyErr_Occurred()) SWIG_fail
;
16222 arg4
= (int)SWIG_As_int(obj3
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16239 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16242 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16244 return Py_BuildValue((char *)"");
16246 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
16249 wxBookCtrlSizer
*result
;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "nb", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16272 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 (arg1
)->RecalcSizes();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16290 Py_INCREF(Py_None
); resultobj
= Py_None
;
16297 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
;
16299 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (arg1
)->CalcMin();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16317 wxSize
* resultptr
;
16318 resultptr
= new wxSize((wxSize
&) result
);
16319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16327 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16330 wxBookCtrl
*result
;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16353 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16356 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16358 return Py_BuildValue((char *)"");
16360 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16363 wxNotebookSizer
*result
;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "nb", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16386 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 (arg1
)->RecalcSizes();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 Py_INCREF(Py_None
); resultobj
= Py_None
;
16411 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (arg1
)->CalcMin();
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 wxSize
* resultptr
;
16432 resultptr
= new wxSize((wxSize
&) result
);
16433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16441 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16442 PyObject
*resultobj
;
16443 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16444 wxNotebook
*result
;
16445 PyObject
* obj0
= 0 ;
16446 char *kwnames
[] = {
16447 (char *) "self", NULL
16450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= wxPyMake_wxObject(result
, 0);
16469 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16472 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16474 return Py_BuildValue((char *)"");
16476 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char *kwnames
[] = {
16482 (char *) "self", NULL
16485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16490 result
= (int)(arg1
)->GetId();
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= SWIG_From_int((int)result
);
16502 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16506 PyObject
* obj0
= 0 ;
16507 char *kwnames
[] = {
16508 (char *) "self", NULL
16511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (wxControl
*)(arg1
)->GetControl();
16518 wxPyEndAllowThreads(__tstate
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= wxPyMake_wxObject(result
, 0);
16530 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16532 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16533 wxToolBarBase
*result
;
16534 PyObject
* obj0
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= wxPyMake_wxObject(result
, 0);
16558 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (int)(arg1
)->IsButton();
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_From_int((int)result
);
16584 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)(arg1
)->IsControl();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_From_int((int)result
);
16610 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (int)(arg1
)->IsSeparator();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_From_int((int)result
);
16636 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16640 PyObject
* obj0
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (int)(arg1
)->GetStyle();
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_From_int((int)result
);
16662 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (int)(arg1
)->GetKind();
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= SWIG_From_int((int)result
);
16688 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)(arg1
)->IsEnabled();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16716 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (bool)(arg1
)->IsToggled();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16744 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= (bool)(arg1
)->CanBeToggled();
16760 wxPyEndAllowThreads(__tstate
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16772 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16773 PyObject
*resultobj
;
16774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16788 result
= (wxBitmap
*) &_result_ref
;
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16795 wxBitmap
* resultptr
= new wxBitmap(*result
);
16796 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16804 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16820 result
= (wxBitmap
*) &_result_ref
;
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 wxBitmap
* resultptr
= new wxBitmap(*result
);
16828 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16836 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (arg1
)->GetBitmap();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 wxBitmap
* resultptr
;
16857 resultptr
= new wxBitmap((wxBitmap
&) result
);
16858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16866 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16870 PyObject
* obj0
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (arg1
)->GetLabel();
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16898 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (arg1
)->GetShortHelp();
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16930 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (arg1
)->GetLongHelp();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16962 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self",(char *) "enable", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 arg2
= (bool)SWIG_As_bool(obj1
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (bool)(arg1
)->Enable(arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16994 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
;
16996 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 Py_INCREF(Py_None
); resultobj
= Py_None
;
17019 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17021 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self",(char *) "toggle", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 arg2
= (bool)SWIG_As_bool(obj1
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)(arg1
)->SetToggle(arg2
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17054 wxString
*arg2
= 0 ;
17056 bool temp2
= false ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "help", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17067 arg2
= wxString_in_helper(obj1
);
17068 if (arg2
== NULL
) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17095 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17098 wxString
*arg2
= 0 ;
17100 bool temp2
= false ;
17101 PyObject
* obj0
= 0 ;
17102 PyObject
* obj1
= 0 ;
17103 char *kwnames
[] = {
17104 (char *) "self",(char *) "help", NULL
17107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17111 arg2
= wxString_in_helper(obj1
);
17112 if (arg2
== NULL
) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17142 wxBitmap
*arg2
= 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "bmp", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17155 if (arg2
== NULL
) {
17156 PyErr_SetString(PyExc_TypeError
,"null reference");
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 Py_INCREF(Py_None
); resultobj
= Py_None
;
17173 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17176 wxBitmap
*arg2
= 0 ;
17177 PyObject
* obj0
= 0 ;
17178 PyObject
* obj1
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "bmp", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17189 if (arg2
== NULL
) {
17190 PyErr_SetString(PyExc_TypeError
,"null reference");
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17200 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17210 wxString
*arg2
= 0 ;
17211 bool temp2
= false ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self",(char *) "label", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 arg2
= wxString_in_helper(obj1
);
17223 if (arg2
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 (arg1
)->SetLabel((wxString
const &)*arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 Py_INCREF(Py_None
); resultobj
= Py_None
;
17248 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17251 PyObject
* obj0
= 0 ;
17252 char *kwnames
[] = {
17253 (char *) "self", NULL
17256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 Py_INCREF(Py_None
); resultobj
= Py_None
;
17273 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17276 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "tbar", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 (arg1
)->Attach(arg2
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 Py_INCREF(Py_None
); resultobj
= Py_None
;
17302 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
;
17304 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= result
;
17328 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17331 PyObject
*arg2
= (PyObject
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "clientData", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 Py_INCREF(Py_None
); resultobj
= Py_None
;
17356 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17359 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17361 return Py_BuildValue((char *)"");
17363 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17367 wxString
*arg3
= 0 ;
17368 wxBitmap
*arg4
= 0 ;
17369 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17370 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17371 int arg6
= (int) wxITEM_NORMAL
;
17372 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17374 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17375 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17376 PyObject
*arg9
= (PyObject
*) NULL
;
17377 wxToolBarToolBase
*result
;
17378 bool temp3
= false ;
17379 bool temp7
= false ;
17380 bool temp8
= false ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 PyObject
* obj3
= 0 ;
17385 PyObject
* obj4
= 0 ;
17386 PyObject
* obj5
= 0 ;
17387 PyObject
* obj6
= 0 ;
17388 PyObject
* obj7
= 0 ;
17389 PyObject
* obj8
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 arg2
= (int)SWIG_As_int(obj1
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 arg3
= wxString_in_helper(obj2
);
17401 if (arg3
== NULL
) SWIG_fail
;
17404 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17407 if (arg4
== NULL
) {
17408 PyErr_SetString(PyExc_TypeError
,"null reference");
17412 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17415 if (arg5
== NULL
) {
17416 PyErr_SetString(PyExc_TypeError
,"null reference");
17421 arg6
= (int)SWIG_As_int(obj5
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17426 arg7
= wxString_in_helper(obj6
);
17427 if (arg7
== NULL
) SWIG_fail
;
17433 arg8
= wxString_in_helper(obj7
);
17434 if (arg8
== NULL
) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= wxPyMake_wxObject(result
, 0);
17481 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17486 wxString
*arg4
= 0 ;
17487 wxBitmap
*arg5
= 0 ;
17488 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17489 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17490 int arg7
= (int) wxITEM_NORMAL
;
17491 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17492 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17493 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17494 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17495 PyObject
*arg10
= (PyObject
*) NULL
;
17496 wxToolBarToolBase
*result
;
17497 bool temp4
= false ;
17498 bool temp8
= false ;
17499 bool temp9
= false ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 PyObject
* obj3
= 0 ;
17504 PyObject
* obj4
= 0 ;
17505 PyObject
* obj5
= 0 ;
17506 PyObject
* obj6
= 0 ;
17507 PyObject
* obj7
= 0 ;
17508 PyObject
* obj8
= 0 ;
17509 PyObject
* obj9
= 0 ;
17510 char *kwnames
[] = {
17511 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17517 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17519 arg3
= (int)SWIG_As_int(obj2
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 arg4
= wxString_in_helper(obj3
);
17523 if (arg4
== NULL
) SWIG_fail
;
17526 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17529 if (arg5
== NULL
) {
17530 PyErr_SetString(PyExc_TypeError
,"null reference");
17534 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17537 if (arg6
== NULL
) {
17538 PyErr_SetString(PyExc_TypeError
,"null reference");
17543 arg7
= (int)SWIG_As_int(obj6
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17548 arg8
= wxString_in_helper(obj7
);
17549 if (arg8
== NULL
) SWIG_fail
;
17555 arg9
= wxString_in_helper(obj8
);
17556 if (arg9
== NULL
) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 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
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 resultobj
= wxPyMake_wxObject(result
, 0);
17603 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17606 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17607 wxToolBarToolBase
*result
;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "tool", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= wxPyMake_wxObject(result
, 0);
17635 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17639 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17640 wxToolBarToolBase
*result
;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 PyObject
* obj2
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "pos",(char *) "tool", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17651 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17653 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= wxPyMake_wxObject(result
, 0);
17671 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17674 wxControl
*arg2
= (wxControl
*) 0 ;
17675 wxToolBarToolBase
*result
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 char *kwnames
[] = {
17679 (char *) "self",(char *) "control", NULL
17682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= wxPyMake_wxObject(result
, 0);
17703 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17707 wxControl
*arg3
= (wxControl
*) 0 ;
17708 wxToolBarToolBase
*result
;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "pos",(char *) "control", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17719 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= wxPyMake_wxObject(result
, 0);
17739 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17744 PyObject
* obj0
= 0 ;
17745 PyObject
* obj1
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self",(char *) "id", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17753 arg2
= (int)SWIG_As_int(obj1
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= wxPyMake_wxObject(result
, 0);
17771 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17774 wxToolBarToolBase
*result
;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= wxPyMake_wxObject(result
, 0);
17799 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17803 wxToolBarToolBase
*result
;
17804 PyObject
* obj0
= 0 ;
17805 PyObject
* obj1
= 0 ;
17806 char *kwnames
[] = {
17807 (char *) "self",(char *) "pos", NULL
17810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= wxPyMake_wxObject(result
, 0);
17831 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17832 PyObject
*resultobj
;
17833 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17835 wxToolBarToolBase
*result
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "id", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (int)SWIG_As_int(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= wxPyMake_wxObject(result
, 0);
17863 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "pos", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17895 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self",(char *) "id", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 arg2
= (int)SWIG_As_int(obj1
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (bool)(arg1
)->DeleteTool(arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17927 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->ClearTools();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (bool)(arg1
)->Realize();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17980 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 PyObject
* obj2
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "id",(char *) "enable", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 arg2
= (int)SWIG_As_int(obj1
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17997 arg3
= (bool)SWIG_As_bool(obj2
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 (arg1
)->EnableTool(arg2
,arg3
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 Py_INCREF(Py_None
); resultobj
= Py_None
;
18013 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 PyObject
* obj2
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "id",(char *) "toggle", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= (int)SWIG_As_int(obj1
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18030 arg3
= (bool)SWIG_As_bool(obj2
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->ToggleTool(arg2
,arg3
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 PyObject
* obj2
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "id",(char *) "toggle", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (int)SWIG_As_int(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18063 arg3
= (bool)SWIG_As_bool(obj2
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->SetToggle(arg2
,arg3
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 Py_INCREF(Py_None
); resultobj
= Py_None
;
18079 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "id", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 arg2
= (int)SWIG_As_int(obj1
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= result
;
18109 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18113 PyObject
*arg3
= (PyObject
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 PyObject
* obj1
= 0 ;
18116 PyObject
* obj2
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "id",(char *) "clientData", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 arg2
= (int)SWIG_As_int(obj1
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 Py_INCREF(Py_None
); resultobj
= Py_None
;
18141 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self",(char *) "id", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18155 arg2
= (int)SWIG_As_int(obj1
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_From_int((int)result
);
18171 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "id", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18185 arg2
= (int)SWIG_As_int(obj1
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (bool)(arg1
)->GetToolState(arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18203 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self",(char *) "id", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18217 arg2
= (int)SWIG_As_int(obj1
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18235 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18239 wxString
*arg3
= 0 ;
18240 bool temp3
= false ;
18241 PyObject
* obj0
= 0 ;
18242 PyObject
* obj1
= 0 ;
18243 PyObject
* obj2
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "id",(char *) "helpString", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 arg2
= (int)SWIG_As_int(obj1
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 arg3
= wxString_in_helper(obj2
);
18255 if (arg3
== NULL
) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 Py_INCREF(Py_None
); resultobj
= Py_None
;
18280 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "id", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 arg2
= (int)SWIG_As_int(obj1
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (arg1
)->GetToolShortHelp(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18316 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18320 wxString
*arg3
= 0 ;
18321 bool temp3
= false ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 PyObject
* obj2
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "id",(char *) "helpString", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (int)SWIG_As_int(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 arg3
= wxString_in_helper(obj2
);
18336 if (arg3
== NULL
) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self",(char *) "id", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 arg2
= (int)SWIG_As_int(obj1
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (arg1
)->GetToolLongHelp(arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18397 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 PyObject
* obj2
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "x",(char *) "y", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (int)SWIG_As_int(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18414 arg3
= (int)SWIG_As_int(obj2
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->SetMargins(arg2
,arg3
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 Py_INCREF(Py_None
); resultobj
= Py_None
;
18430 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "size", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18462 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self",(char *) "packing", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18475 arg2
= (int)SWIG_As_int(obj1
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 (arg1
)->SetToolPacking(arg2
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18491 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self",(char *) "separation", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 arg2
= (int)SWIG_As_int(obj1
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 (arg1
)->SetToolSeparation(arg2
);
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 Py_INCREF(Py_None
); resultobj
= Py_None
;
18520 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 char *kwnames
[] = {
18526 (char *) "self", NULL
18529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (arg1
)->GetToolMargins();
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18540 wxSize
* resultptr
;
18541 resultptr
= new wxSize((wxSize
&) result
);
18542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18550 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 char *kwnames
[] = {
18556 (char *) "self", NULL
18559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (arg1
)->GetMargins();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18570 wxSize
* resultptr
;
18571 resultptr
= new wxSize((wxSize
&) result
);
18572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18580 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (int)(arg1
)->GetToolPacking();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_From_int((int)result
);
18606 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (int)(arg1
)->GetToolSeparation();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_From_int((int)result
);
18632 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "nRows", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18645 arg2
= (int)SWIG_As_int(obj1
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 (arg1
)->SetRows(arg2
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 Py_INCREF(Py_None
); resultobj
= Py_None
;
18661 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 PyObject
* obj1
= 0 ;
18668 PyObject
* obj2
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self",(char *) "rows",(char *) "cols", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 arg2
= (int)SWIG_As_int(obj1
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18678 arg3
= (int)SWIG_As_int(obj2
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (int)(arg1
)->GetMaxRows();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_From_int((int)result
);
18720 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 char *kwnames
[] = {
18726 (char *) "self", NULL
18729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (int)(arg1
)->GetMaxCols();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_From_int((int)result
);
18746 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self",(char *) "size", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 Py_INCREF(Py_None
); resultobj
= Py_None
;
18778 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (arg1
)->GetToolBitmapSize();
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 wxSize
* resultptr
;
18799 resultptr
= new wxSize((wxSize
&) result
);
18800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18808 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18812 PyObject
* obj0
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (arg1
)->GetToolSize();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18828 wxSize
* resultptr
;
18829 resultptr
= new wxSize((wxSize
&) result
);
18830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18838 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18843 wxToolBarToolBase
*result
;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self",(char *) "x",(char *) "y", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (int)SWIG_As_int(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18856 arg3
= (int)SWIG_As_int(obj2
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= wxPyMake_wxObject(result
, 0);
18874 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18878 wxToolBarToolBase
*result
;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self",(char *) "toolid", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 arg2
= (int)SWIG_As_int(obj1
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= wxPyMake_wxObject(result
, 0);
18906 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= (bool)(arg1
)->IsVertical();
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18934 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18937 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18939 return Py_BuildValue((char *)"");
18941 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxWindow
*arg1
= (wxWindow
*) 0 ;
18944 int arg2
= (int) -1 ;
18945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18949 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18950 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18951 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18955 bool temp6
= false ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 PyObject
* obj2
= 0 ;
18959 PyObject
* obj3
= 0 ;
18960 PyObject
* obj4
= 0 ;
18961 PyObject
* obj5
= 0 ;
18962 char *kwnames
[] = {
18963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18970 arg2
= (int)SWIG_As_int(obj1
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18976 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18982 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18986 arg5
= (long)SWIG_As_long(obj4
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18991 arg6
= wxString_in_helper(obj5
);
18992 if (arg6
== NULL
) SWIG_fail
;
18997 if (!wxPyCheckForApp()) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19019 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19022 char *kwnames
[] = {
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
19028 if (!wxPyCheckForApp()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (wxToolBar
*)new wxToolBar();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19042 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19045 wxWindow
*arg2
= (wxWindow
*) 0 ;
19046 int arg3
= (int) -1 ;
19047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19051 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19052 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
19053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19057 bool temp7
= false ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 PyObject
* obj2
= 0 ;
19061 PyObject
* obj3
= 0 ;
19062 PyObject
* obj4
= 0 ;
19063 PyObject
* obj5
= 0 ;
19064 PyObject
* obj6
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 arg3
= (int)SWIG_As_int(obj2
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19091 arg6
= (long)SWIG_As_long(obj5
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19096 arg7
= wxString_in_helper(obj6
);
19097 if (arg7
== NULL
) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19125 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19130 wxToolBarToolBase
*result
;
19131 PyObject
* obj0
= 0 ;
19132 PyObject
* obj1
= 0 ;
19133 PyObject
* obj2
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self",(char *) "x",(char *) "y", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 arg2
= (int)SWIG_As_int(obj1
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19143 arg3
= (int)SWIG_As_int(obj2
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= wxPyMake_wxObject(result
, 0);
19161 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19164 wxVisualAttributes result
;
19165 PyObject
* obj0
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "variant", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19172 arg1
= (int)SWIG_As_int(obj0
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19176 if (!wxPyCheckForApp()) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 wxVisualAttributes
* resultptr
;
19185 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19194 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19197 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19199 return Py_BuildValue((char *)"");
19201 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19202 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19207 static PyObject
*_wrap_ListCtrlNameStr_get() {
19212 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19214 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19221 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxColour
const &arg1_defvalue
= wxNullColour
;
19224 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19225 wxColour
const &arg2_defvalue
= wxNullColour
;
19226 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19227 wxFont
const &arg3_defvalue
= wxNullFont
;
19228 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19229 wxListItemAttr
*result
;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 PyObject
* obj2
= 0 ;
19235 char *kwnames
[] = {
19236 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19243 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19249 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19253 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19256 if (arg3
== NULL
) {
19257 PyErr_SetString(PyExc_TypeError
,"null reference");
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19275 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19278 wxColour
*arg2
= 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "colText", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 Py_INCREF(Py_None
); resultobj
= Py_None
;
19307 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19310 wxColour
*arg2
= 0 ;
19312 PyObject
* obj0
= 0 ;
19313 PyObject
* obj1
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self",(char *) "colBack", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 char *kwnames
[] = {
19346 (char *) "self",(char *) "font", NULL
19349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19355 if (arg2
== NULL
) {
19356 PyErr_SetString(PyExc_TypeError
,"null reference");
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 (arg1
)->SetFont((wxFont
const &)*arg2
);
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 Py_INCREF(Py_None
); resultobj
= Py_None
;
19373 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19374 PyObject
*resultobj
;
19375 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (bool)(arg1
)->HasTextColour();
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19401 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (bool)(arg1
)->HasBackgroundColour();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19429 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (bool)(arg1
)->HasFont();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19457 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (arg1
)->GetTextColour();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 wxColour
* resultptr
;
19478 resultptr
= new wxColour((wxColour
&) result
);
19479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19487 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (arg1
)->GetBackgroundColour();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19507 wxColour
* resultptr
;
19508 resultptr
= new wxColour((wxColour
&) result
);
19509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19517 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= (arg1
)->GetFont();
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19537 wxFont
* resultptr
;
19538 resultptr
= new wxFont((wxFont
&) result
);
19539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19547 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 wxListItemAttr_Destroy(arg1
);
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 Py_INCREF(Py_None
); resultobj
= Py_None
;
19572 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19575 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19577 return Py_BuildValue((char *)"");
19579 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxListItem
*result
;
19582 char *kwnames
[] = {
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= (wxListItem
*)new wxListItem();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= wxPyMake_wxObject(result
, 1);
19603 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxListItem
*arg1
= (wxListItem
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 Py_INCREF(Py_None
); resultobj
= Py_None
;
19628 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxListItem
*arg1
= (wxListItem
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxListItem
*arg1
= (wxListItem
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->ClearAttributes();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxListItem
*arg1
= (wxListItem
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "mask", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 arg2
= (long)SWIG_As_long(obj1
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetMask(arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxListItem
*arg1
= (wxListItem
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self",(char *) "id", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 arg2
= (long)SWIG_As_long(obj1
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 (arg1
)->SetId(arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 Py_INCREF(Py_None
); resultobj
= Py_None
;
19736 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxListItem
*arg1
= (wxListItem
*) 0 ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self",(char *) "col", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 arg2
= (int)SWIG_As_int(obj1
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetColumn(arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxListItem
*arg1
= (wxListItem
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "state", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 arg2
= (long)SWIG_As_long(obj1
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->SetState(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxListItem
*arg1
= (wxListItem
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self",(char *) "stateMask", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 arg2
= (long)SWIG_As_long(obj1
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetStateMask(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxListItem
*arg1
= (wxListItem
*) 0 ;
19826 wxString
*arg2
= 0 ;
19827 bool temp2
= false ;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "text", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19838 arg2
= wxString_in_helper(obj1
);
19839 if (arg2
== NULL
) SWIG_fail
;
19843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19844 (arg1
)->SetText((wxString
const &)*arg2
);
19846 wxPyEndAllowThreads(__tstate
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxListItem
*arg1
= (wxListItem
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "image", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 arg2
= (int)SWIG_As_int(obj1
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 (arg1
)->SetImage(arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 Py_INCREF(Py_None
); resultobj
= Py_None
;
19893 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxListItem
*arg1
= (wxListItem
*) 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "data", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19906 arg2
= (long)SWIG_As_long(obj1
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 (arg1
)->SetData(arg2
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 Py_INCREF(Py_None
); resultobj
= Py_None
;
19922 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxListItem
*arg1
= (wxListItem
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "width", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 arg2
= (int)SWIG_As_int(obj1
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 (arg1
)->SetWidth(arg2
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 Py_INCREF(Py_None
); resultobj
= Py_None
;
19951 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19952 PyObject
*resultobj
;
19953 wxListItem
*arg1
= (wxListItem
*) 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "align", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 arg2
= (int)SWIG_As_int(obj1
);
19965 if (PyErr_Occurred()) SWIG_fail
;
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 Py_INCREF(Py_None
); resultobj
= Py_None
;
19980 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxListItem
*arg1
= (wxListItem
*) 0 ;
19983 wxColour
*arg2
= 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self",(char *) "colText", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 Py_INCREF(Py_None
); resultobj
= Py_None
;
20012 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxListItem
*arg1
= (wxListItem
*) 0 ;
20015 wxColour
*arg2
= 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "colBack", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20028 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxListItem
*arg1
= (wxListItem
*) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self",(char *) "font", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20060 if (arg2
== NULL
) {
20061 PyErr_SetString(PyExc_TypeError
,"null reference");
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetFont((wxFont
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 Py_INCREF(Py_None
); resultobj
= Py_None
;
20078 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxListItem
*arg1
= (wxListItem
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (long)(arg1
)->GetMask();
20094 wxPyEndAllowThreads(__tstate
);
20095 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= SWIG_From_long((long)result
);
20104 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxListItem
*arg1
= (wxListItem
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (long)(arg1
)->GetId();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= SWIG_From_long((long)result
);
20130 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxListItem
*arg1
= (wxListItem
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)(arg1
)->GetColumn();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_From_int((int)result
);
20156 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxListItem
*arg1
= (wxListItem
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (long)(arg1
)->GetState();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_long((long)result
);
20182 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 wxString
const &_result_ref
= (arg1
)->GetText();
20198 result
= (wxString
*) &_result_ref
;
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20217 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxListItem
*arg1
= (wxListItem
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (int)(arg1
)->GetImage();
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_From_int((int)result
);
20243 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxListItem
*arg1
= (wxListItem
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (long)(arg1
)->GetData();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_From_long((long)result
);
20269 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxListItem
*arg1
= (wxListItem
*) 0 ;
20273 PyObject
* obj0
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (int)(arg1
)->GetWidth();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_From_int((int)result
);
20295 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxListItem
*arg1
= (wxListItem
*) 0 ;
20299 PyObject
* obj0
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (int)(arg1
)->GetAlign();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_From_int((int)result
);
20321 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxListItem
*arg1
= (wxListItem
*) 0 ;
20324 wxListItemAttr
*result
;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20347 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxListItem
*arg1
= (wxListItem
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)(arg1
)->HasAttributes();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxListItem
*arg1
= (wxListItem
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20395 wxColour
* resultptr
;
20396 resultptr
= new wxColour((wxColour
&) result
);
20397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20405 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxListItem
*arg1
= (wxListItem
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 wxColour
* resultptr
;
20426 resultptr
= new wxColour((wxColour
&) result
);
20427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20435 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20437 wxListItem
*arg1
= (wxListItem
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 char *kwnames
[] = {
20441 (char *) "self", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= ((wxListItem
const *)arg1
)->GetFont();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 wxFont
* resultptr
;
20456 resultptr
= new wxFont((wxFont
&) result
);
20457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20465 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxListItem
*arg1
= (wxListItem
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "m_mask", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 arg2
= (long)SWIG_As_long(obj1
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20480 if (arg1
) (arg1
)->m_mask
= arg2
;
20482 Py_INCREF(Py_None
); resultobj
= Py_None
;
20489 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20491 wxListItem
*arg1
= (wxListItem
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 char *kwnames
[] = {
20495 (char *) "self", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20501 result
= (long) ((arg1
)->m_mask
);
20503 resultobj
= SWIG_From_long((long)result
);
20510 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
;
20512 wxListItem
*arg1
= (wxListItem
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "m_itemId", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 arg2
= (long)SWIG_As_long(obj1
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20525 if (arg1
) (arg1
)->m_itemId
= arg2
;
20527 Py_INCREF(Py_None
); resultobj
= Py_None
;
20534 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxListItem
*arg1
= (wxListItem
*) 0 ;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20546 result
= (long) ((arg1
)->m_itemId
);
20548 resultobj
= SWIG_From_long((long)result
);
20555 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxListItem
*arg1
= (wxListItem
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "m_col", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 arg2
= (int)SWIG_As_int(obj1
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20570 if (arg1
) (arg1
)->m_col
= arg2
;
20572 Py_INCREF(Py_None
); resultobj
= Py_None
;
20579 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxListItem
*arg1
= (wxListItem
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 result
= (int) ((arg1
)->m_col
);
20593 resultobj
= SWIG_From_int((int)result
);
20600 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxListItem
*arg1
= (wxListItem
*) 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "m_state", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20613 arg2
= (long)SWIG_As_long(obj1
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20615 if (arg1
) (arg1
)->m_state
= arg2
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxListItem
*arg1
= (wxListItem
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "self", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 result
= (long) ((arg1
)->m_state
);
20638 resultobj
= SWIG_From_long((long)result
);
20645 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20647 wxListItem
*arg1
= (wxListItem
*) 0 ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "m_stateMask", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20658 arg2
= (long)SWIG_As_long(obj1
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20660 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxListItem
*arg1
= (wxListItem
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 result
= (long) ((arg1
)->m_stateMask
);
20683 resultobj
= SWIG_From_long((long)result
);
20690 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxListItem
*arg1
= (wxListItem
*) 0 ;
20693 wxString
*arg2
= (wxString
*) 0 ;
20694 bool temp2
= false ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "m_text", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 arg2
= wxString_in_helper(obj1
);
20706 if (arg2
== NULL
) SWIG_fail
;
20709 if (arg1
) (arg1
)->m_text
= *arg2
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20726 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxListItem
*arg1
= (wxListItem
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 result
= (wxString
*)& ((arg1
)->m_text
);
20742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20753 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxListItem
*arg1
= (wxListItem
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "m_image", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 arg2
= (int)SWIG_As_int(obj1
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20768 if (arg1
) (arg1
)->m_image
= arg2
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxListItem
*arg1
= (wxListItem
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 result
= (int) ((arg1
)->m_image
);
20791 resultobj
= SWIG_From_int((int)result
);
20798 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxListItem
*arg1
= (wxListItem
*) 0 ;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "m_data", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20811 arg2
= (long)SWIG_As_long(obj1
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20813 if (arg1
) (arg1
)->m_data
= arg2
;
20815 Py_INCREF(Py_None
); resultobj
= Py_None
;
20822 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
;
20824 wxListItem
*arg1
= (wxListItem
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 char *kwnames
[] = {
20828 (char *) "self", NULL
20831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20834 result
= (long) ((arg1
)->m_data
);
20836 resultobj
= SWIG_From_long((long)result
);
20843 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxListItem
*arg1
= (wxListItem
*) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self",(char *) "m_format", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 arg2
= (int)SWIG_As_int(obj1
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20858 if (arg1
) (arg1
)->m_format
= arg2
;
20860 Py_INCREF(Py_None
); resultobj
= Py_None
;
20867 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxListItem
*arg1
= (wxListItem
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 result
= (int) ((arg1
)->m_format
);
20881 resultobj
= SWIG_From_int((int)result
);
20888 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxListItem
*arg1
= (wxListItem
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self",(char *) "m_width", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 arg2
= (int)SWIG_As_int(obj1
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20903 if (arg1
) (arg1
)->m_width
= arg2
;
20905 Py_INCREF(Py_None
); resultobj
= Py_None
;
20912 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxListItem
*arg1
= (wxListItem
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20924 result
= (int) ((arg1
)->m_width
);
20926 resultobj
= SWIG_From_int((int)result
);
20933 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20936 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20938 return Py_BuildValue((char *)"");
20940 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20943 int arg2
= (int) 0 ;
20944 wxListEvent
*result
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 char *kwnames
[] = {
20948 (char *) "commandType",(char *) "id", NULL
20951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20953 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20957 arg2
= (int)SWIG_As_int(obj1
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20974 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
;
20976 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 PyObject
* obj1
= 0 ;
20980 char *kwnames
[] = {
20981 (char *) "self",(char *) "m_code", NULL
20984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20987 arg2
= (int)SWIG_As_int(obj1
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20989 if (arg1
) (arg1
)->m_code
= arg2
;
20991 Py_INCREF(Py_None
); resultobj
= Py_None
;
20998 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char *kwnames
[] = {
21004 (char *) "self", NULL
21007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
21008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 result
= (int) ((arg1
)->m_code
);
21012 resultobj
= SWIG_From_int((int)result
);
21019 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
;
21021 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self",(char *) "m_oldItemIndex", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21032 arg2
= (long)SWIG_As_long(obj1
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21034 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
21036 Py_INCREF(Py_None
); resultobj
= Py_None
;
21043 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 char *kwnames
[] = {
21049 (char *) "self", NULL
21052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
21053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 result
= (long) ((arg1
)->m_oldItemIndex
);
21057 resultobj
= SWIG_From_long((long)result
);
21064 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self",(char *) "m_itemIndex", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 arg2
= (long)SWIG_As_long(obj1
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21079 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21081 Py_INCREF(Py_None
); resultobj
= Py_None
;
21088 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21100 result
= (long) ((arg1
)->m_itemIndex
);
21102 resultobj
= SWIG_From_long((long)result
);
21109 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self",(char *) "m_col", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21122 arg2
= (int)SWIG_As_int(obj1
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21124 if (arg1
) (arg1
)->m_col
= arg2
;
21126 Py_INCREF(Py_None
); resultobj
= Py_None
;
21133 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 result
= (int) ((arg1
)->m_col
);
21147 resultobj
= SWIG_From_int((int)result
);
21154 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21157 wxPoint
*arg2
= (wxPoint
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "self",(char *) "m_pointDrag", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21169 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 char *kwnames
[] = {
21184 (char *) "self", NULL
21187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21190 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21199 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
;
21201 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21202 wxListItem
*result
;
21203 PyObject
* obj0
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 result
= (wxListItem
*)& ((arg1
)->m_item
);
21214 resultobj
= wxPyMake_wxObject(result
, 0);
21222 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
;
21224 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 char *kwnames
[] = {
21228 (char *) "self", NULL
21231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (int)(arg1
)->GetKeyCode();
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_From_int((int)result
);
21248 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (long)(arg1
)->GetIndex();
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_From_long((long)result
);
21274 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (int)(arg1
)->GetColumn();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_From_int((int)result
);
21300 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (arg1
)->GetPoint();
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21320 wxPoint
* resultptr
;
21321 resultptr
= new wxPoint((wxPoint
&) result
);
21322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21330 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21334 PyObject
* obj0
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 wxString
const &_result_ref
= (arg1
)->GetLabel();
21346 result
= (wxString
*) &_result_ref
;
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21356 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21365 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 wxString
const &_result_ref
= (arg1
)->GetText();
21381 result
= (wxString
*) &_result_ref
;
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21391 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21400 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
;
21402 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21404 PyObject
* obj0
= 0 ;
21405 char *kwnames
[] = {
21406 (char *) "self", NULL
21409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= (int)(arg1
)->GetImage();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 resultobj
= SWIG_From_int((int)result
);
21426 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 char *kwnames
[] = {
21432 (char *) "self", NULL
21435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (long)(arg1
)->GetData();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_From_long((long)result
);
21452 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (long)(arg1
)->GetMask();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_From_long((long)result
);
21478 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
;
21480 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21481 wxListItem
*result
;
21482 PyObject
* obj0
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21494 result
= (wxListItem
*) &_result_ref
;
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21507 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (long)(arg1
)->GetCacheFrom();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_From_long((long)result
);
21533 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (long)(arg1
)->GetCacheTo();
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_From_long((long)result
);
21559 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "self", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21587 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self",(char *) "editCancelled", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 arg2
= (bool)SWIG_As_bool(obj1
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->SetEditCanceled(arg2
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 Py_INCREF(Py_None
); resultobj
= Py_None
;
21616 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21619 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21621 return Py_BuildValue((char *)"");
21623 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
;
21625 wxWindow
*arg1
= (wxWindow
*) 0 ;
21626 int arg2
= (int) -1 ;
21627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21631 long arg5
= (long) wxLC_ICON
;
21632 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21633 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21634 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21636 wxPyListCtrl
*result
;
21639 bool temp7
= false ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 PyObject
* obj2
= 0 ;
21643 PyObject
* obj3
= 0 ;
21644 PyObject
* obj4
= 0 ;
21645 PyObject
* obj5
= 0 ;
21646 PyObject
* obj6
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 arg2
= (int)SWIG_As_int(obj1
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21661 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21667 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21671 arg5
= (long)SWIG_As_long(obj4
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21678 if (arg6
== NULL
) {
21679 PyErr_SetString(PyExc_TypeError
,"null reference");
21685 arg7
= wxString_in_helper(obj6
);
21686 if (arg7
== NULL
) SWIG_fail
;
21691 if (!wxPyCheckForApp()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21713 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyListCtrl
*result
;
21716 char *kwnames
[] = {
21720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21722 if (!wxPyCheckForApp()) SWIG_fail
;
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21726 wxPyEndAllowThreads(__tstate
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21736 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
;
21738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21739 wxWindow
*arg2
= (wxWindow
*) 0 ;
21740 int arg3
= (int) -1 ;
21741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21745 long arg6
= (long) wxLC_ICON
;
21746 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21747 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21748 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21749 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21753 bool temp8
= false ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 PyObject
* obj2
= 0 ;
21757 PyObject
* obj3
= 0 ;
21758 PyObject
* obj4
= 0 ;
21759 PyObject
* obj5
= 0 ;
21760 PyObject
* obj6
= 0 ;
21761 PyObject
* obj7
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg3
= (int)SWIG_As_int(obj2
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21778 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21784 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21788 arg6
= (long)SWIG_As_long(obj5
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21795 if (arg7
== NULL
) {
21796 PyErr_SetString(PyExc_TypeError
,"null reference");
21802 arg8
= wxString_in_helper(obj7
);
21803 if (arg8
== NULL
) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21834 PyObject
*arg2
= (PyObject
*) 0 ;
21835 PyObject
*arg3
= (PyObject
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "self",(char *) "_class", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 Py_INCREF(Py_None
); resultobj
= Py_None
;
21862 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21865 wxColour
*arg2
= 0 ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "col", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21900 wxColour
*arg2
= 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self",(char *) "col", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21932 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21936 wxListItem
*result
;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "col", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 arg2
= (int)SWIG_As_int(obj1
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= wxPyMake_wxObject(result
, 0);
21964 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21968 wxListItem
*arg3
= 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "col",(char *) "item", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (int)SWIG_As_int(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21982 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21985 if (arg3
== NULL
) {
21986 PyErr_SetString(PyExc_TypeError
,"null reference");
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22005 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
;
22007 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char *kwnames
[] = {
22013 (char *) "self",(char *) "col", NULL
22016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22019 arg2
= (int)SWIG_As_int(obj1
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= SWIG_From_int((int)result
);
22035 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 char *kwnames
[] = {
22045 (char *) "self",(char *) "col",(char *) "width", NULL
22048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22051 arg2
= (int)SWIG_As_int(obj1
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22053 arg3
= (int)SWIG_As_int(obj2
);
22054 if (PyErr_Occurred()) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22071 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22075 PyObject
* obj0
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_From_int((int)result
);
22097 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22117 wxRect
* resultptr
;
22118 resultptr
= new wxRect((wxRect
&) result
);
22119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22127 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22130 wxTextCtrl
*result
;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= wxPyMake_wxObject(result
, 0);
22155 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22159 int arg3
= (int) 0 ;
22160 wxListItem
*result
;
22161 PyObject
* obj0
= 0 ;
22162 PyObject
* obj1
= 0 ;
22163 PyObject
* obj2
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self",(char *) "itemId",(char *) "col", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22171 arg2
= (long)SWIG_As_long(obj1
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 arg3
= (int)SWIG_As_int(obj2
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= wxPyMake_wxObject(result
, 0);
22193 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22196 wxListItem
*arg2
= 0 ;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 char *kwnames
[] = {
22201 (char *) "self",(char *) "info", NULL
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22210 if (arg2
== NULL
) {
22211 PyErr_SetString(PyExc_TypeError
,"null reference");
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)(arg1
)->SetItem(*arg2
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22230 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22235 wxString
*arg4
= 0 ;
22236 int arg5
= (int) -1 ;
22238 bool temp4
= false ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 PyObject
* obj3
= 0 ;
22243 PyObject
* obj4
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 arg2
= (long)SWIG_As_long(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22253 arg3
= (int)SWIG_As_int(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 arg4
= wxString_in_helper(obj3
);
22257 if (arg4
== NULL
) SWIG_fail
;
22261 arg5
= (int)SWIG_As_int(obj4
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_From_long((long)result
);
22286 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 PyObject
* obj2
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22302 arg2
= (long)SWIG_As_long(obj1
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22304 arg3
= (long)SWIG_As_long(obj2
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= SWIG_From_int((int)result
);
22320 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 PyObject
* obj2
= 0 ;
22330 PyObject
* obj3
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22338 arg2
= (long)SWIG_As_long(obj1
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22340 arg3
= (long)SWIG_As_long(obj2
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22342 arg4
= (long)SWIG_As_long(obj3
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22360 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22365 int arg4
= (int) -1 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 PyObject
* obj2
= 0 ;
22370 PyObject
* obj3
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 arg2
= (long)SWIG_As_long(obj1
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22380 arg3
= (int)SWIG_As_int(obj2
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 arg4
= (int)SWIG_As_int(obj3
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self",(char *) "item", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 arg2
= (long)SWIG_As_long(obj1
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22438 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22442 wxString
*arg3
= 0 ;
22443 bool temp3
= false ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 PyObject
* obj2
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "item",(char *) "str", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22454 arg2
= (long)SWIG_As_long(obj1
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 arg3
= wxString_in_helper(obj2
);
22458 if (arg3
== NULL
) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 PyObject
* obj1
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self",(char *) "item", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22497 arg2
= (long)SWIG_As_long(obj1
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_From_long((long)result
);
22513 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 PyObject
* obj2
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "item",(char *) "data", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22529 arg2
= (long)SWIG_As_long(obj1
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22531 arg3
= (long)SWIG_As_long(obj2
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22549 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self",(char *) "item", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22563 arg2
= (long)SWIG_As_long(obj1
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 wxPoint
* resultptr
;
22574 resultptr
= new wxPoint((wxPoint
&) result
);
22575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22583 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22587 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "item",(char *) "code", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 arg2
= (long)SWIG_As_long(obj1
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 arg3
= (int)SWIG_As_int(obj2
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 wxRect
* resultptr
;
22614 resultptr
= new wxRect((wxRect
&) result
);
22615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22623 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22625 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22627 wxPoint
*arg3
= 0 ;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 PyObject
* obj2
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "self",(char *) "item",(char *) "pos", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 arg2
= (long)SWIG_As_long(obj1
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22662 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
;
22664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_From_int((int)result
);
22688 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22690 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "self", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_From_int((int)result
);
22714 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
;
22716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22718 PyObject
* obj0
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 wxSize
* resultptr
;
22735 resultptr
= new wxSize((wxSize
&) result
);
22736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22744 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_From_int((int)result
);
22770 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22774 PyObject
* obj0
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 wxColour
* resultptr
;
22791 resultptr
= new wxColour((wxColour
&) result
);
22792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22800 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22802 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22803 wxColour
*arg2
= 0 ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 char *kwnames
[] = {
22808 (char *) "self",(char *) "col", NULL
22811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 Py_INCREF(Py_None
); resultobj
= Py_None
;
22832 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_From_long((long)result
);
22858 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22862 bool arg3
= (bool) true ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 PyObject
* obj2
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self",(char *) "style",(char *) "add", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (long)SWIG_As_long(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 arg3
= (bool)SWIG_As_bool(obj2
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->SetSingleStyle(arg2
,arg3
);
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 Py_INCREF(Py_None
); resultobj
= Py_None
;
22893 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 PyObject
* obj1
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self",(char *) "style", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 arg2
= (long)SWIG_As_long(obj1
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->SetWindowStyleFlag(arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22926 int arg3
= (int) wxLIST_NEXT_ALL
;
22927 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 PyObject
* obj2
= 0 ;
22932 PyObject
* obj3
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22940 arg2
= (long)SWIG_As_long(obj1
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 arg3
= (int)SWIG_As_int(obj2
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 arg4
= (int)SWIG_As_int(obj3
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_From_long((long)result
);
22964 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
;
22966 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22968 wxImageList
*result
;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 char *kwnames
[] = {
22972 (char *) "self",(char *) "which", NULL
22975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 arg2
= (int)SWIG_As_int(obj1
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= wxPyMake_wxObject(result
, 0);
22996 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22999 wxImageList
*arg2
= (wxImageList
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "imageList",(char *) "which", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23013 arg3
= (int)SWIG_As_int(obj2
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 (arg1
)->SetImageList(arg2
,arg3
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 Py_INCREF(Py_None
); resultobj
= Py_None
;
23029 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23032 wxImageList
*arg2
= (wxImageList
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "imageList",(char *) "which", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23045 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23046 arg3
= (int)SWIG_As_int(obj2
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 (arg1
)->AssignImageList(arg2
,arg3
);
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 Py_INCREF(Py_None
); resultobj
= Py_None
;
23062 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23090 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23118 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "item", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 arg2
= (long)SWIG_As_long(obj1
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 (arg1
)->RefreshItem(arg2
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 Py_INCREF(Py_None
); resultobj
= Py_None
;
23147 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 PyObject
* obj1
= 0 ;
23154 PyObject
* obj2
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23162 arg2
= (long)SWIG_As_long(obj1
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23164 arg3
= (long)SWIG_As_long(obj2
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 (arg1
)->RefreshItems(arg2
,arg3
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 Py_INCREF(Py_None
); resultobj
= Py_None
;
23180 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23183 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "flag", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23195 arg2
= (int)SWIG_As_int(obj1
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (bool)(arg1
)->Arrange(arg2
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23214 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self",(char *) "item", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23228 arg2
= (long)SWIG_As_long(obj1
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (bool)(arg1
)->DeleteItem(arg2
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23246 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (bool)(arg1
)->DeleteAllItems();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23276 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 PyObject
* obj1
= 0 ;
23281 char *kwnames
[] = {
23282 (char *) "self",(char *) "col", NULL
23285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 arg2
= (int)SWIG_As_int(obj1
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23306 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (bool)(arg1
)->DeleteAllColumns();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23334 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23337 PyObject
* obj0
= 0 ;
23338 char *kwnames
[] = {
23339 (char *) "self", NULL
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 (arg1
)->ClearAll();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 Py_INCREF(Py_None
); resultobj
= Py_None
;
23359 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23363 wxTextCtrl
*result
;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "item", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 arg2
= (long)SWIG_As_long(obj1
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= wxPyMake_wxObject(result
, 0);
23391 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "cancel", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 arg2
= (bool)SWIG_As_bool(obj1
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23423 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self",(char *) "item", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 arg2
= (long)SWIG_As_long(obj1
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23455 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23459 wxString
*arg3
= 0 ;
23460 bool arg4
= (bool) false ;
23462 bool temp3
= false ;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj1
= 0 ;
23465 PyObject
* obj2
= 0 ;
23466 PyObject
* obj3
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 arg2
= (long)SWIG_As_long(obj1
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 arg3
= wxString_in_helper(obj2
);
23478 if (arg3
== NULL
) SWIG_fail
;
23482 arg4
= (bool)SWIG_As_bool(obj3
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= SWIG_From_long((long)result
);
23507 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
;
23509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "start",(char *) "data", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 arg2
= (long)SWIG_As_long(obj1
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23525 arg3
= (long)SWIG_As_long(obj2
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_From_long((long)result
);
23541 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23545 wxPoint
*arg3
= 0 ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 PyObject
* obj2
= 0 ;
23552 PyObject
* obj3
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 arg2
= (long)SWIG_As_long(obj1
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23566 arg4
= (int)SWIG_As_int(obj3
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= SWIG_From_long((long)result
);
23582 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23585 wxPoint
*arg2
= 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "point", NULL
23597 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_From_long((long)result
);
23613 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23614 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23621 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23624 wxListItem
*arg2
= 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "info", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23638 if (arg2
== NULL
) {
23639 PyErr_SetString(PyExc_TypeError
,"null reference");
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (long)(arg1
)->InsertItem(*arg2
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_From_long((long)result
);
23656 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
;
23658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23660 wxString
*arg3
= 0 ;
23662 bool temp3
= false ;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 PyObject
* obj2
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "index",(char *) "label", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23673 arg2
= (long)SWIG_As_long(obj1
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 arg3
= wxString_in_helper(obj2
);
23677 if (arg3
== NULL
) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_From_long((long)result
);
23702 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 PyObject
* obj2
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23718 arg2
= (long)SWIG_As_long(obj1
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23720 arg3
= (int)SWIG_As_int(obj2
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_From_long((long)result
);
23736 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
;
23738 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23740 wxString
*arg3
= 0 ;
23743 bool temp3
= false ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 PyObject
* obj2
= 0 ;
23747 PyObject
* obj3
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 arg2
= (long)SWIG_As_long(obj1
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 arg3
= wxString_in_helper(obj2
);
23759 if (arg3
== NULL
) SWIG_fail
;
23762 arg4
= (int)SWIG_As_int(obj3
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_From_long((long)result
);
23786 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23790 wxListItem
*arg3
= 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 PyObject
* obj2
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self",(char *) "col",(char *) "info", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 arg2
= (long)SWIG_As_long(obj1
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23804 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23807 if (arg3
== NULL
) {
23808 PyErr_SetString(PyExc_TypeError
,"null reference");
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= SWIG_From_long((long)result
);
23825 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23829 wxString
*arg3
= 0 ;
23830 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23831 int arg5
= (int) -1 ;
23833 bool temp3
= false ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 PyObject
* obj2
= 0 ;
23837 PyObject
* obj3
= 0 ;
23838 PyObject
* obj4
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 arg2
= (long)SWIG_As_long(obj1
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 arg3
= wxString_in_helper(obj2
);
23850 if (arg3
== NULL
) SWIG_fail
;
23854 arg4
= (int)SWIG_As_int(obj3
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23858 arg5
= (int)SWIG_As_int(obj4
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_From_long((long)result
);
23883 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self",(char *) "count", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 arg2
= (long)SWIG_As_long(obj1
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 (arg1
)->SetItemCount(arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 Py_INCREF(Py_None
); resultobj
= Py_None
;
23912 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 PyObject
* obj2
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self",(char *) "dx",(char *) "dy", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 arg2
= (int)SWIG_As_int(obj1
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23930 arg3
= (int)SWIG_As_int(obj2
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23948 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23952 wxColour
*arg3
= 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 PyObject
* obj2
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self",(char *) "item",(char *) "col", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 arg2
= (long)SWIG_As_long(obj1
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23968 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23972 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 Py_INCREF(Py_None
); resultobj
= Py_None
;
23984 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "item", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 arg2
= (long)SWIG_As_long(obj1
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 wxColour
* resultptr
;
24009 resultptr
= new wxColour((wxColour
&) result
);
24010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24018 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24022 wxColour
*arg3
= 0 ;
24024 PyObject
* obj0
= 0 ;
24025 PyObject
* obj1
= 0 ;
24026 PyObject
* obj2
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "item",(char *) "col", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 arg2
= (long)SWIG_As_long(obj1
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24038 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 Py_INCREF(Py_None
); resultobj
= Py_None
;
24054 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24059 PyObject
* obj0
= 0 ;
24060 PyObject
* obj1
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self",(char *) "item", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24068 arg2
= (long)SWIG_As_long(obj1
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 wxColour
* resultptr
;
24079 resultptr
= new wxColour((wxColour
&) result
);
24080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24088 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24091 PyObject
*arg2
= (PyObject
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "func", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24119 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= wxPyMake_wxObject(result
, 0);
24147 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24150 wxVisualAttributes result
;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "variant", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24158 arg1
= (int)SWIG_As_int(obj0
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 if (!wxPyCheckForApp()) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 wxVisualAttributes
* resultptr
;
24171 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24180 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24183 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24185 return Py_BuildValue((char *)"");
24187 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24190 int arg2
= (int) -1 ;
24191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24195 long arg5
= (long) wxLC_REPORT
;
24196 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24197 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24198 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24200 wxListView
*result
;
24203 bool temp7
= false ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 PyObject
* obj2
= 0 ;
24207 PyObject
* obj3
= 0 ;
24208 PyObject
* obj4
= 0 ;
24209 PyObject
* obj5
= 0 ;
24210 PyObject
* obj6
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 arg2
= (int)SWIG_As_int(obj1
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24231 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24235 arg5
= (long)SWIG_As_long(obj4
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24239 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24242 if (arg6
== NULL
) {
24243 PyErr_SetString(PyExc_TypeError
,"null reference");
24249 arg7
= wxString_in_helper(obj6
);
24250 if (arg7
== NULL
) SWIG_fail
;
24255 if (!wxPyCheckForApp()) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24277 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxListView
*result
;
24280 char *kwnames
[] = {
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24286 if (!wxPyCheckForApp()) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (wxListView
*)new wxListView();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24300 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxListView
*arg1
= (wxListView
*) 0 ;
24303 wxWindow
*arg2
= (wxWindow
*) 0 ;
24304 int arg3
= (int) -1 ;
24305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24309 long arg6
= (long) wxLC_REPORT
;
24310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24312 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24317 bool temp8
= false ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 PyObject
* obj2
= 0 ;
24321 PyObject
* obj3
= 0 ;
24322 PyObject
* obj4
= 0 ;
24323 PyObject
* obj5
= 0 ;
24324 PyObject
* obj6
= 0 ;
24325 PyObject
* obj7
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 arg3
= (int)SWIG_As_int(obj2
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24352 arg6
= (long)SWIG_As_long(obj5
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24359 if (arg7
== NULL
) {
24360 PyErr_SetString(PyExc_TypeError
,"null reference");
24366 arg8
= wxString_in_helper(obj7
);
24367 if (arg8
== NULL
) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24395 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
;
24397 wxListView
*arg1
= (wxListView
*) 0 ;
24399 bool arg3
= (bool) true ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 PyObject
* obj2
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "n",(char *) "on", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24410 arg2
= (long)SWIG_As_long(obj1
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 arg3
= (bool)SWIG_As_bool(obj2
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 (arg1
)->Select(arg2
,arg3
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxListView
*arg1
= (wxListView
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self",(char *) "index", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24443 arg2
= (long)SWIG_As_long(obj1
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 (arg1
)->Focus(arg2
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 Py_INCREF(Py_None
); resultobj
= Py_None
;
24459 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxListView
*arg1
= (wxListView
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_From_long((long)result
);
24485 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxListView
*arg1
= (wxListView
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "item", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 arg2
= (long)SWIG_As_long(obj1
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_From_long((long)result
);
24515 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxListView
*arg1
= (wxListView
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_From_long((long)result
);
24541 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24542 PyObject
*resultobj
;
24543 wxListView
*arg1
= (wxListView
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "index", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 arg2
= (long)SWIG_As_long(obj1
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (bool)(arg1
)->IsSelected(arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24573 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxListView
*arg1
= (wxListView
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 PyObject
* obj2
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "col",(char *) "image", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 arg2
= (int)SWIG_As_int(obj1
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24590 arg3
= (int)SWIG_As_int(obj2
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 (arg1
)->SetColumnImage(arg2
,arg3
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 Py_INCREF(Py_None
); resultobj
= Py_None
;
24606 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxListView
*arg1
= (wxListView
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "col", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 arg2
= (int)SWIG_As_int(obj1
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->ClearColumnImage(arg2
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24638 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24640 return Py_BuildValue((char *)"");
24642 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24643 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24648 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24653 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24655 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24662 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
;
24664 wxTreeItemId
*result
;
24665 char *kwnames
[] = {
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (wxTreeItemId
*)new wxTreeItemId();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24684 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 Py_INCREF(Py_None
); resultobj
= Py_None
;
24709 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24737 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24740 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 char *kwnames
[] = {
24745 (char *) "self",(char *) "other", NULL
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24769 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
;
24771 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24772 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 PyObject
* obj1
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "other", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24801 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24804 void *arg2
= (void *) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "m_pItem", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24814 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24815 if (arg1
) (arg1
)->m_pItem
= arg2
;
24817 Py_INCREF(Py_None
); resultobj
= Py_None
;
24824 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24836 result
= (void *) ((arg1
)->m_pItem
);
24838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24845 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24848 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24850 return Py_BuildValue((char *)"");
24852 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 PyObject
*arg1
= (PyObject
*) NULL
;
24855 wxPyTreeItemData
*result
;
24856 PyObject
* obj0
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "obj", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24879 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (PyObject
*)(arg1
)->GetData();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= result
;
24905 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24908 PyObject
*arg2
= (PyObject
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self",(char *) "obj", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetData(arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 Py_INCREF(Py_None
); resultobj
= Py_None
;
24933 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
;
24935 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24936 wxTreeItemId
*result
;
24937 PyObject
* obj0
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24949 result
= (wxTreeItemId
*) &_result_ref
;
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24962 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24965 wxTreeItemId
*arg2
= 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "id", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24978 if (arg2
== NULL
) {
24979 PyErr_SetString(PyExc_TypeError
,"null reference");
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 Py_INCREF(Py_None
); resultobj
= Py_None
;
24996 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 char *kwnames
[] = {
25001 (char *) "self", NULL
25004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
25005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25009 wxPyTreeItemData_Destroy(arg1
);
25011 wxPyEndAllowThreads(__tstate
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 Py_INCREF(Py_None
); resultobj
= Py_None
;
25021 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
25023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25024 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
25026 return Py_BuildValue((char *)"");
25028 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25029 PyObject
*resultobj
;
25030 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25031 int arg2
= (int) 0 ;
25032 wxTreeEvent
*result
;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "commandType",(char *) "id", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 arg1
= (wxEventType
)SWIG_As_int(obj0
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25045 arg2
= (int)SWIG_As_int(obj1
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
25062 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25065 wxTreeItemId result
;
25066 PyObject
* obj0
= 0 ;
25067 char *kwnames
[] = {
25068 (char *) "self", NULL
25071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
25072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25082 wxTreeItemId
* resultptr
;
25083 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25092 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25095 wxTreeItemId
*arg2
= 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "item", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25108 if (arg2
== NULL
) {
25109 PyErr_SetString(PyExc_TypeError
,"null reference");
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 Py_INCREF(Py_None
); resultobj
= Py_None
;
25126 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25129 wxTreeItemId result
;
25130 PyObject
* obj0
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25146 wxTreeItemId
* resultptr
;
25147 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25156 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25159 wxTreeItemId
*arg2
= 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "item", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25172 if (arg2
== NULL
) {
25173 PyErr_SetString(PyExc_TypeError
,"null reference");
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 Py_INCREF(Py_None
); resultobj
= Py_None
;
25190 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 char *kwnames
[] = {
25196 (char *) "self", NULL
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25210 wxPoint
* resultptr
;
25211 resultptr
= new wxPoint((wxPoint
&) result
);
25212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25220 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25223 wxPoint
*arg2
= 0 ;
25225 PyObject
* obj0
= 0 ;
25226 PyObject
* obj1
= 0 ;
25227 char *kwnames
[] = {
25228 (char *) "self",(char *) "pt", NULL
25231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 Py_INCREF(Py_None
); resultobj
= Py_None
;
25252 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25255 wxKeyEvent
*result
;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25268 result
= (wxKeyEvent
*) &_result_ref
;
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25281 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_From_int((int)result
);
25307 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
;
25309 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25310 wxKeyEvent
*arg2
= 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "evt", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25323 if (arg2
== NULL
) {
25324 PyErr_SetString(PyExc_TypeError
,"null reference");
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 Py_INCREF(Py_None
); resultobj
= Py_None
;
25341 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25345 PyObject
* obj0
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "self", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25357 result
= (wxString
*) &_result_ref
;
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25376 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25379 wxString
*arg2
= 0 ;
25380 bool temp2
= false ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self",(char *) "label", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 arg2
= wxString_in_helper(obj1
);
25392 if (arg2
== NULL
) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->SetLabel((wxString
const &)*arg2
);
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 Py_INCREF(Py_None
); resultobj
= Py_None
;
25417 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 char *kwnames
[] = {
25423 (char *) "self", NULL
25426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25445 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 PyObject
* obj1
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "self",(char *) "editCancelled", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25458 arg2
= (bool)SWIG_As_bool(obj1
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 (arg1
)->SetEditCanceled(arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 Py_INCREF(Py_None
); resultobj
= Py_None
;
25474 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25477 wxString
*arg2
= 0 ;
25478 bool temp2
= false ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self",(char *) "toolTip", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 arg2
= wxString_in_helper(obj1
);
25490 if (arg2
== NULL
) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 Py_INCREF(Py_None
); resultobj
= Py_None
;
25515 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25518 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25520 return Py_BuildValue((char *)"");
25522 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
;
25524 wxWindow
*arg1
= (wxWindow
*) 0 ;
25525 int arg2
= (int) -1 ;
25526 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25527 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25528 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25529 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25530 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25531 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25532 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25533 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25535 wxPyTreeCtrl
*result
;
25538 bool temp7
= false ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 PyObject
* obj2
= 0 ;
25542 PyObject
* obj3
= 0 ;
25543 PyObject
* obj4
= 0 ;
25544 PyObject
* obj5
= 0 ;
25545 PyObject
* obj6
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25554 arg2
= (int)SWIG_As_int(obj1
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25566 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25570 arg5
= (long)SWIG_As_long(obj4
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25577 if (arg6
== NULL
) {
25578 PyErr_SetString(PyExc_TypeError
,"null reference");
25584 arg7
= wxString_in_helper(obj6
);
25585 if (arg7
== NULL
) SWIG_fail
;
25590 if (!wxPyCheckForApp()) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25612 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxPyTreeCtrl
*result
;
25615 char *kwnames
[] = {
25619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25621 if (!wxPyCheckForApp()) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25635 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
;
25637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25638 wxWindow
*arg2
= (wxWindow
*) 0 ;
25639 int arg3
= (int) -1 ;
25640 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25641 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25642 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25643 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25644 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25645 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25646 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25647 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25648 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25652 bool temp8
= false ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 PyObject
* obj2
= 0 ;
25656 PyObject
* obj3
= 0 ;
25657 PyObject
* obj4
= 0 ;
25658 PyObject
* obj5
= 0 ;
25659 PyObject
* obj6
= 0 ;
25660 PyObject
* obj7
= 0 ;
25661 char *kwnames
[] = {
25662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 arg3
= (int)SWIG_As_int(obj2
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25687 arg6
= (long)SWIG_As_long(obj5
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25694 if (arg7
== NULL
) {
25695 PyErr_SetString(PyExc_TypeError
,"null reference");
25701 arg8
= wxString_in_helper(obj7
);
25702 if (arg8
== NULL
) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25730 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25733 PyObject
*arg2
= (PyObject
*) 0 ;
25734 PyObject
*arg3
= (PyObject
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "self",(char *) "_class", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25765 PyObject
* obj0
= 0 ;
25766 char *kwnames
[] = {
25767 (char *) "self", NULL
25770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25787 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25790 unsigned int result
;
25791 PyObject
* obj0
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25813 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25816 unsigned int arg2
;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "indent", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25826 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 (arg1
)->SetIndent(arg2
);
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 Py_INCREF(Py_None
); resultobj
= Py_None
;
25842 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25845 unsigned int result
;
25846 PyObject
* obj0
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25858 wxPyEndAllowThreads(__tstate
);
25859 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25868 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25869 PyObject
*resultobj
;
25870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25871 unsigned int arg2
;
25872 PyObject
* obj0
= 0 ;
25873 PyObject
* obj1
= 0 ;
25874 char *kwnames
[] = {
25875 (char *) "self",(char *) "spacing", NULL
25878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25881 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 (arg1
)->SetSpacing(arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 Py_INCREF(Py_None
); resultobj
= Py_None
;
25897 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25900 wxImageList
*result
;
25901 PyObject
* obj0
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= wxPyMake_wxObject(result
, 0);
25925 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25928 wxImageList
*result
;
25929 PyObject
* obj0
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= wxPyMake_wxObject(result
, 0);
25953 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25956 wxImageList
*arg2
= (wxImageList
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "imageList", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 (arg1
)->SetImageList(arg2
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 Py_INCREF(Py_None
); resultobj
= Py_None
;
25982 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25985 wxImageList
*arg2
= (wxImageList
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self",(char *) "imageList", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 (arg1
)->SetStateImageList(arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 Py_INCREF(Py_None
); resultobj
= Py_None
;
26011 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
;
26013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26014 wxImageList
*arg2
= (wxImageList
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "imageList", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26025 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->AssignImageList(arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 Py_INCREF(Py_None
); resultobj
= Py_None
;
26040 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26043 wxImageList
*arg2
= (wxImageList
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self",(char *) "imageList", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26054 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 (arg1
)->AssignStateImageList(arg2
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 Py_INCREF(Py_None
); resultobj
= Py_None
;
26069 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26072 wxTreeItemId
*arg2
= 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "item", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26086 if (arg2
== NULL
) {
26087 PyErr_SetString(PyExc_TypeError
,"null reference");
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26092 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26110 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26113 wxTreeItemId
*arg2
= 0 ;
26114 int arg3
= (int) wxTreeItemIcon_Normal
;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 PyObject
* obj2
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "item",(char *) "which", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26129 if (arg2
== NULL
) {
26130 PyErr_SetString(PyExc_TypeError
,"null reference");
26134 arg3
= (int)SWIG_As_int(obj2
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_From_int((int)result
);
26151 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26154 wxTreeItemId
*arg2
= 0 ;
26155 wxPyTreeItemData
*result
;
26156 PyObject
* obj0
= 0 ;
26157 PyObject
* obj1
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self",(char *) "item", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26168 if (arg2
== NULL
) {
26169 PyErr_SetString(PyExc_TypeError
,"null reference");
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26186 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
;
26188 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26189 wxTreeItemId
*arg2
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char *kwnames
[] = {
26194 (char *) "self",(char *) "item", NULL
26197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26203 if (arg2
== NULL
) {
26204 PyErr_SetString(PyExc_TypeError
,"null reference");
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= result
;
26221 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26224 wxTreeItemId
*arg2
= 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "item", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26238 if (arg2
== NULL
) {
26239 PyErr_SetString(PyExc_TypeError
,"null reference");
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26250 wxColour
* resultptr
;
26251 resultptr
= new wxColour((wxColour
&) result
);
26252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26260 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
;
26262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26263 wxTreeItemId
*arg2
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "item", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26277 if (arg2
== NULL
) {
26278 PyErr_SetString(PyExc_TypeError
,"null reference");
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 wxColour
* resultptr
;
26290 resultptr
= new wxColour((wxColour
&) result
);
26291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26299 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26302 wxTreeItemId
*arg2
= 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "item", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26316 if (arg2
== NULL
) {
26317 PyErr_SetString(PyExc_TypeError
,"null reference");
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 wxFont
* resultptr
;
26329 resultptr
= new wxFont((wxFont
&) result
);
26330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26338 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId
*arg2
= 0 ;
26342 wxString
*arg3
= 0 ;
26343 bool temp3
= false ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 PyObject
* obj2
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "item",(char *) "text", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26357 if (arg2
== NULL
) {
26358 PyErr_SetString(PyExc_TypeError
,"null reference");
26362 arg3
= wxString_in_helper(obj2
);
26363 if (arg3
== NULL
) SWIG_fail
;
26367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 Py_INCREF(Py_None
); resultobj
= Py_None
;
26388 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
;
26390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26391 wxTreeItemId
*arg2
= 0 ;
26393 int arg4
= (int) wxTreeItemIcon_Normal
;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 PyObject
* obj2
= 0 ;
26397 PyObject
* obj3
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26408 if (arg2
== NULL
) {
26409 PyErr_SetString(PyExc_TypeError
,"null reference");
26412 arg3
= (int)SWIG_As_int(obj2
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 arg4
= (int)SWIG_As_int(obj3
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 Py_INCREF(Py_None
); resultobj
= Py_None
;
26432 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26435 wxTreeItemId
*arg2
= 0 ;
26436 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "item",(char *) "data", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26450 if (arg2
== NULL
) {
26451 PyErr_SetString(PyExc_TypeError
,"null reference");
26454 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26463 Py_INCREF(Py_None
); resultobj
= Py_None
;
26470 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
;
26472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26473 wxTreeItemId
*arg2
= 0 ;
26474 PyObject
*arg3
= (PyObject
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 PyObject
* obj2
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self",(char *) "item",(char *) "obj", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26488 if (arg2
== NULL
) {
26489 PyErr_SetString(PyExc_TypeError
,"null reference");
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26507 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26510 wxTreeItemId
*arg2
= 0 ;
26511 bool arg3
= (bool) true ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 PyObject
* obj2
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "item",(char *) "has", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26525 if (arg2
== NULL
) {
26526 PyErr_SetString(PyExc_TypeError
,"null reference");
26530 arg3
= (bool)SWIG_As_bool(obj2
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 Py_INCREF(Py_None
); resultobj
= Py_None
;
26547 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26550 wxTreeItemId
*arg2
= 0 ;
26551 bool arg3
= (bool) true ;
26552 PyObject
* obj0
= 0 ;
26553 PyObject
* obj1
= 0 ;
26554 PyObject
* obj2
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "item",(char *) "bold", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26565 if (arg2
== NULL
) {
26566 PyErr_SetString(PyExc_TypeError
,"null reference");
26570 arg3
= (bool)SWIG_As_bool(obj2
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 Py_INCREF(Py_None
); resultobj
= Py_None
;
26587 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26590 wxTreeItemId
*arg2
= 0 ;
26591 bool arg3
= (bool) true ;
26592 PyObject
* obj0
= 0 ;
26593 PyObject
* obj1
= 0 ;
26594 PyObject
* obj2
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self",(char *) "item",(char *) "highlight", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26605 if (arg2
== NULL
) {
26606 PyErr_SetString(PyExc_TypeError
,"null reference");
26610 arg3
= (bool)SWIG_As_bool(obj2
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26630 wxTreeItemId
*arg2
= 0 ;
26631 wxColour
*arg3
= 0 ;
26633 PyObject
* obj0
= 0 ;
26634 PyObject
* obj1
= 0 ;
26635 PyObject
* obj2
= 0 ;
26636 char *kwnames
[] = {
26637 (char *) "self",(char *) "item",(char *) "col", NULL
26640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26646 if (arg2
== NULL
) {
26647 PyErr_SetString(PyExc_TypeError
,"null reference");
26652 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 Py_INCREF(Py_None
); resultobj
= Py_None
;
26668 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
;
26670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26671 wxTreeItemId
*arg2
= 0 ;
26672 wxColour
*arg3
= 0 ;
26674 PyObject
* obj0
= 0 ;
26675 PyObject
* obj1
= 0 ;
26676 PyObject
* obj2
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "item",(char *) "col", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26687 if (arg2
== NULL
) {
26688 PyErr_SetString(PyExc_TypeError
,"null reference");
26693 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 Py_INCREF(Py_None
); resultobj
= Py_None
;
26709 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26712 wxTreeItemId
*arg2
= 0 ;
26714 PyObject
* obj0
= 0 ;
26715 PyObject
* obj1
= 0 ;
26716 PyObject
* obj2
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self",(char *) "item",(char *) "font", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26727 if (arg2
== NULL
) {
26728 PyErr_SetString(PyExc_TypeError
,"null reference");
26731 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26734 if (arg3
== NULL
) {
26735 PyErr_SetString(PyExc_TypeError
,"null reference");
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26755 wxTreeItemId
*arg2
= 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "self",(char *) "item", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26769 if (arg2
== NULL
) {
26770 PyErr_SetString(PyExc_TypeError
,"null reference");
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26789 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
;
26791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26792 wxTreeItemId
*arg2
= 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "item", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26806 if (arg2
== NULL
) {
26807 PyErr_SetString(PyExc_TypeError
,"null reference");
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26826 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26829 wxTreeItemId
*arg2
= 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "item", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26843 if (arg2
== NULL
) {
26844 PyErr_SetString(PyExc_TypeError
,"null reference");
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26863 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26866 wxTreeItemId
*arg2
= 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "item", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26880 if (arg2
== NULL
) {
26881 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26900 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26903 wxTreeItemId
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "item", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26917 if (arg2
== NULL
) {
26918 PyErr_SetString(PyExc_TypeError
,"null reference");
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26940 wxTreeItemId
*arg2
= 0 ;
26941 bool arg3
= (bool) true ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 PyObject
* obj2
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "item",(char *) "recursively", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26956 if (arg2
== NULL
) {
26957 PyErr_SetString(PyExc_TypeError
,"null reference");
26961 arg3
= (bool)SWIG_As_bool(obj2
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26978 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26981 wxTreeItemId result
;
26982 PyObject
* obj0
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 wxTreeItemId
* resultptr
;
26999 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27008 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27011 wxTreeItemId result
;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 wxTreeItemId
* resultptr
;
27029 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27038 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27042 PyObject
* obj0
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27052 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= result
;
27064 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
;
27066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27067 wxTreeItemId
*arg2
= 0 ;
27068 wxTreeItemId result
;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "item", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27081 if (arg2
== NULL
) {
27082 PyErr_SetString(PyExc_TypeError
,"null reference");
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 wxTreeItemId
* resultptr
;
27094 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27103 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27106 wxTreeItemId
*arg2
= 0 ;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "item", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27120 if (arg2
== NULL
) {
27121 PyErr_SetString(PyExc_TypeError
,"null reference");
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= result
;
27138 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27141 wxTreeItemId
*arg2
= 0 ;
27142 void *arg3
= (void *) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 PyObject
* obj2
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "item",(char *) "cookie", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27157 if (arg2
== NULL
) {
27158 PyErr_SetString(PyExc_TypeError
,"null reference");
27161 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= result
;
27176 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27179 wxTreeItemId
*arg2
= 0 ;
27180 wxTreeItemId result
;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self",(char *) "item", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27193 if (arg2
== NULL
) {
27194 PyErr_SetString(PyExc_TypeError
,"null reference");
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 wxTreeItemId
* resultptr
;
27206 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27215 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27218 wxTreeItemId
*arg2
= 0 ;
27219 wxTreeItemId result
;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "item", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27232 if (arg2
== NULL
) {
27233 PyErr_SetString(PyExc_TypeError
,"null reference");
27237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27238 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27240 wxPyEndAllowThreads(__tstate
);
27241 if (PyErr_Occurred()) SWIG_fail
;
27244 wxTreeItemId
* resultptr
;
27245 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27254 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27257 wxTreeItemId
*arg2
= 0 ;
27258 wxTreeItemId result
;
27259 PyObject
* obj0
= 0 ;
27260 PyObject
* obj1
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self",(char *) "item", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27271 if (arg2
== NULL
) {
27272 PyErr_SetString(PyExc_TypeError
,"null reference");
27276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27279 wxPyEndAllowThreads(__tstate
);
27280 if (PyErr_Occurred()) SWIG_fail
;
27283 wxTreeItemId
* resultptr
;
27284 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27293 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
;
27295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27296 wxTreeItemId result
;
27297 PyObject
* obj0
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27313 wxTreeItemId
* resultptr
;
27314 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27323 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27324 PyObject
*resultobj
;
27325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27326 wxTreeItemId
*arg2
= 0 ;
27327 wxTreeItemId result
;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "self",(char *) "item", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27340 if (arg2
== NULL
) {
27341 PyErr_SetString(PyExc_TypeError
,"null reference");
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27352 wxTreeItemId
* resultptr
;
27353 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27362 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27365 wxTreeItemId
*arg2
= 0 ;
27366 wxTreeItemId result
;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self",(char *) "item", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27379 if (arg2
== NULL
) {
27380 PyErr_SetString(PyExc_TypeError
,"null reference");
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27391 wxTreeItemId
* resultptr
;
27392 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27401 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27404 wxString
*arg2
= 0 ;
27405 int arg3
= (int) -1 ;
27406 int arg4
= (int) -1 ;
27407 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27408 wxTreeItemId result
;
27409 bool temp2
= false ;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 PyObject
* obj2
= 0 ;
27413 PyObject
* obj3
= 0 ;
27414 PyObject
* obj4
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 arg2
= wxString_in_helper(obj1
);
27424 if (arg2
== NULL
) SWIG_fail
;
27428 arg3
= (int)SWIG_As_int(obj2
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 arg4
= (int)SWIG_As_int(obj3
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 wxTreeItemId
* resultptr
;
27448 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27465 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27468 wxTreeItemId
*arg2
= 0 ;
27469 wxString
*arg3
= 0 ;
27470 int arg4
= (int) -1 ;
27471 int arg5
= (int) -1 ;
27472 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27473 wxTreeItemId result
;
27474 bool temp3
= false ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 PyObject
* obj2
= 0 ;
27478 PyObject
* obj3
= 0 ;
27479 PyObject
* obj4
= 0 ;
27480 PyObject
* obj5
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27491 if (arg2
== NULL
) {
27492 PyErr_SetString(PyExc_TypeError
,"null reference");
27496 arg3
= wxString_in_helper(obj2
);
27497 if (arg3
== NULL
) SWIG_fail
;
27501 arg4
= (int)SWIG_As_int(obj3
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27505 arg5
= (int)SWIG_As_int(obj4
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27520 wxTreeItemId
* resultptr
;
27521 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27538 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27541 wxTreeItemId
*arg2
= 0 ;
27542 wxTreeItemId
*arg3
= 0 ;
27543 wxString
*arg4
= 0 ;
27544 int arg5
= (int) -1 ;
27545 int arg6
= (int) -1 ;
27546 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27547 wxTreeItemId result
;
27548 bool temp4
= false ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 PyObject
* obj2
= 0 ;
27552 PyObject
* obj3
= 0 ;
27553 PyObject
* obj4
= 0 ;
27554 PyObject
* obj5
= 0 ;
27555 PyObject
* obj6
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27566 if (arg2
== NULL
) {
27567 PyErr_SetString(PyExc_TypeError
,"null reference");
27570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27573 if (arg3
== NULL
) {
27574 PyErr_SetString(PyExc_TypeError
,"null reference");
27578 arg4
= wxString_in_helper(obj3
);
27579 if (arg4
== NULL
) SWIG_fail
;
27583 arg5
= (int)SWIG_As_int(obj4
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 arg6
= (int)SWIG_As_int(obj5
);
27588 if (PyErr_Occurred()) SWIG_fail
;
27591 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27602 wxTreeItemId
* resultptr
;
27603 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27620 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27623 wxTreeItemId
*arg2
= 0 ;
27625 wxString
*arg4
= 0 ;
27626 int arg5
= (int) -1 ;
27627 int arg6
= (int) -1 ;
27628 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27629 wxTreeItemId result
;
27630 bool temp4
= false ;
27631 PyObject
* obj0
= 0 ;
27632 PyObject
* obj1
= 0 ;
27633 PyObject
* obj2
= 0 ;
27634 PyObject
* obj3
= 0 ;
27635 PyObject
* obj4
= 0 ;
27636 PyObject
* obj5
= 0 ;
27637 PyObject
* obj6
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27648 if (arg2
== NULL
) {
27649 PyErr_SetString(PyExc_TypeError
,"null reference");
27652 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 arg4
= wxString_in_helper(obj3
);
27656 if (arg4
== NULL
) SWIG_fail
;
27660 arg5
= (int)SWIG_As_int(obj4
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27664 arg6
= (int)SWIG_As_int(obj5
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27668 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27679 wxTreeItemId
* resultptr
;
27680 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27697 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27700 wxTreeItemId
*arg2
= 0 ;
27701 wxString
*arg3
= 0 ;
27702 int arg4
= (int) -1 ;
27703 int arg5
= (int) -1 ;
27704 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27705 wxTreeItemId result
;
27706 bool temp3
= false ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 PyObject
* obj2
= 0 ;
27710 PyObject
* obj3
= 0 ;
27711 PyObject
* obj4
= 0 ;
27712 PyObject
* obj5
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27723 if (arg2
== NULL
) {
27724 PyErr_SetString(PyExc_TypeError
,"null reference");
27728 arg3
= wxString_in_helper(obj2
);
27729 if (arg3
== NULL
) SWIG_fail
;
27733 arg4
= (int)SWIG_As_int(obj3
);
27734 if (PyErr_Occurred()) SWIG_fail
;
27737 arg5
= (int)SWIG_As_int(obj4
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 wxTreeItemId
* resultptr
;
27753 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27754 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27770 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27773 wxTreeItemId
*arg2
= 0 ;
27774 PyObject
* obj0
= 0 ;
27775 PyObject
* obj1
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self",(char *) "item", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27786 if (arg2
== NULL
) {
27787 PyErr_SetString(PyExc_TypeError
,"null reference");
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27807 wxTreeItemId
*arg2
= 0 ;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "item", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27820 if (arg2
== NULL
) {
27821 PyErr_SetString(PyExc_TypeError
,"null reference");
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 (arg1
)->DeleteAllItems();
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 Py_INCREF(Py_None
); resultobj
= Py_None
;
27863 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27864 PyObject
*resultobj
;
27865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27866 wxTreeItemId
*arg2
= 0 ;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self",(char *) "item", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27879 if (arg2
== NULL
) {
27880 PyErr_SetString(PyExc_TypeError
,"null reference");
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 Py_INCREF(Py_None
); resultobj
= Py_None
;
27897 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27900 wxTreeItemId
*arg2
= 0 ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self",(char *) "item", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27913 if (arg2
== NULL
) {
27914 PyErr_SetString(PyExc_TypeError
,"null reference");
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 Py_INCREF(Py_None
); resultobj
= Py_None
;
27931 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27934 wxTreeItemId
*arg2
= 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "item", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27947 if (arg2
== NULL
) {
27948 PyErr_SetString(PyExc_TypeError
,"null reference");
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 Py_INCREF(Py_None
); resultobj
= Py_None
;
27965 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27968 wxTreeItemId
*arg2
= 0 ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self",(char *) "item", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27981 if (arg2
== NULL
) {
27982 PyErr_SetString(PyExc_TypeError
,"null reference");
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
27999 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
;
28001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 (arg1
)->Unselect();
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 Py_INCREF(Py_None
); resultobj
= Py_None
;
28024 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28027 wxTreeItemId
*arg2
= 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "item", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28040 if (arg2
== NULL
) {
28041 PyErr_SetString(PyExc_TypeError
,"null reference");
28045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28046 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 Py_INCREF(Py_None
); resultobj
= Py_None
;
28058 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
;
28060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 (arg1
)->UnselectAll();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 Py_INCREF(Py_None
); resultobj
= Py_None
;
28083 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28086 wxTreeItemId
*arg2
= 0 ;
28087 bool arg3
= (bool) true ;
28088 PyObject
* obj0
= 0 ;
28089 PyObject
* obj1
= 0 ;
28090 PyObject
* obj2
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "item",(char *) "select", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28101 if (arg2
== NULL
) {
28102 PyErr_SetString(PyExc_TypeError
,"null reference");
28106 arg3
= (bool)SWIG_As_bool(obj2
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 Py_INCREF(Py_None
); resultobj
= Py_None
;
28123 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28126 wxTreeItemId
*arg2
= 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self",(char *) "item", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28139 if (arg2
== NULL
) {
28140 PyErr_SetString(PyExc_TypeError
,"null reference");
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28150 Py_INCREF(Py_None
); resultobj
= Py_None
;
28157 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
;
28159 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28160 wxTreeItemId
*arg2
= 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self",(char *) "item", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28173 if (arg2
== NULL
) {
28174 PyErr_SetString(PyExc_TypeError
,"null reference");
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 Py_INCREF(Py_None
); resultobj
= Py_None
;
28191 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28194 wxTreeItemId
*arg2
= 0 ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self",(char *) "item", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28207 if (arg2
== NULL
) {
28208 PyErr_SetString(PyExc_TypeError
,"null reference");
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28213 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 Py_INCREF(Py_None
); resultobj
= Py_None
;
28225 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
;
28227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28228 wxTreeItemId
*arg2
= 0 ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self",(char *) "item", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28241 if (arg2
== NULL
) {
28242 PyErr_SetString(PyExc_TypeError
,"null reference");
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 Py_INCREF(Py_None
); resultobj
= Py_None
;
28259 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28262 wxTextCtrl
*result
;
28263 PyObject
* obj0
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28279 resultobj
= wxPyMake_wxObject(result
, 0);
28287 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28290 wxTreeItemId
*arg2
= 0 ;
28291 bool arg3
= (bool) false ;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 PyObject
* obj2
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28302 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28305 if (arg2
== NULL
) {
28306 PyErr_SetString(PyExc_TypeError
,"null reference");
28310 arg3
= (bool)SWIG_As_bool(obj2
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 Py_INCREF(Py_None
); resultobj
= Py_None
;
28327 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28330 wxTreeItemId
*arg2
= 0 ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "item", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28343 if (arg2
== NULL
) {
28344 PyErr_SetString(PyExc_TypeError
,"null reference");
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 Py_INCREF(Py_None
); resultobj
= Py_None
;
28361 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28364 wxPoint
*arg2
= 0 ;
28366 wxTreeItemId result
;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self",(char *) "point", NULL
28376 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 wxTreeItemId
* resultptr
;
28393 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28396 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28397 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28404 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28407 wxTreeItemId
*arg2
= 0 ;
28408 bool arg3
= (bool) false ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 PyObject
* obj2
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28423 if (arg2
== NULL
) {
28424 PyErr_SetString(PyExc_TypeError
,"null reference");
28428 arg3
= (bool)SWIG_As_bool(obj2
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= result
;
28445 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28446 PyObject
*resultobj
;
28447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28448 wxTreeItemId
*arg2
= 0 ;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 PyObject
* obj2
= 0 ;
28453 char *kwnames
[] = {
28454 (char *) "self",(char *) "node",(char *) "state", NULL
28457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28463 if (arg2
== NULL
) {
28464 PyErr_SetString(PyExc_TypeError
,"null reference");
28467 arg3
= (int)SWIG_As_int(obj2
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28483 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28486 wxTreeItemId
*arg2
= 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self",(char *) "node", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28500 if (arg2
== NULL
) {
28501 PyErr_SetString(PyExc_TypeError
,"null reference");
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 resultobj
= SWIG_From_int((int)result
);
28518 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28521 wxVisualAttributes result
;
28522 PyObject
* obj0
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "variant", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28529 arg1
= (int)SWIG_As_int(obj0
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 if (!wxPyCheckForApp()) SWIG_fail
;
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28541 wxVisualAttributes
* resultptr
;
28542 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28551 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28554 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28556 return Py_BuildValue((char *)"");
28558 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28559 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28564 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28569 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28571 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28578 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxWindow
*arg1
= (wxWindow
*) 0 ;
28581 int arg2
= (int) (int)-1 ;
28582 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28583 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28588 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28589 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28591 int arg8
= (int) 0 ;
28592 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28593 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28594 wxGenericDirCtrl
*result
;
28595 bool temp3
= false ;
28598 bool temp7
= false ;
28599 bool temp9
= false ;
28600 PyObject
* obj0
= 0 ;
28601 PyObject
* obj1
= 0 ;
28602 PyObject
* obj2
= 0 ;
28603 PyObject
* obj3
= 0 ;
28604 PyObject
* obj4
= 0 ;
28605 PyObject
* obj5
= 0 ;
28606 PyObject
* obj6
= 0 ;
28607 PyObject
* obj7
= 0 ;
28608 PyObject
* obj8
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 arg2
= (int)SWIG_As_int(obj1
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28622 arg3
= wxString_in_helper(obj2
);
28623 if (arg3
== NULL
) SWIG_fail
;
28630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28640 arg6
= (long)SWIG_As_long(obj5
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28645 arg7
= wxString_in_helper(obj6
);
28646 if (arg7
== NULL
) SWIG_fail
;
28651 arg8
= (int)SWIG_As_int(obj7
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28656 arg9
= wxString_in_helper(obj8
);
28657 if (arg9
== NULL
) SWIG_fail
;
28662 if (!wxPyCheckForApp()) SWIG_fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28700 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxGenericDirCtrl
*result
;
28703 char *kwnames
[] = {
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28709 if (!wxPyCheckForApp()) SWIG_fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28723 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28726 wxWindow
*arg2
= (wxWindow
*) 0 ;
28727 int arg3
= (int) (int)-1 ;
28728 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28729 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28730 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28731 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28732 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28733 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28734 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28735 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28736 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28737 int arg9
= (int) 0 ;
28738 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28739 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28741 bool temp4
= false ;
28744 bool temp8
= false ;
28745 bool temp10
= false ;
28746 PyObject
* obj0
= 0 ;
28747 PyObject
* obj1
= 0 ;
28748 PyObject
* obj2
= 0 ;
28749 PyObject
* obj3
= 0 ;
28750 PyObject
* obj4
= 0 ;
28751 PyObject
* obj5
= 0 ;
28752 PyObject
* obj6
= 0 ;
28753 PyObject
* obj7
= 0 ;
28754 PyObject
* obj8
= 0 ;
28755 PyObject
* obj9
= 0 ;
28756 char *kwnames
[] = {
28757 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 arg3
= (int)SWIG_As_int(obj2
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28771 arg4
= wxString_in_helper(obj3
);
28772 if (arg4
== NULL
) SWIG_fail
;
28779 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28785 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28789 arg7
= (long)SWIG_As_long(obj6
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28794 arg8
= wxString_in_helper(obj7
);
28795 if (arg8
== NULL
) SWIG_fail
;
28800 arg9
= (int)SWIG_As_int(obj8
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28805 arg10
= wxString_in_helper(obj9
);
28806 if (arg10
== NULL
) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28850 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28853 wxString
*arg2
= 0 ;
28855 bool temp2
= false ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char *kwnames
[] = {
28859 (char *) "self",(char *) "path", NULL
28862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28866 arg2
= wxString_in_helper(obj1
);
28867 if (arg2
== NULL
) SWIG_fail
;
28871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28872 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28894 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28895 PyObject
*resultobj
;
28896 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "self", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28926 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28929 wxString
*arg2
= 0 ;
28930 bool temp2
= false ;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 char *kwnames
[] = {
28934 (char *) "self",(char *) "path", NULL
28937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28941 arg2
= wxString_in_helper(obj1
);
28942 if (arg2
== NULL
) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 Py_INCREF(Py_None
); resultobj
= Py_None
;
28967 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
;
28969 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28971 PyObject
* obj0
= 0 ;
28972 char *kwnames
[] = {
28973 (char *) "self", NULL
28976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28999 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
;
29001 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29003 PyObject
* obj0
= 0 ;
29004 char *kwnames
[] = {
29005 (char *) "self", NULL
29008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
29009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29031 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29032 PyObject
*resultobj
;
29033 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29034 wxString
*arg2
= 0 ;
29035 bool temp2
= false ;
29036 PyObject
* obj0
= 0 ;
29037 PyObject
* obj1
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self",(char *) "path", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
29043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29046 arg2
= wxString_in_helper(obj1
);
29047 if (arg2
== NULL
) SWIG_fail
;
29051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 (arg1
)->SetPath((wxString
const &)*arg2
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 Py_INCREF(Py_None
); resultobj
= Py_None
;
29072 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "show", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
29083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 arg2
= (bool)SWIG_As_bool(obj1
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->ShowHidden(arg2
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 Py_INCREF(Py_None
); resultobj
= Py_None
;
29101 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 result
= (bool)(arg1
)->GetShowHidden();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29129 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29161 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29164 wxString
*arg2
= 0 ;
29165 bool temp2
= false ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 char *kwnames
[] = {
29169 (char *) "self",(char *) "filter", NULL
29172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
29173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29176 arg2
= wxString_in_helper(obj1
);
29177 if (arg2
== NULL
) SWIG_fail
;
29181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29182 (arg1
)->SetFilter((wxString
const &)*arg2
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 Py_INCREF(Py_None
); resultobj
= Py_None
;
29202 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29206 PyObject
* obj0
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
29212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 resultobj
= SWIG_From_int((int)result
);
29228 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
;
29230 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 char *kwnames
[] = {
29235 (char *) "self",(char *) "n", NULL
29238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
29239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29241 arg2
= (int)SWIG_As_int(obj1
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 (arg1
)->SetFilterIndex(arg2
);
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29250 Py_INCREF(Py_None
); resultobj
= Py_None
;
29257 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
;
29259 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29260 wxTreeItemId result
;
29261 PyObject
* obj0
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (arg1
)->GetRootId();
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 wxTreeItemId
* resultptr
;
29278 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29287 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29288 PyObject
*resultobj
;
29289 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29290 wxPyTreeCtrl
*result
;
29291 PyObject
* obj0
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 resultobj
= wxPyMake_wxObject(result
, 0);
29315 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29318 wxDirFilterListCtrl
*result
;
29319 PyObject
* obj0
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29341 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29342 PyObject
*resultobj
;
29343 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29344 wxTreeItemId arg2
;
29345 wxString
*arg3
= 0 ;
29347 wxTreeItemId result
;
29348 wxTreeItemId
*argp2
;
29349 bool temp3
= false ;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "parentId",(char *) "path", NULL
29359 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29364 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29367 arg3
= wxString_in_helper(obj2
);
29368 if (arg3
== NULL
) SWIG_fail
;
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29373 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29379 wxTreeItemId
* resultptr
;
29380 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29383 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29384 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29399 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 char *kwnames
[] = {
29404 (char *) "self", NULL
29407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 (arg1
)->DoResize();
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29417 Py_INCREF(Py_None
); resultobj
= Py_None
;
29424 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29425 PyObject
*resultobj
;
29426 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29427 PyObject
* obj0
= 0 ;
29428 char *kwnames
[] = {
29429 (char *) "self", NULL
29432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 (arg1
)->ReCreateTree();
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 Py_INCREF(Py_None
); resultobj
= Py_None
;
29449 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29452 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29454 return Py_BuildValue((char *)"");
29456 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29459 int arg2
= (int) (int)-1 ;
29460 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29461 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29462 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29463 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29464 long arg5
= (long) 0 ;
29465 wxDirFilterListCtrl
*result
;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 PyObject
* obj4
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29481 arg2
= (int)SWIG_As_int(obj1
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29487 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29493 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29497 arg5
= (long)SWIG_As_long(obj4
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29501 if (!wxPyCheckForApp()) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29515 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
;
29517 wxDirFilterListCtrl
*result
;
29518 char *kwnames
[] = {
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29524 if (!wxPyCheckForApp()) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29538 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29541 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29542 int arg3
= (int) (int)-1 ;
29543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29547 long arg6
= (long) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 PyObject
* obj3
= 0 ;
29555 PyObject
* obj4
= 0 ;
29556 PyObject
* obj5
= 0 ;
29557 char *kwnames
[] = {
29558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 arg3
= (int)SWIG_As_int(obj2
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29583 arg6
= (long)SWIG_As_long(obj5
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29602 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
;
29604 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29605 wxString
*arg2
= 0 ;
29607 bool temp2
= false ;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 PyObject
* obj2
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29619 arg2
= wxString_in_helper(obj1
);
29620 if (arg2
== NULL
) SWIG_fail
;
29623 arg3
= (int)SWIG_As_int(obj2
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 Py_INCREF(Py_None
); resultobj
= Py_None
;
29647 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29650 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29652 return Py_BuildValue((char *)"");
29654 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
;
29656 wxWindow
*arg1
= (wxWindow
*) 0 ;
29657 int arg2
= (int) (int)-1 ;
29658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29662 long arg5
= (long) 0 ;
29663 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29664 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29665 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29667 wxPyControl
*result
;
29670 bool temp7
= false ;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 PyObject
* obj2
= 0 ;
29674 PyObject
* obj3
= 0 ;
29675 PyObject
* obj4
= 0 ;
29676 PyObject
* obj5
= 0 ;
29677 PyObject
* obj6
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29686 arg2
= (int)SWIG_As_int(obj1
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29692 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29698 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29702 arg5
= (long)SWIG_As_long(obj4
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29706 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29709 if (arg6
== NULL
) {
29710 PyErr_SetString(PyExc_TypeError
,"null reference");
29716 arg7
= wxString_in_helper(obj6
);
29717 if (arg7
== NULL
) SWIG_fail
;
29722 if (!wxPyCheckForApp()) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29744 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxPyControl
*result
;
29747 char *kwnames
[] = {
29751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29753 if (!wxPyCheckForApp()) SWIG_fail
;
29754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29755 result
= (wxPyControl
*)new wxPyControl();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29767 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29770 PyObject
*arg2
= (PyObject
*) 0 ;
29771 PyObject
*arg3
= (PyObject
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 PyObject
* obj2
= 0 ;
29775 char *kwnames
[] = {
29776 (char *) "self",(char *) "self",(char *) "_class", NULL
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 Py_INCREF(Py_None
); resultobj
= Py_None
;
29798 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self",(char *) "size", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 Py_INCREF(Py_None
); resultobj
= Py_None
;
29830 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 PyObject
* obj2
= 0 ;
29840 PyObject
* obj3
= 0 ;
29841 PyObject
* obj4
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29849 arg2
= (int)SWIG_As_int(obj1
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29851 arg3
= (int)SWIG_As_int(obj2
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29853 arg4
= (int)SWIG_As_int(obj3
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29855 arg5
= (int)SWIG_As_int(obj4
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29861 wxPyEndAllowThreads(__tstate
);
29862 if (PyErr_Occurred()) SWIG_fail
;
29864 Py_INCREF(Py_None
); resultobj
= Py_None
;
29871 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29878 int arg6
= (int) wxSIZE_AUTO
;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 PyObject
* obj2
= 0 ;
29882 PyObject
* obj3
= 0 ;
29883 PyObject
* obj4
= 0 ;
29884 PyObject
* obj5
= 0 ;
29885 char *kwnames
[] = {
29886 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29892 arg2
= (int)SWIG_As_int(obj1
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29894 arg3
= (int)SWIG_As_int(obj2
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29896 arg4
= (int)SWIG_As_int(obj3
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29898 arg5
= (int)SWIG_As_int(obj4
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 arg6
= (int)SWIG_As_int(obj5
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 Py_INCREF(Py_None
); resultobj
= Py_None
;
29918 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
;
29920 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 PyObject
* obj2
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "width",(char *) "height", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29933 arg2
= (int)SWIG_As_int(obj1
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29935 arg3
= (int)SWIG_As_int(obj2
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 Py_INCREF(Py_None
); resultobj
= Py_None
;
29951 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 PyObject
* obj2
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self",(char *) "x",(char *) "y", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29966 arg2
= (int)SWIG_As_int(obj1
);
29967 if (PyErr_Occurred()) SWIG_fail
;
29968 arg3
= (int)SWIG_As_int(obj2
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 Py_INCREF(Py_None
); resultobj
= Py_None
;
29984 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
;
29986 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29987 int *arg2
= (int *) 0 ;
29988 int *arg3
= (int *) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self", NULL
29998 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29999 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
30001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 Py_INCREF(Py_None
); resultobj
= Py_None
;
30011 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30012 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30013 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30014 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30021 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30024 int *arg2
= (int *) 0 ;
30025 int *arg3
= (int *) 0 ;
30030 PyObject
* obj0
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self", NULL
30035 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 Py_INCREF(Py_None
); resultobj
= Py_None
;
30048 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30049 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30050 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30051 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30058 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30061 int *arg2
= (int *) 0 ;
30062 int *arg3
= (int *) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30073 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
30075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 Py_INCREF(Py_None
); resultobj
= Py_None
;
30085 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30086 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30087 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30088 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30095 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30096 PyObject
*resultobj
;
30097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30099 PyObject
* obj0
= 0 ;
30100 char *kwnames
[] = {
30101 (char *) "self", NULL
30104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
30105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30115 wxSize
* resultptr
;
30116 resultptr
= new wxSize((wxSize
&) result
);
30117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30125 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
30135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30145 wxSize
* resultptr
;
30146 resultptr
= new wxSize((wxSize
&) result
);
30147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30155 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
30164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 (arg1
)->base_InitDialog();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 Py_INCREF(Py_None
); resultobj
= Py_None
;
30180 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
;
30182 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30184 PyObject
* obj0
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "self", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
30190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 result
= (bool)(arg1
)->base_TransferDataToWindow();
30196 wxPyEndAllowThreads(__tstate
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30208 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30212 PyObject
* obj0
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "self", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
30218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (bool)(arg1
)->base_TransferDataFromWindow();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30236 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
30246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (bool)(arg1
)->base_Validate();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30264 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
;
30266 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 char *kwnames
[] = {
30270 (char *) "self", NULL
30273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30292 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30296 PyObject
* obj0
= 0 ;
30297 char *kwnames
[] = {
30298 (char *) "self", NULL
30301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30320 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
;
30322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30324 PyObject
* obj0
= 0 ;
30325 char *kwnames
[] = {
30326 (char *) "self", NULL
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30340 wxSize
* resultptr
;
30341 resultptr
= new wxSize((wxSize
&) result
);
30342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30350 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30353 wxWindow
*arg2
= (wxWindow
*) 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "child", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 (arg1
)->base_AddChild(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 Py_INCREF(Py_None
); resultobj
= Py_None
;
30379 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30380 PyObject
*resultobj
;
30381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30382 wxWindow
*arg2
= (wxWindow
*) 0 ;
30383 PyObject
* obj0
= 0 ;
30384 PyObject
* obj1
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self",(char *) "child", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 (arg1
)->base_RemoveChild(arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 Py_INCREF(Py_None
); resultobj
= Py_None
;
30408 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
;
30410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30412 PyObject
* obj0
= 0 ;
30413 char *kwnames
[] = {
30414 (char *) "self", NULL
30417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30436 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30439 wxColour
*arg2
= 0 ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 char *kwnames
[] = {
30444 (char *) "self",(char *) "c", NULL
30447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 Py_INCREF(Py_None
); resultobj
= Py_None
;
30468 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30471 wxVisualAttributes result
;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (arg1
)->base_GetDefaultAttributes();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 wxVisualAttributes
* resultptr
;
30489 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30498 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30501 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30503 return Py_BuildValue((char *)"");
30505 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30508 int arg2
= (int) 0 ;
30509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30511 wxHelpEvent
*result
;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 char *kwnames
[] = {
30517 (char *) "type",(char *) "winid",(char *) "pt", NULL
30520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30522 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30526 arg2
= (int)SWIG_As_int(obj1
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30549 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30569 wxPoint
* resultptr
;
30570 resultptr
= new wxPoint((wxPoint
&) result
);
30571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30579 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30580 PyObject
*resultobj
;
30581 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30582 wxPoint
*arg2
= 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 char *kwnames
[] = {
30587 (char *) "self",(char *) "pos", NULL
30590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 Py_INCREF(Py_None
); resultobj
= Py_None
;
30611 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
;
30613 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30615 PyObject
* obj0
= 0 ;
30616 char *kwnames
[] = {
30617 (char *) "self", NULL
30620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30627 result
= (wxString
*) &_result_ref
;
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30646 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30649 wxString
*arg2
= 0 ;
30650 bool temp2
= false ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 char *kwnames
[] = {
30654 (char *) "self",(char *) "link", NULL
30657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30661 arg2
= wxString_in_helper(obj1
);
30662 if (arg2
== NULL
) SWIG_fail
;
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 (arg1
)->SetLink((wxString
const &)*arg2
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 Py_INCREF(Py_None
); resultobj
= Py_None
;
30687 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
;
30689 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30691 PyObject
* obj0
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30703 result
= (wxString
*) &_result_ref
;
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30722 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30725 wxString
*arg2
= 0 ;
30726 bool temp2
= false ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self",(char *) "target", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 arg2
= wxString_in_helper(obj1
);
30738 if (arg2
== NULL
) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 (arg1
)->SetTarget((wxString
const &)*arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30748 Py_INCREF(Py_None
); resultobj
= Py_None
;
30763 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30766 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30768 return Py_BuildValue((char *)"");
30770 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxWindow
*arg1
= (wxWindow
*) NULL
;
30773 bool arg2
= (bool) true ;
30774 wxContextHelp
*result
;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "window",(char *) "doNow", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 arg2
= (bool)SWIG_As_bool(obj1
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30791 if (!wxPyCheckForApp()) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30805 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30808 PyObject
* obj0
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 Py_INCREF(Py_None
); resultobj
= Py_None
;
30830 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30833 wxWindow
*arg2
= (wxWindow
*) NULL
;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self",(char *) "window", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30850 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30864 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
;
30866 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30868 PyObject
* obj0
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30878 result
= (bool)(arg1
)->EndContextHelp();
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30892 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30895 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30897 return Py_BuildValue((char *)"");
30899 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxWindow
*arg1
= (wxWindow
*) 0 ;
30902 int arg2
= (int) wxID_CONTEXT_HELP
;
30903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30905 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30906 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30907 long arg5
= (long) wxBU_AUTODRAW
;
30908 wxContextHelpButton
*result
;
30911 PyObject
* obj0
= 0 ;
30912 PyObject
* obj1
= 0 ;
30913 PyObject
* obj2
= 0 ;
30914 PyObject
* obj3
= 0 ;
30915 PyObject
* obj4
= 0 ;
30916 char *kwnames
[] = {
30917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30924 arg2
= (int)SWIG_As_int(obj1
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30940 arg5
= (long)SWIG_As_long(obj4
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30944 if (!wxPyCheckForApp()) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30958 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30961 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30963 return Py_BuildValue((char *)"");
30965 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30968 wxHelpProvider
*result
;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "helpProvider", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30991 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
;
30993 wxHelpProvider
*result
;
30994 char *kwnames
[] = {
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (wxHelpProvider
*)wxHelpProvider::Get();
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
31013 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
;
31015 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31016 wxWindow
*arg2
= (wxWindow
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char *kwnames
[] = {
31021 (char *) "self",(char *) "window", NULL
31024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
31033 wxPyEndAllowThreads(__tstate
);
31034 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31049 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31050 PyObject
*resultobj
;
31051 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31052 wxWindow
*arg2
= (wxWindow
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self",(char *) "window", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31067 result
= (bool)(arg1
)->ShowHelp(arg2
);
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31081 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31084 wxWindow
*arg2
= (wxWindow
*) 0 ;
31085 wxString
*arg3
= 0 ;
31086 bool temp3
= false ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 PyObject
* obj2
= 0 ;
31090 char *kwnames
[] = {
31091 (char *) "self",(char *) "window",(char *) "text", NULL
31094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 arg3
= wxString_in_helper(obj2
);
31101 if (arg3
== NULL
) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31111 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31130 wxString
*arg3
= 0 ;
31131 bool temp3
= false ;
31132 PyObject
* obj0
= 0 ;
31133 PyObject
* obj1
= 0 ;
31134 PyObject
* obj2
= 0 ;
31135 char *kwnames
[] = {
31136 (char *) "self",(char *) "id",(char *) "text", NULL
31139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31142 arg2
= (int)SWIG_As_int(obj1
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 arg3
= wxString_in_helper(obj2
);
31146 if (arg3
== NULL
) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 Py_INCREF(Py_None
); resultobj
= Py_None
;
31171 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31174 wxWindow
*arg2
= (wxWindow
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 PyObject
* obj1
= 0 ;
31177 char *kwnames
[] = {
31178 (char *) "self",(char *) "window", NULL
31181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 (arg1
)->RemoveHelp(arg2
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 Py_INCREF(Py_None
); resultobj
= Py_None
;
31200 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31201 PyObject
*resultobj
;
31202 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31203 PyObject
* obj0
= 0 ;
31204 char *kwnames
[] = {
31205 (char *) "self", NULL
31208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
31209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 wxHelpProvider_Destroy(arg1
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 Py_INCREF(Py_None
); resultobj
= Py_None
;
31225 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31228 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
31230 return Py_BuildValue((char *)"");
31232 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxSimpleHelpProvider
*result
;
31235 char *kwnames
[] = {
31239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31242 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31254 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31257 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31259 return Py_BuildValue((char *)"");
31261 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxBitmap
*arg1
= 0 ;
31264 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31265 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31266 wxGenericDragImage
*result
;
31267 PyObject
* obj0
= 0 ;
31268 PyObject
* obj1
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "image",(char *) "cursor", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31277 if (arg1
== NULL
) {
31278 PyErr_SetString(PyExc_TypeError
,"null reference");
31282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31285 if (arg2
== NULL
) {
31286 PyErr_SetString(PyExc_TypeError
,"null reference");
31291 if (!wxPyCheckForApp()) SWIG_fail
;
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31305 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
;
31308 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31309 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31310 wxGenericDragImage
*result
;
31311 PyObject
* obj0
= 0 ;
31312 PyObject
* obj1
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "image",(char *) "cursor", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31321 if (arg1
== NULL
) {
31322 PyErr_SetString(PyExc_TypeError
,"null reference");
31326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31329 if (arg2
== NULL
) {
31330 PyErr_SetString(PyExc_TypeError
,"null reference");
31335 if (!wxPyCheckForApp()) SWIG_fail
;
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31349 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxString
*arg1
= 0 ;
31352 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31353 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31354 wxGenericDragImage
*result
;
31355 bool temp1
= false ;
31356 PyObject
* obj0
= 0 ;
31357 PyObject
* obj1
= 0 ;
31358 char *kwnames
[] = {
31359 (char *) "str",(char *) "cursor", NULL
31362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31364 arg1
= wxString_in_helper(obj0
);
31365 if (arg1
== NULL
) SWIG_fail
;
31369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31372 if (arg2
== NULL
) {
31373 PyErr_SetString(PyExc_TypeError
,"null reference");
31378 if (!wxPyCheckForApp()) SWIG_fail
;
31379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31400 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxPyTreeCtrl
*arg1
= 0 ;
31403 wxTreeItemId
*arg2
= 0 ;
31404 wxGenericDragImage
*result
;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 char *kwnames
[] = {
31408 (char *) "treeCtrl",(char *) "id", NULL
31411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31415 if (arg1
== NULL
) {
31416 PyErr_SetString(PyExc_TypeError
,"null reference");
31419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31422 if (arg2
== NULL
) {
31423 PyErr_SetString(PyExc_TypeError
,"null reference");
31427 if (!wxPyCheckForApp()) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31441 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxPyListCtrl
*arg1
= 0 ;
31445 wxGenericDragImage
*result
;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "listCtrl",(char *) "id", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31456 if (arg1
== NULL
) {
31457 PyErr_SetString(PyExc_TypeError
,"null reference");
31460 arg2
= (long)SWIG_As_long(obj1
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 if (!wxPyCheckForApp()) SWIG_fail
;
31464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31465 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31467 wxPyEndAllowThreads(__tstate
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31477 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
;
31479 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31495 Py_INCREF(Py_None
); resultobj
= Py_None
;
31502 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31503 PyObject
*resultobj
;
31504 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31505 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31506 PyObject
* obj0
= 0 ;
31507 PyObject
* obj1
= 0 ;
31508 char *kwnames
[] = {
31509 (char *) "self",(char *) "bitmap", NULL
31512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->SetBackingBitmap(arg2
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 Py_INCREF(Py_None
); resultobj
= Py_None
;
31531 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31533 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31534 wxPoint
*arg2
= 0 ;
31535 wxWindow
*arg3
= (wxWindow
*) 0 ;
31536 bool arg4
= (bool) false ;
31537 wxRect
*arg5
= (wxRect
*) NULL
;
31540 PyObject
* obj0
= 0 ;
31541 PyObject
* obj1
= 0 ;
31542 PyObject
* obj2
= 0 ;
31543 PyObject
* obj3
= 0 ;
31544 PyObject
* obj4
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31559 arg4
= (bool)SWIG_As_bool(obj3
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31563 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31582 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31585 wxPoint
*arg2
= 0 ;
31586 wxWindow
*arg3
= (wxWindow
*) 0 ;
31587 wxWindow
*arg4
= (wxWindow
*) 0 ;
31590 PyObject
* obj0
= 0 ;
31591 PyObject
* obj1
= 0 ;
31592 PyObject
* obj2
= 0 ;
31593 PyObject
* obj3
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31607 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31611 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31613 wxPyEndAllowThreads(__tstate
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31625 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31629 PyObject
* obj0
= 0 ;
31630 char *kwnames
[] = {
31631 (char *) "self", NULL
31634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31639 result
= (bool)(arg1
)->EndDrag();
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31653 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
;
31655 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31656 wxPoint
*arg2
= 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 char *kwnames
[] = {
31662 (char *) "self",(char *) "pt", NULL
31665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31688 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31689 PyObject
*resultobj
;
31690 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31692 PyObject
* obj0
= 0 ;
31693 char *kwnames
[] = {
31694 (char *) "self", NULL
31697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (bool)(arg1
)->Show();
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31716 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
;
31718 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31720 PyObject
* obj0
= 0 ;
31721 char *kwnames
[] = {
31722 (char *) "self", NULL
31725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31730 result
= (bool)(arg1
)->Hide();
31732 wxPyEndAllowThreads(__tstate
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31744 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31745 PyObject
*resultobj
;
31746 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31747 wxPoint
*arg2
= 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 char *kwnames
[] = {
31753 (char *) "self",(char *) "pos", NULL
31756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31771 wxRect
* resultptr
;
31772 resultptr
= new wxRect((wxRect
&) result
);
31773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31781 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31782 PyObject
*resultobj
;
31783 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31785 wxPoint
*arg3
= 0 ;
31788 PyObject
* obj0
= 0 ;
31789 PyObject
* obj1
= 0 ;
31790 PyObject
* obj2
= 0 ;
31791 char *kwnames
[] = {
31792 (char *) "self",(char *) "dc",(char *) "pos", NULL
31795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31801 if (arg2
== NULL
) {
31802 PyErr_SetString(PyExc_TypeError
,"null reference");
31807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31825 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31829 wxMemoryDC
*arg3
= 0 ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 PyObject
* obj2
= 0 ;
31838 PyObject
* obj3
= 0 ;
31839 PyObject
* obj4
= 0 ;
31840 char *kwnames
[] = {
31841 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31850 if (arg2
== NULL
) {
31851 PyErr_SetString(PyExc_TypeError
,"null reference");
31854 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31857 if (arg3
== NULL
) {
31858 PyErr_SetString(PyExc_TypeError
,"null reference");
31863 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31867 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31885 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31887 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31888 wxPoint
*arg2
= 0 ;
31889 wxPoint
*arg3
= 0 ;
31895 PyObject
* obj0
= 0 ;
31896 PyObject
* obj1
= 0 ;
31897 PyObject
* obj2
= 0 ;
31898 PyObject
* obj3
= 0 ;
31899 PyObject
* obj4
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31913 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31915 arg4
= (bool)SWIG_As_bool(obj3
);
31916 if (PyErr_Occurred()) SWIG_fail
;
31917 arg5
= (bool)SWIG_As_bool(obj4
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31921 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31935 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31938 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31940 return Py_BuildValue((char *)"");
31942 static PyMethodDef SwigMethods
[] = {
31943 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31977 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31985 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
32006 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
32037 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
32068 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
32077 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
32166 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
32171 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
32183 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
32196 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
32208 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
32212 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
32230 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
32237 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32271 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"BookCtrl_GetCurrentPage", (PyCFunction
) _wrap_BookCtrl_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
32293 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32299 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32309 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32311 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32317 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32319 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32325 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32327 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32332 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32337 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32367 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32412 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32418 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32430 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32482 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32509 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32581 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32593 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32601 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32608 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32624 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32703 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32725 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32730 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32756 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32764 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32769 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32771 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32780 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32782 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32800 { NULL
, NULL
, 0, NULL
}
32804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32806 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32807 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32809 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32810 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32812 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) {
32813 return (void *)((wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32815 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32816 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32818 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32819 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32821 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32822 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32824 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32825 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32827 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32828 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32830 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32831 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32833 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32834 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32836 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32837 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32839 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32842 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32843 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32845 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32846 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32848 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32849 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32851 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32852 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32854 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32855 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32857 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32858 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32860 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32861 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32863 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32866 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32867 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32869 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32870 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32872 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32873 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32875 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32876 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32878 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32879 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32881 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32882 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32884 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32885 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32887 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32888 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32890 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32891 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32893 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32894 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32896 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32899 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32900 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32902 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32903 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32905 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32906 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32908 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32909 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32911 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32912 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32914 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32915 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32917 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32918 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32920 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32921 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32923 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32924 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32926 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32927 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32929 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32930 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32932 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32933 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32935 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32936 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32938 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32939 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32941 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32942 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32944 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32945 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32947 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32948 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32950 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32951 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32953 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32954 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32956 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32957 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32959 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32960 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32962 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32963 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32965 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32966 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32968 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32969 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32971 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32972 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32974 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32975 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32977 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32978 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32980 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32981 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32983 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32984 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32986 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32987 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32989 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32990 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32992 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32993 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32995 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32996 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32998 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32999 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
33001 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
33002 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
33004 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
33005 return (void *)((wxControl
*) ((wxPyControl
*) x
));
33007 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
33008 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
33010 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
33011 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33013 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
33014 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
33016 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
33017 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33019 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
33020 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
33022 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
33023 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
33025 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
33026 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
33028 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
33029 return (void *)((wxControl
*) ((wxGauge
*) x
));
33031 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
33032 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
33034 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
33035 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxChoicebook
*) x
));
33037 static void *_p_wxListbookTo_p_wxControl(void *x
) {
33038 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
33040 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
33041 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
33043 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
33044 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
33046 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
33047 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
33049 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
33050 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33052 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
33053 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33055 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
33056 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33058 static void *_p_wxListViewTo_p_wxControl(void *x
) {
33059 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
33061 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
33062 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
33064 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
33065 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
33067 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
33068 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
33070 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
33071 return (void *)((wxControl
*) ((wxStaticText
*) x
));
33073 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
33074 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
33076 static void *_p_wxSliderTo_p_wxControl(void *x
) {
33077 return (void *)((wxControl
*) ((wxSlider
*) x
));
33079 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
33080 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33082 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
33083 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
33085 static void *_p_wxButtonTo_p_wxControl(void *x
) {
33086 return (void *)((wxControl
*) ((wxButton
*) x
));
33088 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
33089 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
33091 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
33092 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
33094 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
33095 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
33097 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
33098 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
33100 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
33101 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33103 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
33104 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33106 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
33107 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33109 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
33110 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
33112 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
33113 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33115 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
33116 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33118 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
33119 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33121 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
33122 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33124 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
33125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33127 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33128 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33130 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33131 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33133 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33134 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33136 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
33137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33139 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33140 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33142 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
33143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33145 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
33146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33148 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33149 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33151 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33152 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33154 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
33155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33157 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
33158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33160 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
33161 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33163 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
33164 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33166 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
33167 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33169 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33170 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33172 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
33173 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33175 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
33176 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33178 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33179 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33181 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
33182 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33184 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
33185 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33187 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
33188 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33190 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
33191 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33193 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
33194 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33196 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
33197 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33199 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
33200 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33202 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
33203 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33205 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
33206 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33208 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
33209 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33211 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
33212 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33214 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
33215 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33217 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
33218 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33220 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
33221 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33223 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
33224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33226 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
33227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33229 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
33230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33232 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
33233 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33235 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
33236 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33238 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
33239 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33241 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
33242 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33244 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
33245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33247 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
33248 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33250 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) {
33251 return (void *)((wxBookCtrl
*) ((wxChoicebook
*) x
));
33253 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
33254 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
33256 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
33257 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
33259 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33260 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33262 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33263 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33265 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33266 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33268 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33269 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33271 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33274 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33277 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33280 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33283 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33286 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33289 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33292 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33295 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33298 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) ((wxSizer
*) x
));
33301 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33304 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33307 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33310 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33313 static void *_p_wxEventTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) ((wxEvent
*) x
));
33316 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33319 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33322 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33325 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33328 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33331 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33334 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33335 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33337 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33338 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33340 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33341 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33343 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33344 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33346 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33347 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33349 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33350 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33352 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33353 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33355 static void *_p_wxControlTo_p_wxObject(void *x
) {
33356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33358 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33361 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33362 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33364 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33365 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33367 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33370 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33374 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33376 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33379 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33380 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33382 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33383 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33385 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33388 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33389 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33391 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33394 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33395 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33397 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33398 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33400 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33403 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33406 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33407 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33409 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33410 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33412 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33415 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33416 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33418 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33419 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33421 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33425 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33427 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33428 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33430 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33431 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33433 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33434 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33436 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33437 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33439 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33440 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33442 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33445 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33446 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33448 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33451 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33454 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33457 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33463 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33466 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33469 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33470 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33472 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33473 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33475 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33478 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33479 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33485 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33487 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33490 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33493 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33496 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33499 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33502 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33505 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33508 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33512 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33514 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33517 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33520 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33523 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33526 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33527 return (void *)((wxObject
*) ((wxListItem
*) x
));
33529 static void *_p_wxImageTo_p_wxObject(void *x
) {
33530 return (void *)((wxObject
*) ((wxImage
*) x
));
33532 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33533 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33535 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33536 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33538 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33541 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33542 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33544 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33547 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33550 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33553 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33556 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33559 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33560 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33562 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33563 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33565 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33568 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33571 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33574 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33575 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33577 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33580 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33581 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33583 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33584 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33586 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33587 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33589 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33590 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33592 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33593 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33595 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33598 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33601 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33602 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33604 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33607 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33608 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33610 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33611 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33613 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33616 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33619 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33620 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33622 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33625 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33628 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33631 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33632 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33634 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33635 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33637 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33638 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33640 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33641 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33643 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33644 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33646 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33647 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33649 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33650 return (void *)((wxWindow
*) ((wxControl
*) x
));
33652 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33653 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33655 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33656 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33658 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33659 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33661 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33662 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33664 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33665 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33667 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33668 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33670 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33671 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33673 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33674 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33676 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33677 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33679 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33680 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33682 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33683 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33685 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33686 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33688 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33689 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33691 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33692 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33694 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33695 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33697 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33698 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33700 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33701 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33703 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33704 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33706 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33707 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33709 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33710 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33712 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33713 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33715 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33716 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33718 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33719 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33721 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33722 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33724 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33725 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33727 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33728 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33730 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33731 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33733 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33734 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33736 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33737 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33739 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33740 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33742 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33743 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33745 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33746 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33748 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33749 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33751 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33752 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33755 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33757 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33758 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33761 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33763 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33764 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33766 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33767 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33769 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33770 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33772 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33773 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33775 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33776 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33778 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33779 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33781 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33782 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33784 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33785 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33787 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33788 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33790 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33791 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33793 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33794 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33796 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33797 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33799 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33800 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33802 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33803 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33805 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33806 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33808 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33809 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33811 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}};
33812 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}};
33813 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}};
33814 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}};
33815 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}};
33816 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}};
33817 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}};
33818 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}};
33819 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}};
33820 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}};
33821 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}};
33822 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}};
33823 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}};
33824 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}};
33825 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}};
33826 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}};
33827 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}};
33828 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}};
33829 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}};
33830 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}};
33831 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}};
33832 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}};
33833 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}};
33834 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}};
33835 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}};
33836 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}};
33837 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}};
33838 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}};
33839 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}};
33840 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}};
33841 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}};
33842 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}};
33843 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}};
33844 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}};
33845 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}};
33846 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}};
33847 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}};
33848 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}};
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 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}};
33854 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}};
33855 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}};
33856 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}};
33857 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}};
33858 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}};
33859 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}};
33860 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}};
33861 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}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33867 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}};
33868 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}};
33869 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}};
33870 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}};
33871 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}};
33872 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}};
33873 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}};
33874 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}};
33875 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}};
33876 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}};
33877 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}};
33878 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}};
33879 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}};
33880 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}};
33881 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}};
33882 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}};
33883 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}};
33884 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}};
33885 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}};
33886 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}};
33887 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}};
33888 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}};
33889 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}};
33890 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}};
33891 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}};
33892 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}};
33893 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}};
33894 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}};
33895 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}};
33896 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}};
33897 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}};
33899 static swig_type_info
*swig_types_initial
[] = {
33900 _swigt__p_wxTextUrlEvent
,
33901 _swigt__p_wxBookCtrlEvent
,
33903 _swigt__p_wxCheckBox
,
33904 _swigt__p_wxPyTreeCtrl
,
33906 _swigt__p_wxGenericDirCtrl
,
33908 _swigt__p_wxPyTreeItemData
,
33909 _swigt__p_wxItemContainer
,
33910 _swigt__p_wxPyListCtrl
,
33911 _swigt__p_wxDirFilterListCtrl
,
33912 _swigt__p_wxStaticLine
,
33913 _swigt__p_wxControl
,
33914 _swigt__p_wxPyControl
,
33916 _swigt__p_wxToolBarBase
,
33918 _swigt__p_wxToggleButton
,
33919 _swigt__p_wxRadioButton
,
33920 _swigt__p_wxChoice
,
33921 _swigt__p_wxMemoryDC
,
33922 _swigt__p_wxListItemAttr
,
33927 _swigt__p_wxListView
,
33929 _swigt__p_wxVisualAttributes
,
33930 _swigt__p_wxTextCtrl
,
33931 _swigt__p_wxNotebook
,
33932 _swigt__p_wxChoicebook
,
33933 _swigt__p_wxNotifyEvent
,
33934 _swigt__p_wxArrayString
,
33935 _swigt__p_wxListbook
,
33936 _swigt__p_wxStaticBitmap
,
33937 _swigt__p_wxSlider
,
33938 _swigt__p_wxStaticBox
,
33939 _swigt__p_wxArrayInt
,
33940 _swigt__p_wxContextHelp
,
33942 _swigt__p_wxEvtHandler
,
33943 _swigt__p_wxListEvent
,
33944 _swigt__p_wxCheckListBox
,
33945 _swigt__p_wxListBox
,
33946 _swigt__p_wxBookCtrl
,
33947 _swigt__p_wxSpinButton
,
33948 _swigt__p_wxButton
,
33949 _swigt__p_wxBitmapButton
,
33951 _swigt__p_wxContextHelpButton
,
33952 _swigt__p_wxRadioBox
,
33953 _swigt__p_wxScrollBar
,
33955 _swigt__p_wxTreeItemId
,
33956 _swigt__p_wxComboBox
,
33957 _swigt__p_wxHelpEvent
,
33958 _swigt__p_wxListItem
,
33959 _swigt__p_wxNotebookSizer
,
33960 _swigt__p_wxSpinEvent
,
33961 _swigt__p_wxGenericDragImage
,
33962 _swigt__p_wxSpinCtrl
,
33963 _swigt__p_wxImageList
,
33964 _swigt__p_wxHelpProvider
,
33965 _swigt__p_wxTextAttr
,
33966 _swigt__p_wxSimpleHelpProvider
,
33968 _swigt__p_wxChoicebookEvent
,
33969 _swigt__p_wxListbookEvent
,
33970 _swigt__p_wxNotebookEvent
,
33971 _swigt__p_wxObject
,
33972 _swigt__p_wxCursor
,
33973 _swigt__p_wxKeyEvent
,
33974 _swigt__p_wxWindow
,
33975 _swigt__p_wxString
,
33976 _swigt__p_wxBitmap
,
33977 _swigt__p_wxTreeEvent
,
33978 _swigt__p_wxMouseEvent
,
33979 _swigt__p_wxCommandEvent
,
33980 _swigt__p_wxStaticText
,
33981 _swigt__p_wxControlWithItems
,
33982 _swigt__p_wxToolBarToolBase
,
33983 _swigt__p_wxColour
,
33984 _swigt__p_wxToolBar
,
33985 _swigt__p_wxBookCtrlSizer
,
33986 _swigt__p_wxValidator
,
33991 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33993 static swig_const_info swig_const_table
[] = {
33994 {0, 0, 0, 0.0, 0, 0}};
34003 SWIGEXPORT(void) SWIG_init(void) {
34004 static PyObject
*SWIG_globals
= 0;
34005 static int typeinit
= 0;
34008 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34009 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34010 d
= PyModule_GetDict(m
);
34013 for (i
= 0; swig_types_initial
[i
]; i
++) {
34014 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34018 SWIG_InstallConstants(d
,swig_const_table
);
34020 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
34021 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
34022 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
34023 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
34024 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
34025 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
34026 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
34027 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
34028 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
34029 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
34030 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
34031 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
34032 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
34033 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
34034 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
34035 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
34036 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
34037 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
34038 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
34039 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
34040 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
34041 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
34042 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
34043 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
34044 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
34045 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
34046 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
34047 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
34048 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
34049 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
34050 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
34051 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
34052 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
34053 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
34054 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
34055 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
34056 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
34057 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
34058 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
34059 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
34060 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
34061 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
34062 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
34063 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
34064 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
34065 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
34066 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
34067 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
34068 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
34069 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
34070 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
34071 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
34072 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
34073 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
34074 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
34075 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
34076 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
34077 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
34078 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
34079 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
34080 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
34081 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
34082 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
34083 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
34084 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
34085 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
34086 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
34087 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
34088 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
34089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
34090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
34091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
34092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
34093 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
34094 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
34095 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
34096 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
34097 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
34098 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
34099 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
34100 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
34101 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
34102 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
34103 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
34104 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
34105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
34106 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
34107 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
34108 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
34109 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
34110 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
34111 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
34112 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
34113 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
34114 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
34115 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
34116 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
34117 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
34118 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
34119 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
34120 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
34121 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
34122 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
34123 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
34124 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
34125 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
34126 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
34127 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
34128 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
34129 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
34130 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
34131 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
34132 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
34133 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
34134 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
34135 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
34136 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
34137 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
34138 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
34139 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
34140 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
34141 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
34142 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
34143 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
34144 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
34145 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
34146 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
34147 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
34148 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
34149 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
34150 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
34151 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
34152 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
34153 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
34154 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
34155 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
34156 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
34157 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
34158 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
34159 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
34160 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
34161 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
34162 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
34163 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
34164 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
34165 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
34166 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
34167 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
34168 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
34169 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
34170 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
34171 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
34172 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
34173 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
34174 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
34175 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
34176 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
34177 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
34178 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
34179 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
34180 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
34181 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
34182 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
34183 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
34184 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
34185 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
34186 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
34187 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
34188 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
34189 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
34190 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
34191 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
34192 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
34193 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
34194 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
34195 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
34196 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
34197 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
34198 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
34199 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
34200 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
34201 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
34202 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
34203 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
34204 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
34205 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
34206 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
34207 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
34208 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
34209 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
34210 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
34211 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
34212 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
34213 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
34214 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
34215 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
34216 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
34217 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
34218 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
34219 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
34220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
34221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
34222 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
34223 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
34224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
34225 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
34226 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
34227 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
34228 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
34229 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
34230 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
34231 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
34232 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
34233 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
34234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
34235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
34236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
34237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
34238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
34239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
34241 // Map renamed classes back to their common name for OOR
34242 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34244 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
34245 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
34246 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
34247 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
34248 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
34249 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
34250 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
34251 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
34252 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34253 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34254 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34255 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34256 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34257 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34258 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34259 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34260 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34261 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34262 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34263 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34264 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34265 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34266 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34267 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34268 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34269 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34270 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34271 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34272 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34273 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34274 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34275 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34276 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34277 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34278 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34279 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34291 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34301 // Map renamed classes back to their common name for OOR
34302 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34303 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34305 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34306 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34307 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34308 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34309 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34310 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34311 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34312 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34313 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34314 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34316 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");