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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/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
){
851 return (wxWindow
*)self
->m_mainWin
;
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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
914 /*@/opt/swig/share/swig/1.3.22/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_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "pt", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_From_int((int)result
);
7054 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 PyObject
* obj2
= 0 ;
7064 (char *) "self",(char *) "x",(char *) "y", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 arg2
= (int)SWIG_As_int(obj1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7072 arg3
= (int)SWIG_As_int(obj2
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_From_int((int)result
);
7088 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7091 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7093 return Py_BuildValue((char *)"");
7095 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7096 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7101 static PyObject
*_wrap_TextCtrlNameStr_get() {
7106 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7108 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7115 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxColour
const &arg1_defvalue
= wxNullColour
;
7118 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7119 wxColour
const &arg2_defvalue
= wxNullColour
;
7120 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7121 wxFont
const &arg3_defvalue
= wxNullFont
;
7122 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7123 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 PyObject
* obj2
= 0 ;
7130 PyObject
* obj3
= 0 ;
7132 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7139 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7153 PyErr_SetString(PyExc_TypeError
,"null reference");
7158 arg4
= (int)SWIG_As_int(obj3
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7175 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7228 wxColour
*arg2
= 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "colText", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7260 wxColour
*arg2
= 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "colBack", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7293 long arg3
= (long) wxTEXT_ATTR_FONT
;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 PyObject
* obj2
= 0 ;
7298 (char *) "self",(char *) "font",(char *) "flags", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7308 PyErr_SetString(PyExc_TypeError
,"null reference");
7312 arg3
= (long)SWIG_As_long(obj2
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "alignment", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= (int)SWIG_As_int(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7361 wxArrayInt
*arg2
= 0 ;
7362 bool temp2
= false ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7366 (char *) "self",(char *) "tabs", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 if (! PySequence_Check(obj1
)) {
7374 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7377 arg2
= new wxArrayInt
;
7379 int i
, len
=PySequence_Length(obj1
);
7380 for (i
=0; i
<len
; i
++) {
7381 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7382 PyObject
* number
= PyNumber_Int(item
);
7383 arg2
->Add(PyInt_AS_LONG(number
));
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 if (temp2
) delete arg2
;
7402 if (temp2
) delete arg2
;
7408 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7412 int arg3
= (int) 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7417 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 arg2
= (int)SWIG_As_int(obj1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 arg3
= (int)SWIG_As_int(obj2
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetLeftIndent(arg2
,arg3
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7450 (char *) "self",(char *) "indent", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= (int)SWIG_As_int(obj1
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->SetRightIndent(arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7479 (char *) "self",(char *) "flags", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 arg2
= (long)SWIG_As_long(obj1
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetFlags(arg2
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7529 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7563 (char *) "self", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "self", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7613 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7641 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "self", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7669 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7697 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7705 (char *) "self",(char *) "flag", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 arg2
= (long)SWIG_As_long(obj1
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7745 result
= (wxColour
*) &_result_ref
;
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7758 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7774 result
= (wxColour
*) &_result_ref
;
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7787 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7803 result
= (wxFont
*) &_result_ref
;
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 wxFont
* resultptr
= new wxFont(*result
);
7811 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7819 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_From_int((int)result
);
7845 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
7860 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7861 result
= (wxArrayInt
*) &_result_ref
;
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= PyList_New(0);
7870 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7871 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7872 PyList_Append(resultobj
, val
);
7882 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_From_long((long)result
);
7908 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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
)->GetLeftSubIndent();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_From_long((long)result
);
7934 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_From_long((long)result
);
7960 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
)->GetFlags();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_From_long((long)result
);
7986 static PyObject
*_wrap_TextAttr_IsDefault(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_IsDefault",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
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8014 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxTextAttr
*arg1
= 0 ;
8017 wxTextAttr
*arg2
= 0 ;
8018 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8022 PyObject
* obj2
= 0 ;
8024 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8032 PyErr_SetString(PyExc_TypeError
,"null reference");
8035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8039 PyErr_SetString(PyExc_TypeError
,"null reference");
8042 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 wxTextAttr
* resultptr
;
8053 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8062 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8067 return Py_BuildValue((char *)"");
8069 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxWindow
*arg1
= (wxWindow
*) 0 ;
8072 int arg2
= (int) -1 ;
8073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8079 long arg6
= (long) 0 ;
8080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8082 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8085 bool temp3
= false ;
8088 bool temp8
= false ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8091 PyObject
* obj2
= 0 ;
8092 PyObject
* obj3
= 0 ;
8093 PyObject
* obj4
= 0 ;
8094 PyObject
* obj5
= 0 ;
8095 PyObject
* obj6
= 0 ;
8096 PyObject
* obj7
= 0 ;
8098 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 arg2
= (int)SWIG_As_int(obj1
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 arg3
= wxString_in_helper(obj2
);
8111 if (arg3
== NULL
) SWIG_fail
;
8118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8128 arg6
= (long)SWIG_As_long(obj5
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8136 PyErr_SetString(PyExc_TypeError
,"null reference");
8142 arg8
= wxString_in_helper(obj7
);
8143 if (arg8
== NULL
) SWIG_fail
;
8148 if (!wxPyCheckForApp()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8178 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8187 if (!wxPyCheckForApp()) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxTextCtrl
*)new wxTextCtrl();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8201 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 wxWindow
*arg2
= (wxWindow
*) 0 ;
8205 int arg3
= (int) -1 ;
8206 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8212 long arg7
= (long) 0 ;
8213 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8214 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8215 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8216 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8218 bool temp4
= false ;
8221 bool temp9
= false ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8225 PyObject
* obj3
= 0 ;
8226 PyObject
* obj4
= 0 ;
8227 PyObject
* obj5
= 0 ;
8228 PyObject
* obj6
= 0 ;
8229 PyObject
* obj7
= 0 ;
8230 PyObject
* obj8
= 0 ;
8232 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8241 arg3
= (int)SWIG_As_int(obj2
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8246 arg4
= wxString_in_helper(obj3
);
8247 if (arg4
== NULL
) SWIG_fail
;
8254 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8260 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8264 arg7
= (long)SWIG_As_long(obj6
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8272 PyErr_SetString(PyExc_TypeError
,"null reference");
8278 arg9
= wxString_in_helper(obj8
);
8279 if (arg9
== NULL
) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8347 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8350 wxString
*arg2
= 0 ;
8351 bool temp2
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "value", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 arg2
= wxString_in_helper(obj1
);
8363 if (arg2
== NULL
) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->SetValue((wxString
const &)*arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8398 (char *) "self",(char *) "from",(char *) "to", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 arg2
= (long)SWIG_As_long(obj1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8406 arg3
= (long)SWIG_As_long(obj2
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8428 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8436 (char *) "self",(char *) "lineNo", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 arg2
= (long)SWIG_As_long(obj1
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_From_int((int)result
);
8458 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "lineNo", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 arg2
= (long)SWIG_As_long(obj1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8494 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_From_int((int)result
);
8520 static PyObject
*_wrap_TextCtrl_IsModified(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_IsModified",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
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8635 long *arg2
= (long *) 0 ;
8636 long *arg3
= (long *) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8647 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8660 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8661 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8662 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8669 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8701 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8731 wxString
*arg4
= 0 ;
8732 bool temp4
= false ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 PyObject
* obj2
= 0 ;
8736 PyObject
* obj3
= 0 ;
8738 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 arg2
= (long)SWIG_As_long(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8746 arg3
= (long)SWIG_As_long(obj2
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 arg4
= wxString_in_helper(obj3
);
8750 if (arg4
== NULL
) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8775 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8784 (char *) "self",(char *) "from",(char *) "to", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 arg2
= (long)SWIG_As_long(obj1
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8792 arg3
= (long)SWIG_As_long(obj2
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->Remove(arg2
,arg3
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8811 wxString
*arg2
= 0 ;
8813 bool temp2
= false ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "file", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 arg2
= wxString_in_helper(obj1
);
8825 if (arg2
== NULL
) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8852 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8855 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8858 bool temp2
= false ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "file", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 arg2
= wxString_in_helper(obj1
);
8871 if (arg2
== NULL
) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8899 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->MarkDirty();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 (arg1
)->DiscardEdits();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8952 unsigned long arg2
;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 (char *) "self",(char *) "len", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetMaxLength(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8981 wxString
*arg2
= 0 ;
8982 bool temp2
= false ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "self",(char *) "text", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= wxString_in_helper(obj1
);
8994 if (arg2
== NULL
) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->WriteText((wxString
const &)*arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9022 wxString
*arg2
= 0 ;
9023 bool temp2
= false ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "self",(char *) "text", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 arg2
= wxString_in_helper(obj1
);
9035 if (arg2
== NULL
) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 (arg1
)->AppendText((wxString
const &)*arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9063 wxKeyEvent
*arg2
= 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9068 (char *) "self",(char *) "event", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9078 PyErr_SetString(PyExc_TypeError
,"null reference");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9102 wxTextAttr
*arg4
= 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9109 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9115 arg2
= (long)SWIG_As_long(obj1
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9117 arg3
= (long)SWIG_As_long(obj2
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9119 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9123 PyErr_SetString(PyExc_TypeError
,"null reference");
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9146 wxTextAttr
*arg3
= 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "position",(char *) "style", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (long)SWIG_As_long(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9164 PyErr_SetString(PyExc_TypeError
,"null reference");
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9183 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9186 wxTextAttr
*arg2
= 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9191 (char *) "self",(char *) "style", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9201 PyErr_SetString(PyExc_TypeError
,"null reference");
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9220 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9236 result
= (wxTextAttr
*) &_result_ref
;
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9249 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9257 PyObject
* obj2
= 0 ;
9259 (char *) "self",(char *) "x",(char *) "y", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= (long)SWIG_As_long(obj1
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg3
= (long)SWIG_As_long(obj2
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_From_long((long)result
);
9283 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9287 long *arg3
= (long *) 0 ;
9288 long *arg4
= (long *) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "pos", NULL
9299 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9300 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 arg2
= (long)SWIG_As_long(obj1
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9315 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9316 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9317 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9324 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9331 (char *) "self",(char *) "pos", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 arg2
= (long)SWIG_As_long(obj1
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->ShowPosition(arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9357 long *arg3
= (long *) 0 ;
9358 long *arg4
= (long *) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "self",(char *) "pt", NULL
9371 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9372 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_int((int)result
);
9388 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9389 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9390 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9391 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9398 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9402 long *arg3
= (long *) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9410 (char *) "self",(char *) "pt", NULL
9413 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_From_int((int)result
);
9429 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9430 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9437 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 Py_INCREF(Py_None
); resultobj
= Py_None
;
9462 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",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();
9526 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9540 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9568 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",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();
9660 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "pos", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9715 arg2
= (long)SWIG_As_long(obj1
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 (arg1
)->SetInsertionPoint(arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "self", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->SetInsertionPointEnd();
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "self", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",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 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= SWIG_From_long((long)result
);
9782 static PyObject
*_wrap_TextCtrl_GetLastPosition(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_GetLastPosition",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
)->GetLastPosition();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_From_long((long)result
);
9808 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 PyObject
* obj2
= 0 ;
9817 (char *) "self",(char *) "from",(char *) "to", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 arg2
= (long)SWIG_As_long(obj1
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9825 arg3
= (long)SWIG_As_long(obj2
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetSelection(arg2
,arg3
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 (arg1
)->SelectAll();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9873 (char *) "self",(char *) "editable", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 arg2
= (bool)SWIG_As_bool(obj1
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 (arg1
)->SetEditable(arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9898 wxString
*arg2
= 0 ;
9899 bool temp2
= false ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9903 (char *) "self",(char *) "text", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 arg2
= wxString_in_helper(obj1
);
9911 if (arg2
== NULL
) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9946 (char *) "self",(char *) "from",(char *) "to", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9952 arg2
= (long)SWIG_As_long(obj1
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9954 arg3
= (long)SWIG_As_long(obj2
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9976 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9979 wxVisualAttributes result
;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "variant", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9987 arg1
= (int)SWIG_As_int(obj0
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 if (!wxPyCheckForApp()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 wxVisualAttributes
* resultptr
;
10000 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10009 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10012 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10014 return Py_BuildValue((char *)"");
10016 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10019 wxMouseEvent
*arg2
= 0 ;
10022 wxTextUrlEvent
*result
;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 PyObject
* obj2
= 0 ;
10026 PyObject
* obj3
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10032 arg1
= (int)SWIG_As_int(obj0
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10037 if (arg2
== NULL
) {
10038 PyErr_SetString(PyExc_TypeError
,"null reference");
10041 arg3
= (long)SWIG_As_long(obj2
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10043 arg4
= (long)SWIG_As_long(obj3
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10059 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10062 wxMouseEvent
*result
;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10075 result
= (wxMouseEvent
*) &_result_ref
;
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10088 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_From_long((long)result
);
10114 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_long((long)result
);
10140 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10148 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10153 static PyObject
*_wrap_ScrollBarNameStr_get() {
10158 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10160 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10167 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxWindow
*arg1
= (wxWindow
*) 0 ;
10170 int arg2
= (int) -1 ;
10171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10175 long arg5
= (long) wxSB_HORIZONTAL
;
10176 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10177 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10178 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10180 wxScrollBar
*result
;
10183 bool temp7
= false ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 PyObject
* obj2
= 0 ;
10187 PyObject
* obj3
= 0 ;
10188 PyObject
* obj4
= 0 ;
10189 PyObject
* obj5
= 0 ;
10190 PyObject
* obj6
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 arg2
= (int)SWIG_As_int(obj1
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10215 arg5
= (long)SWIG_As_long(obj4
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10222 if (arg6
== NULL
) {
10223 PyErr_SetString(PyExc_TypeError
,"null reference");
10229 arg7
= wxString_in_helper(obj6
);
10230 if (arg7
== NULL
) SWIG_fail
;
10235 if (!wxPyCheckForApp()) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10257 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxScrollBar
*result
;
10260 char *kwnames
[] = {
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10266 if (!wxPyCheckForApp()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (wxScrollBar
*)new wxScrollBar();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10280 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10283 wxWindow
*arg2
= (wxWindow
*) 0 ;
10284 int arg3
= (int) -1 ;
10285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10289 long arg6
= (long) wxSB_HORIZONTAL
;
10290 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10291 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10292 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10297 bool temp8
= false ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 PyObject
* obj3
= 0 ;
10302 PyObject
* obj4
= 0 ;
10303 PyObject
* obj5
= 0 ;
10304 PyObject
* obj6
= 0 ;
10305 PyObject
* obj7
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 arg3
= (int)SWIG_As_int(obj2
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10332 arg6
= (long)SWIG_As_long(obj5
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10339 if (arg7
== NULL
) {
10340 PyErr_SetString(PyExc_TypeError
,"null reference");
10346 arg8
= wxString_in_helper(obj7
);
10347 if (arg8
== NULL
) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_From_int((int)result
);
10401 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_From_int((int)result
);
10427 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_int((int)result
);
10453 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_From_int((int)result
);
10479 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "viewStart", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 arg2
= (int)SWIG_As_int(obj1
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetThumbPosition(arg2
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10543 bool arg6
= (bool) true ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 PyObject
* obj5
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 arg2
= (int)SWIG_As_int(obj1
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10559 arg3
= (int)SWIG_As_int(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10561 arg4
= (int)SWIG_As_int(obj3
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10563 arg5
= (int)SWIG_As_int(obj4
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 arg6
= (bool)SWIG_As_bool(obj5
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10586 wxVisualAttributes result
;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "variant", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10594 arg1
= (int)SWIG_As_int(obj0
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 if (!wxPyCheckForApp()) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 wxVisualAttributes
* resultptr
;
10607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10616 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10619 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10621 return Py_BuildValue((char *)"");
10623 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10624 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10629 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10634 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10636 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10643 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10644 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10649 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10654 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10656 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10663 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxWindow
*arg1
= (wxWindow
*) 0 ;
10666 int arg2
= (int) -1 ;
10667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10671 long arg5
= (long) wxSP_HORIZONTAL
;
10672 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10674 wxSpinButton
*result
;
10677 bool temp6
= false ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 PyObject
* obj3
= 0 ;
10682 PyObject
* obj4
= 0 ;
10683 PyObject
* obj5
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (int)SWIG_As_int(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10708 arg5
= (long)SWIG_As_long(obj4
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10713 arg6
= wxString_in_helper(obj5
);
10714 if (arg6
== NULL
) SWIG_fail
;
10719 if (!wxPyCheckForApp()) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10741 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxSpinButton
*result
;
10744 char *kwnames
[] = {
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10750 if (!wxPyCheckForApp()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (wxSpinButton
*)new wxSpinButton();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10764 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10767 wxWindow
*arg2
= (wxWindow
*) 0 ;
10768 int arg3
= (int) -1 ;
10769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10773 long arg6
= (long) wxSP_HORIZONTAL
;
10774 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10779 bool temp7
= false ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10785 PyObject
* obj5
= 0 ;
10786 PyObject
* obj6
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 arg3
= (int)SWIG_As_int(obj2
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10813 arg6
= (long)SWIG_As_long(obj5
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10818 arg7
= wxString_in_helper(obj6
);
10819 if (arg7
== NULL
) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10847 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_From_int((int)result
);
10873 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_From_int((int)result
);
10899 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_From_int((int)result
);
10925 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "val", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 arg2
= (int)SWIG_As_int(obj1
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->SetValue(arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "minVal", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (int)SWIG_As_int(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->SetMin(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "maxVal", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg2
= (int)SWIG_As_int(obj1
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->SetMax(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (int)SWIG_As_int(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg3
= (int)SWIG_As_int(obj2
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetRange(arg2
,arg3
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11076 wxVisualAttributes result
;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "variant", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11084 arg1
= (int)SWIG_As_int(obj0
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 if (!wxPyCheckForApp()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 wxVisualAttributes
* resultptr
;
11097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11106 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11109 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11111 return Py_BuildValue((char *)"");
11113 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxWindow
*arg1
= (wxWindow
*) 0 ;
11116 int arg2
= (int) -1 ;
11117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11123 long arg6
= (long) wxSP_ARROW_KEYS
;
11124 int arg7
= (int) 0 ;
11125 int arg8
= (int) 100 ;
11126 int arg9
= (int) 0 ;
11127 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11128 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11129 wxSpinCtrl
*result
;
11130 bool temp3
= false ;
11133 bool temp10
= false ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 PyObject
* obj4
= 0 ;
11139 PyObject
* obj5
= 0 ;
11140 PyObject
* obj6
= 0 ;
11141 PyObject
* obj7
= 0 ;
11142 PyObject
* obj8
= 0 ;
11143 PyObject
* obj9
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg2
= (int)SWIG_As_int(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11157 arg3
= wxString_in_helper(obj2
);
11158 if (arg3
== NULL
) SWIG_fail
;
11165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11175 arg6
= (long)SWIG_As_long(obj5
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 arg7
= (int)SWIG_As_int(obj6
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 arg8
= (int)SWIG_As_int(obj7
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg9
= (int)SWIG_As_int(obj8
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 arg10
= wxString_in_helper(obj9
);
11193 if (arg10
== NULL
) SWIG_fail
;
11198 if (!wxPyCheckForApp()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11228 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxSpinCtrl
*result
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11237 if (!wxPyCheckForApp()) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11251 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11254 wxWindow
*arg2
= (wxWindow
*) 0 ;
11255 int arg3
= (int) -1 ;
11256 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11258 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11259 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11260 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11261 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11262 long arg7
= (long) wxSP_ARROW_KEYS
;
11263 int arg8
= (int) 0 ;
11264 int arg9
= (int) 100 ;
11265 int arg10
= (int) 0 ;
11266 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11267 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11269 bool temp4
= false ;
11272 bool temp11
= false ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 PyObject
* obj3
= 0 ;
11277 PyObject
* obj4
= 0 ;
11278 PyObject
* obj5
= 0 ;
11279 PyObject
* obj6
= 0 ;
11280 PyObject
* obj7
= 0 ;
11281 PyObject
* obj8
= 0 ;
11282 PyObject
* obj9
= 0 ;
11283 PyObject
* obj10
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 arg3
= (int)SWIG_As_int(obj2
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11299 arg4
= wxString_in_helper(obj3
);
11300 if (arg4
== NULL
) SWIG_fail
;
11307 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11313 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11317 arg7
= (long)SWIG_As_long(obj6
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 arg8
= (int)SWIG_As_int(obj7
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 arg9
= (int)SWIG_As_int(obj8
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 arg10
= (int)SWIG_As_int(obj9
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11334 arg11
= wxString_in_helper(obj10
);
11335 if (arg11
== NULL
) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11371 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_int((int)result
);
11397 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "value", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 arg2
= (int)SWIG_As_int(obj1
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 (arg1
)->SetValue(arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 Py_INCREF(Py_None
); resultobj
= Py_None
;
11426 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11429 wxString
*arg2
= 0 ;
11430 bool temp2
= false ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "text", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 arg2
= wxString_in_helper(obj1
);
11442 if (arg2
== NULL
) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->SetValue((wxString
const &)*arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 arg2
= (int)SWIG_As_int(obj1
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11484 arg3
= (int)SWIG_As_int(obj2
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->SetRange(arg2
,arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int((int)result
);
11526 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_From_int((int)result
);
11552 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "from",(char *) "to", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 arg2
= (long)SWIG_As_long(obj1
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11569 arg3
= (long)SWIG_As_long(obj2
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetSelection(arg2
,arg3
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11588 wxVisualAttributes result
;
11589 PyObject
* obj0
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "variant", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11596 arg1
= (int)SWIG_As_int(obj0
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 if (!wxPyCheckForApp()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11608 wxVisualAttributes
* resultptr
;
11609 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11618 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11628 int arg2
= (int) 0 ;
11629 wxSpinEvent
*result
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "commandType",(char *) "winid", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11638 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 arg2
= (int)SWIG_As_int(obj1
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11659 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_From_int((int)result
);
11685 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "pos", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int)SWIG_As_int(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetPosition(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11722 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11727 static PyObject
*_wrap_RadioBoxNameStr_get() {
11732 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11734 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11741 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11742 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11747 static PyObject
*_wrap_RadioButtonNameStr_get() {
11752 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11754 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11761 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxWindow
*arg1
= (wxWindow
*) 0 ;
11764 int arg2
= (int) -1 ;
11765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11771 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11772 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11773 int arg7
= (int) 0 ;
11774 long arg8
= (long) wxRA_HORIZONTAL
;
11775 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11776 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11777 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11778 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11779 wxRadioBox
*result
;
11780 bool temp3
= false ;
11783 bool temp6
= false ;
11784 bool temp10
= false ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 PyObject
* obj2
= 0 ;
11788 PyObject
* obj3
= 0 ;
11789 PyObject
* obj4
= 0 ;
11790 PyObject
* obj5
= 0 ;
11791 PyObject
* obj6
= 0 ;
11792 PyObject
* obj7
= 0 ;
11793 PyObject
* obj8
= 0 ;
11794 PyObject
* obj9
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 arg2
= (int)SWIG_As_int(obj1
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 arg3
= wxString_in_helper(obj2
);
11809 if (arg3
== NULL
) SWIG_fail
;
11816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11827 if (! PySequence_Check(obj5
)) {
11828 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11831 arg6
= new wxArrayString
;
11833 int i
, len
=PySequence_Length(obj5
);
11834 for (i
=0; i
<len
; i
++) {
11835 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11837 PyObject
* str
= PyObject_Unicode(item
);
11839 PyObject
* str
= PyObject_Str(item
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11842 arg6
->Add(Py2wxString(str
));
11849 arg7
= (int)SWIG_As_int(obj6
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg8
= (long)SWIG_As_long(obj7
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11860 if (arg9
== NULL
) {
11861 PyErr_SetString(PyExc_TypeError
,"null reference");
11867 arg10
= wxString_in_helper(obj9
);
11868 if (arg10
== NULL
) SWIG_fail
;
11873 if (!wxPyCheckForApp()) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 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
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11886 if (temp6
) delete arg6
;
11899 if (temp6
) delete arg6
;
11909 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxRadioBox
*result
;
11912 char *kwnames
[] = {
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11918 if (!wxPyCheckForApp()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (wxRadioBox
*)new wxRadioBox();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11932 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11935 wxWindow
*arg2
= (wxWindow
*) 0 ;
11936 int arg3
= (int) -1 ;
11937 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11939 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11940 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11941 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11942 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11943 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11944 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11945 int arg8
= (int) 0 ;
11946 long arg9
= (long) wxRA_HORIZONTAL
;
11947 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11948 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11949 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11950 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11952 bool temp4
= false ;
11955 bool temp7
= false ;
11956 bool temp11
= false ;
11957 PyObject
* obj0
= 0 ;
11958 PyObject
* obj1
= 0 ;
11959 PyObject
* obj2
= 0 ;
11960 PyObject
* obj3
= 0 ;
11961 PyObject
* obj4
= 0 ;
11962 PyObject
* obj5
= 0 ;
11963 PyObject
* obj6
= 0 ;
11964 PyObject
* obj7
= 0 ;
11965 PyObject
* obj8
= 0 ;
11966 PyObject
* obj9
= 0 ;
11967 PyObject
* obj10
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg3
= (int)SWIG_As_int(obj2
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 arg4
= wxString_in_helper(obj3
);
11984 if (arg4
== NULL
) SWIG_fail
;
11991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12002 if (! PySequence_Check(obj6
)) {
12003 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12006 arg7
= new wxArrayString
;
12008 int i
, len
=PySequence_Length(obj6
);
12009 for (i
=0; i
<len
; i
++) {
12010 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12012 PyObject
* str
= PyObject_Unicode(item
);
12014 PyObject
* str
= PyObject_Str(item
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12017 arg7
->Add(Py2wxString(str
));
12024 arg8
= (int)SWIG_As_int(obj7
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 arg9
= (long)SWIG_As_long(obj8
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12035 if (arg10
== NULL
) {
12036 PyErr_SetString(PyExc_TypeError
,"null reference");
12042 arg11
= wxString_in_helper(obj10
);
12043 if (arg11
== NULL
) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 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
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 if (temp7
) delete arg7
;
12075 if (temp7
) delete arg7
;
12085 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "n", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= (int)SWIG_As_int(obj1
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetSelection(arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int((int)result
);
12140 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12172 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12175 wxString
*arg2
= 0 ;
12177 bool temp2
= false ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "s", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int((int)result
);
12242 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12245 wxString
*arg2
= 0 ;
12247 bool temp2
= false ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 char *kwnames
[] = {
12251 (char *) "self",(char *) "s", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12258 arg2
= wxString_in_helper(obj1
);
12259 if (arg2
== NULL
) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_From_int((int)result
);
12284 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "n", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 arg2
= (int)SWIG_As_int(obj1
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12320 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12324 wxString
*arg3
= 0 ;
12325 bool temp3
= false ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 PyObject
* obj2
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self",(char *) "n",(char *) "label", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 arg2
= (int)SWIG_As_int(obj1
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 arg3
= wxString_in_helper(obj2
);
12340 if (arg3
== NULL
) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12369 bool arg3
= (bool) true ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 PyObject
* obj2
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "n",(char *) "enable", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int)SWIG_As_int(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 arg3
= (bool)SWIG_As_bool(obj2
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 (arg1
)->Enable(arg2
,arg3
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12404 bool arg3
= (bool) true ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 PyObject
* obj2
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "n",(char *) "show", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int)SWIG_As_int(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 arg3
= (bool)SWIG_As_bool(obj2
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->Show(arg2
,arg3
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12435 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_int((int)result
);
12461 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_From_int((int)result
);
12487 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 PyObject
* obj1
= 0 ;
12496 PyObject
* obj2
= 0 ;
12497 PyObject
* obj3
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 arg2
= (int)SWIG_As_int(obj1
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12507 arg3
= (int)SWIG_As_int(obj2
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12509 arg4
= (long)SWIG_As_long(obj3
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_From_int((int)result
);
12525 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12528 wxVisualAttributes result
;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "variant", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12536 arg1
= (int)SWIG_As_int(obj0
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12540 if (!wxPyCheckForApp()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 wxVisualAttributes
* resultptr
;
12549 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12558 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12561 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12563 return Py_BuildValue((char *)"");
12565 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxWindow
*arg1
= (wxWindow
*) 0 ;
12568 int arg2
= (int) -1 ;
12569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12575 long arg6
= (long) 0 ;
12576 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12577 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12578 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12579 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12580 wxRadioButton
*result
;
12581 bool temp3
= false ;
12584 bool temp8
= false ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 PyObject
* obj2
= 0 ;
12588 PyObject
* obj3
= 0 ;
12589 PyObject
* obj4
= 0 ;
12590 PyObject
* obj5
= 0 ;
12591 PyObject
* obj6
= 0 ;
12592 PyObject
* obj7
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 arg2
= (int)SWIG_As_int(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12606 arg3
= wxString_in_helper(obj2
);
12607 if (arg3
== NULL
) SWIG_fail
;
12614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12624 arg6
= (long)SWIG_As_long(obj5
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12631 if (arg7
== NULL
) {
12632 PyErr_SetString(PyExc_TypeError
,"null reference");
12638 arg8
= wxString_in_helper(obj7
);
12639 if (arg8
== NULL
) SWIG_fail
;
12644 if (!wxPyCheckForApp()) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12674 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxRadioButton
*result
;
12677 char *kwnames
[] = {
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12683 if (!wxPyCheckForApp()) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (wxRadioButton
*)new wxRadioButton();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12697 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12700 wxWindow
*arg2
= (wxWindow
*) 0 ;
12701 int arg3
= (int) -1 ;
12702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12708 long arg7
= (long) 0 ;
12709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12711 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12714 bool temp4
= false ;
12717 bool temp9
= false ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 PyObject
* obj2
= 0 ;
12721 PyObject
* obj3
= 0 ;
12722 PyObject
* obj4
= 0 ;
12723 PyObject
* obj5
= 0 ;
12724 PyObject
* obj6
= 0 ;
12725 PyObject
* obj7
= 0 ;
12726 PyObject
* obj8
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg3
= (int)SWIG_As_int(obj2
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12742 arg4
= wxString_in_helper(obj3
);
12743 if (arg4
== NULL
) SWIG_fail
;
12750 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12756 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12760 arg7
= (long)SWIG_As_long(obj6
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12767 if (arg8
== NULL
) {
12768 PyErr_SetString(PyExc_TypeError
,"null reference");
12774 arg9
= wxString_in_helper(obj8
);
12775 if (arg9
== NULL
) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->GetValue();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12839 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "value", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 arg2
= (bool)SWIG_As_bool(obj1
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 (arg1
)->SetValue(arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12871 wxVisualAttributes result
;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "variant", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12879 arg1
= (int)SWIG_As_int(obj0
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 if (!wxPyCheckForApp()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 wxVisualAttributes
* resultptr
;
12892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12901 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12906 return Py_BuildValue((char *)"");
12908 static int _wrap_SliderNameStr_set(PyObject
*) {
12909 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12914 static PyObject
*_wrap_SliderNameStr_get() {
12919 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12921 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12928 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxWindow
*arg1
= (wxWindow
*) 0 ;
12931 int arg2
= (int) -1 ;
12932 int arg3
= (int) 0 ;
12933 int arg4
= (int) 0 ;
12934 int arg5
= (int) 100 ;
12935 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12936 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12937 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12938 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12939 long arg8
= (long) wxSL_HORIZONTAL
;
12940 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12941 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12942 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12943 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12947 bool temp10
= false ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 PyObject
* obj3
= 0 ;
12952 PyObject
* obj4
= 0 ;
12953 PyObject
* obj5
= 0 ;
12954 PyObject
* obj6
= 0 ;
12955 PyObject
* obj7
= 0 ;
12956 PyObject
* obj8
= 0 ;
12957 PyObject
* obj9
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12966 arg2
= (int)SWIG_As_int(obj1
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 arg3
= (int)SWIG_As_int(obj2
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 arg4
= (int)SWIG_As_int(obj3
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 arg5
= (int)SWIG_As_int(obj4
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12984 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12990 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12994 arg8
= (long)SWIG_As_long(obj7
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13001 if (arg9
== NULL
) {
13002 PyErr_SetString(PyExc_TypeError
,"null reference");
13008 arg10
= wxString_in_helper(obj9
);
13009 if (arg10
== NULL
) SWIG_fail
;
13014 if (!wxPyCheckForApp()) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13036 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13039 char *kwnames
[] = {
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13045 if (!wxPyCheckForApp()) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxSlider
*)new wxSlider();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13059 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxSlider
*arg1
= (wxSlider
*) 0 ;
13062 wxWindow
*arg2
= (wxWindow
*) 0 ;
13063 int arg3
= (int) -1 ;
13064 int arg4
= (int) 0 ;
13065 int arg5
= (int) 0 ;
13066 int arg6
= (int) 100 ;
13067 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13068 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13069 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13070 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13071 long arg9
= (long) wxSL_HORIZONTAL
;
13072 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13073 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13074 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13075 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13079 bool temp11
= false ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 PyObject
* obj3
= 0 ;
13084 PyObject
* obj4
= 0 ;
13085 PyObject
* obj5
= 0 ;
13086 PyObject
* obj6
= 0 ;
13087 PyObject
* obj7
= 0 ;
13088 PyObject
* obj8
= 0 ;
13089 PyObject
* obj9
= 0 ;
13090 PyObject
* obj10
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 arg3
= (int)SWIG_As_int(obj2
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 arg4
= (int)SWIG_As_int(obj3
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 arg5
= (int)SWIG_As_int(obj4
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 arg6
= (int)SWIG_As_int(obj5
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13119 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13125 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13129 arg9
= (long)SWIG_As_long(obj8
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13136 if (arg10
== NULL
) {
13137 PyErr_SetString(PyExc_TypeError
,"null reference");
13143 arg11
= wxString_in_helper(obj10
);
13144 if (arg11
== NULL
) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxSlider
*arg1
= (wxSlider
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_From_int((int)result
);
13198 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxSlider
*arg1
= (wxSlider
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "value", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13211 arg2
= (int)SWIG_As_int(obj1
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->SetValue(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13227 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxSlider
*arg1
= (wxSlider
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 PyObject
* obj2
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 arg2
= (int)SWIG_As_int(obj1
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13244 arg3
= (int)SWIG_As_int(obj2
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->SetRange(arg2
,arg3
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_Slider_GetMin(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_GetMin",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
)->GetMin();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)result
);
13286 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxSlider
*arg1
= (wxSlider
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_From_int((int)result
);
13312 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxSlider
*arg1
= (wxSlider
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "minValue", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int)SWIG_As_int(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetMin(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxSlider
*arg1
= (wxSlider
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "maxValue", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= (int)SWIG_As_int(obj1
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 (arg1
)->SetMax(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 Py_INCREF(Py_None
); resultobj
= Py_None
;
13370 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxSlider
*arg1
= (wxSlider
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "lineSize", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg2
= (int)SWIG_As_int(obj1
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->SetLineSize(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxSlider
*arg1
= (wxSlider
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "pageSize", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 arg2
= (int)SWIG_As_int(obj1
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->SetPageSize(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxSlider
*arg1
= (wxSlider
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_From_int((int)result
);
13454 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxSlider
*arg1
= (wxSlider
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_From_int((int)result
);
13480 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxSlider
*arg1
= (wxSlider
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "lenPixels", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 arg2
= (int)SWIG_As_int(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetThumbLength(arg2
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_From_int((int)result
);
13535 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxSlider
*arg1
= (wxSlider
*) 0 ;
13539 int arg3
= (int) 1 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 PyObject
* obj2
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "n",(char *) "pos", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 arg2
= (int)SWIG_As_int(obj1
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 arg3
= (int)SWIG_As_int(obj2
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->SetTickFreq(arg2
,arg3
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxSlider
*arg1
= (wxSlider
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= SWIG_From_int((int)result
);
13596 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxSlider
*arg1
= (wxSlider
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->ClearTicks();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13621 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxSlider
*arg1
= (wxSlider
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "tickPos", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (int)SWIG_As_int(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetTick(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxSlider
*arg1
= (wxSlider
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->ClearSel();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxSlider
*arg1
= (wxSlider
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_From_int((int)result
);
13701 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxSlider
*arg1
= (wxSlider
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_From_int((int)result
);
13727 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxSlider
*arg1
= (wxSlider
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 PyObject
* obj2
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "min",(char *) "max", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg2
= (int)SWIG_As_int(obj1
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13744 arg3
= (int)SWIG_As_int(obj2
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetSelection(arg2
,arg3
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 Py_INCREF(Py_None
); resultobj
= Py_None
;
13760 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13763 wxVisualAttributes result
;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "variant", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13771 arg1
= (int)SWIG_As_int(obj0
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 if (!wxPyCheckForApp()) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 wxVisualAttributes
* resultptr
;
13784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13793 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13798 return Py_BuildValue((char *)"");
13800 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13801 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13806 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13811 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13813 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13820 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxWindow
*arg1
= (wxWindow
*) 0 ;
13823 int arg2
= (int) -1 ;
13824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13830 long arg6
= (long) 0 ;
13831 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13832 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13833 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13835 wxToggleButton
*result
;
13836 bool temp3
= false ;
13839 bool temp8
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 PyObject
* obj3
= 0 ;
13844 PyObject
* obj4
= 0 ;
13845 PyObject
* obj5
= 0 ;
13846 PyObject
* obj6
= 0 ;
13847 PyObject
* obj7
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 arg2
= (int)SWIG_As_int(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13861 arg3
= wxString_in_helper(obj2
);
13862 if (arg3
== NULL
) SWIG_fail
;
13869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13879 arg6
= (long)SWIG_As_long(obj5
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13886 if (arg7
== NULL
) {
13887 PyErr_SetString(PyExc_TypeError
,"null reference");
13893 arg8
= wxString_in_helper(obj7
);
13894 if (arg8
== NULL
) SWIG_fail
;
13899 if (!wxPyCheckForApp()) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13929 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxToggleButton
*result
;
13932 char *kwnames
[] = {
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13938 if (!wxPyCheckForApp()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (wxToggleButton
*)new wxToggleButton();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13952 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13955 wxWindow
*arg2
= (wxWindow
*) 0 ;
13956 int arg3
= (int) -1 ;
13957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13959 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13960 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13961 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13962 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13963 long arg7
= (long) 0 ;
13964 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13965 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13966 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13967 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13969 bool temp4
= false ;
13972 bool temp9
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 PyObject
* obj3
= 0 ;
13977 PyObject
* obj4
= 0 ;
13978 PyObject
* obj5
= 0 ;
13979 PyObject
* obj6
= 0 ;
13980 PyObject
* obj7
= 0 ;
13981 PyObject
* obj8
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg3
= (int)SWIG_As_int(obj2
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13997 arg4
= wxString_in_helper(obj3
);
13998 if (arg4
== NULL
) SWIG_fail
;
14005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14015 arg7
= (long)SWIG_As_long(obj6
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14022 if (arg8
== NULL
) {
14023 PyErr_SetString(PyExc_TypeError
,"null reference");
14029 arg9
= wxString_in_helper(obj8
);
14030 if (arg9
== NULL
) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14066 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "value", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= (bool)SWIG_As_bool(obj1
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetValue(arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14095 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14126 wxString
*arg2
= 0 ;
14127 bool temp2
= false ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "label", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= wxString_in_helper(obj1
);
14139 if (arg2
== NULL
) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->SetLabel((wxString
const &)*arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14164 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14167 wxVisualAttributes result
;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "variant", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14175 arg1
= (int)SWIG_As_int(obj0
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 if (!wxPyCheckForApp()) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 wxVisualAttributes
* resultptr
;
14188 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14197 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14200 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14202 return Py_BuildValue((char *)"");
14204 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14205 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14210 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14215 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14217 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14224 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14250 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "n", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= wxPyMake_wxObject(result
, 0);
14282 static PyObject
*_wrap_BookCtrl_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (wxWindow
*)((wxBookCtrl
const *)arg1
)->GetCurrentPage();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14302 resultobj
= wxPyMake_wxObject(result
, 0);
14310 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14314 PyObject
* obj0
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int((int)result
);
14336 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14340 wxString
*arg3
= 0 ;
14342 bool temp3
= false ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 PyObject
* obj2
= 0 ;
14346 char *kwnames
[] = {
14347 (char *) "self",(char *) "n",(char *) "strText", NULL
14350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14353 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 arg3
= wxString_in_helper(obj2
);
14357 if (arg3
== NULL
) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self",(char *) "n", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14398 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14420 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14423 wxImageList
*arg2
= (wxImageList
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self",(char *) "imageList", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->SetImageList(arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14452 wxImageList
*arg2
= (wxImageList
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "imageList", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14463 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 (arg1
)->AssignImageList(arg2
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 Py_INCREF(Py_None
); resultobj
= Py_None
;
14478 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14481 wxImageList
*result
;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= wxPyMake_wxObject(result
, 0);
14506 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 PyObject
* obj1
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self",(char *) "n", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_From_int((int)result
);
14536 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 PyObject
* obj1
= 0 ;
14544 PyObject
* obj2
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "n",(char *) "imageId", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14554 arg3
= (int)SWIG_As_int(obj2
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self",(char *) "size", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 PyObject
* obj1
= 0 ;
14612 char *kwnames
[] = {
14613 (char *) "self",(char *) "sizePage", NULL
14616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 wxSize
* resultptr
;
14632 resultptr
= new wxSize((wxSize
&) result
);
14633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14641 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "n", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (bool)(arg1
)->DeletePage(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14673 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "n", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (bool)(arg1
)->RemovePage(arg2
);
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (bool)(arg1
)->DeleteAllPages();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14733 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14736 wxWindow
*arg2
= (wxWindow
*) 0 ;
14737 wxString
*arg3
= 0 ;
14738 bool arg4
= (bool) false ;
14739 int arg5
= (int) -1 ;
14741 bool temp3
= false ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 PyObject
* obj4
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg3
= wxString_in_helper(obj2
);
14758 if (arg3
== NULL
) SWIG_fail
;
14762 arg4
= (bool)SWIG_As_bool(obj3
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14766 arg5
= (int)SWIG_As_int(obj4
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14797 wxWindow
*arg3
= (wxWindow
*) 0 ;
14798 wxString
*arg4
= 0 ;
14799 bool arg5
= (bool) false ;
14800 int arg6
= (int) -1 ;
14802 bool temp4
= false ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 PyObject
* obj2
= 0 ;
14806 PyObject
* obj3
= 0 ;
14807 PyObject
* obj4
= 0 ;
14808 PyObject
* obj5
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 arg4
= wxString_in_helper(obj3
);
14822 if (arg4
== NULL
) SWIG_fail
;
14826 arg5
= (bool)SWIG_As_bool(obj4
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14830 arg6
= (int)SWIG_As_int(obj5
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14857 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self",(char *) "n", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (int)(arg1
)->SetSelection(arg2
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_From_int((int)result
);
14887 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14890 bool arg2
= (bool) true ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "forward", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14901 arg2
= (bool)SWIG_As_bool(obj1
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 (arg1
)->AdvanceSelection(arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 Py_INCREF(Py_None
); resultobj
= Py_None
;
14918 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14921 wxVisualAttributes result
;
14922 PyObject
* obj0
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "variant", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14929 arg1
= (int)SWIG_As_int(obj0
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 if (!wxPyCheckForApp()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 wxVisualAttributes
* resultptr
;
14942 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14951 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14954 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14956 return Py_BuildValue((char *)"");
14958 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14961 int arg2
= (int) 0 ;
14962 int arg3
= (int) -1 ;
14963 int arg4
= (int) -1 ;
14964 wxBookCtrlEvent
*result
;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 PyObject
* obj2
= 0 ;
14968 PyObject
* obj3
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14975 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14979 arg2
= (int)SWIG_As_int(obj1
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 arg3
= (int)SWIG_As_int(obj2
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14987 arg4
= (int)SWIG_As_int(obj3
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15004 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_From_int((int)result
);
15030 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self",(char *) "nSel", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 arg2
= (int)SWIG_As_int(obj1
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 (arg1
)->SetSelection(arg2
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 Py_INCREF(Py_None
); resultobj
= Py_None
;
15059 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_From_int((int)result
);
15085 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "nOldSel", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 arg2
= (int)SWIG_As_int(obj1
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->SetOldSelection(arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15117 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15119 return Py_BuildValue((char *)"");
15121 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxWindow
*arg1
= (wxWindow
*) 0 ;
15124 int arg2
= (int) -1 ;
15125 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15126 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15127 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15128 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15129 long arg5
= (long) 0 ;
15130 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15131 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15132 wxNotebook
*result
;
15135 bool temp6
= false ;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 PyObject
* obj3
= 0 ;
15140 PyObject
* obj4
= 0 ;
15141 PyObject
* obj5
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 arg2
= (int)SWIG_As_int(obj1
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15156 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15162 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15166 arg5
= (long)SWIG_As_long(obj4
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15171 arg6
= wxString_in_helper(obj5
);
15172 if (arg6
== NULL
) SWIG_fail
;
15177 if (!wxPyCheckForApp()) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15199 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
;
15201 wxNotebook
*result
;
15202 char *kwnames
[] = {
15206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15208 if (!wxPyCheckForApp()) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 result
= (wxNotebook
*)new wxNotebook();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15222 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15225 wxWindow
*arg2
= (wxWindow
*) 0 ;
15226 int arg3
= (int) -1 ;
15227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15231 long arg6
= (long) 0 ;
15232 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15233 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15237 bool temp7
= false ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 PyObject
* obj2
= 0 ;
15241 PyObject
* obj3
= 0 ;
15242 PyObject
* obj4
= 0 ;
15243 PyObject
* obj5
= 0 ;
15244 PyObject
* obj6
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 arg3
= (int)SWIG_As_int(obj2
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15261 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15267 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15271 arg6
= (long)SWIG_As_long(obj5
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15276 arg7
= wxString_in_helper(obj6
);
15277 if (arg7
== NULL
) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15305 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= SWIG_From_int((int)result
);
15331 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "padding", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "sz", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 Py_INCREF(Py_None
); resultobj
= Py_None
;
15395 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15398 wxPoint
*arg2
= 0 ;
15399 long *arg3
= (long *) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self",(char *) "pt", NULL
15410 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_From_int((int)result
);
15426 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15427 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15434 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self",(char *) "sizePage", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 wxSize
* resultptr
;
15462 resultptr
= new wxSize((wxSize
&) result
);
15463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15471 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15474 wxVisualAttributes result
;
15475 PyObject
* obj0
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "variant", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15482 arg1
= (int)SWIG_As_int(obj0
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 if (!wxPyCheckForApp()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 wxVisualAttributes
* resultptr
;
15495 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15504 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15507 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15509 return Py_BuildValue((char *)"");
15511 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15514 int arg2
= (int) 0 ;
15515 int arg3
= (int) -1 ;
15516 int arg4
= (int) -1 ;
15517 wxNotebookEvent
*result
;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 PyObject
* obj2
= 0 ;
15521 PyObject
* obj3
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15528 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 arg2
= (int)SWIG_As_int(obj1
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 arg3
= (int)SWIG_As_int(obj2
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15540 arg4
= (int)SWIG_As_int(obj3
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15557 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15562 return Py_BuildValue((char *)"");
15564 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxWindow
*arg1
= (wxWindow
*) 0 ;
15567 int arg2
= (int) -1 ;
15568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15572 long arg5
= (long) 0 ;
15573 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15574 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15575 wxListbook
*result
;
15578 bool temp6
= false ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 PyObject
* obj2
= 0 ;
15582 PyObject
* obj3
= 0 ;
15583 PyObject
* obj4
= 0 ;
15584 PyObject
* obj5
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 arg2
= (int)SWIG_As_int(obj1
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15609 arg5
= (long)SWIG_As_long(obj4
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15614 arg6
= wxString_in_helper(obj5
);
15615 if (arg6
== NULL
) SWIG_fail
;
15620 if (!wxPyCheckForApp()) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15642 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxListbook
*result
;
15645 char *kwnames
[] = {
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15651 if (!wxPyCheckForApp()) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (wxListbook
*)new wxListbook();
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15665 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxListbook
*arg1
= (wxListbook
*) 0 ;
15668 wxWindow
*arg2
= (wxWindow
*) 0 ;
15669 int arg3
= (int) -1 ;
15670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15674 long arg6
= (long) 0 ;
15675 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15680 bool temp7
= false ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 PyObject
* obj2
= 0 ;
15684 PyObject
* obj3
= 0 ;
15685 PyObject
* obj4
= 0 ;
15686 PyObject
* obj5
= 0 ;
15687 PyObject
* obj6
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 arg3
= (int)SWIG_As_int(obj2
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15704 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15710 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15714 arg6
= (long)SWIG_As_long(obj5
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15719 arg7
= wxString_in_helper(obj6
);
15720 if (arg7
== NULL
) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15748 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxListbook
*arg1
= (wxListbook
*) 0 ;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15776 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxListbook
*arg1
= (wxListbook
*) 0 ;
15779 wxListView
*result
;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (wxListView
*)(arg1
)->GetListView();
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15802 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15805 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15807 return Py_BuildValue((char *)"");
15809 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15812 int arg2
= (int) 0 ;
15813 int arg3
= (int) -1 ;
15814 int arg4
= (int) -1 ;
15815 wxListbookEvent
*result
;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 PyObject
* obj2
= 0 ;
15819 PyObject
* obj3
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15826 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 arg2
= (int)SWIG_As_int(obj1
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 arg3
= (int)SWIG_As_int(obj2
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 arg4
= (int)SWIG_As_int(obj3
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15855 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15858 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15860 return Py_BuildValue((char *)"");
15862 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxWindow
*arg1
= (wxWindow
*) 0 ;
15866 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15867 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15868 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15869 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15870 long arg5
= (long) 0 ;
15871 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15872 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15873 wxChoicebook
*result
;
15876 bool temp6
= false ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 PyObject
* obj2
= 0 ;
15880 PyObject
* obj3
= 0 ;
15881 PyObject
* obj4
= 0 ;
15882 PyObject
* obj5
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 arg2
= (int)SWIG_As_int(obj1
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15905 arg5
= (long)SWIG_As_long(obj4
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15910 arg6
= wxString_in_helper(obj5
);
15911 if (arg6
== NULL
) SWIG_fail
;
15916 if (!wxPyCheckForApp()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15938 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxChoicebook
*result
;
15941 char *kwnames
[] = {
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
15947 if (!wxPyCheckForApp()) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (wxChoicebook
*)new wxChoicebook();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15961 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
15964 wxWindow
*arg2
= (wxWindow
*) 0 ;
15966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15970 long arg6
= (long) 0 ;
15971 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15972 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15976 bool temp7
= false ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 PyObject
* obj2
= 0 ;
15980 PyObject
* obj3
= 0 ;
15981 PyObject
* obj4
= 0 ;
15982 PyObject
* obj5
= 0 ;
15983 PyObject
* obj6
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 arg3
= (int)SWIG_As_int(obj2
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16008 arg6
= (long)SWIG_As_long(obj5
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16013 arg7
= wxString_in_helper(obj6
);
16014 if (arg7
== NULL
) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)(arg1
)->DeleteAllPages();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16098 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16101 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16103 return Py_BuildValue((char *)"");
16105 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16108 int arg2
= (int) 0 ;
16109 int arg3
= (int) -1 ;
16110 int arg4
= (int) -1 ;
16111 wxChoicebookEvent
*result
;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 PyObject
* obj2
= 0 ;
16115 PyObject
* obj3
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16122 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16126 arg2
= (int)SWIG_As_int(obj1
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16130 arg3
= (int)SWIG_As_int(obj2
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 arg4
= (int)SWIG_As_int(obj3
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16151 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16154 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16156 return Py_BuildValue((char *)"");
16158 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
16161 wxBookCtrlSizer
*result
;
16162 PyObject
* obj0
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "nb", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16184 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 (arg1
)->RecalcSizes();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 Py_INCREF(Py_None
); resultobj
= Py_None
;
16209 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (arg1
)->CalcMin();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 wxSize
* resultptr
;
16230 resultptr
= new wxSize((wxSize
&) result
);
16231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16239 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16242 wxBookCtrl
*result
;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16265 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16268 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16270 return Py_BuildValue((char *)"");
16272 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16275 wxNotebookSizer
*result
;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "nb", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16298 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->RecalcSizes();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (arg1
)->CalcMin();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 wxSize
* resultptr
;
16344 resultptr
= new wxSize((wxSize
&) result
);
16345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16353 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16356 wxNotebook
*result
;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= wxPyMake_wxObject(result
, 0);
16381 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16384 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16386 return Py_BuildValue((char *)"");
16388 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= (int)(arg1
)->GetId();
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_From_int((int)result
);
16414 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (wxControl
*)(arg1
)->GetControl();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= wxPyMake_wxObject(result
, 0);
16442 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16445 wxToolBarBase
*result
;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= wxPyMake_wxObject(result
, 0);
16470 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16474 PyObject
* obj0
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (int)(arg1
)->IsButton();
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= SWIG_From_int((int)result
);
16496 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (int)(arg1
)->IsControl();
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_From_int((int)result
);
16522 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 result
= (int)(arg1
)->IsSeparator();
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_From_int((int)result
);
16548 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 char *kwnames
[] = {
16554 (char *) "self", NULL
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (int)(arg1
)->GetStyle();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_From_int((int)result
);
16574 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (int)(arg1
)->GetKind();
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_From_int((int)result
);
16600 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (bool)(arg1
)->IsEnabled();
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (bool)(arg1
)->IsToggled();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16656 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (bool)(arg1
)->CanBeToggled();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16684 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16688 PyObject
* obj0
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16700 result
= (wxBitmap
*) &_result_ref
;
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 wxBitmap
* resultptr
= new wxBitmap(*result
);
16708 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16716 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(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_GetDisabledBitmap",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();
16731 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16732 result
= (wxBitmap
*) &_result_ref
;
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 wxBitmap
* resultptr
= new wxBitmap(*result
);
16740 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16748 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16749 PyObject
*resultobj
;
16750 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (arg1
)->GetBitmap();
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 wxBitmap
* resultptr
;
16769 resultptr
= new wxBitmap((wxBitmap
&) result
);
16770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16778 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (arg1
)->GetLabel();
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16810 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (arg1
)->GetShortHelp();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16842 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (arg1
)->GetLongHelp();
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16874 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "enable", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 arg2
= (bool)SWIG_As_bool(obj1
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (bool)(arg1
)->Enable(arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16906 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 wxPyEndAllowThreads(__tstate
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16924 Py_INCREF(Py_None
); resultobj
= Py_None
;
16931 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
;
16933 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self",(char *) "toggle", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16945 arg2
= (bool)SWIG_As_bool(obj1
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (bool)(arg1
)->SetToggle(arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16963 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16966 wxString
*arg2
= 0 ;
16968 bool temp2
= false ;
16969 PyObject
* obj0
= 0 ;
16970 PyObject
* obj1
= 0 ;
16971 char *kwnames
[] = {
16972 (char *) "self",(char *) "help", NULL
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 arg2
= wxString_in_helper(obj1
);
16980 if (arg2
== NULL
) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17007 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17010 wxString
*arg2
= 0 ;
17012 bool temp2
= false ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "help", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 arg2
= wxString_in_helper(obj1
);
17024 if (arg2
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17054 wxBitmap
*arg2
= 0 ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self",(char *) "bmp", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17067 if (arg2
== NULL
) {
17068 PyErr_SetString(PyExc_TypeError
,"null reference");
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 Py_INCREF(Py_None
); resultobj
= Py_None
;
17085 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17088 wxBitmap
*arg2
= 0 ;
17089 PyObject
* obj0
= 0 ;
17090 PyObject
* obj1
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self",(char *) "bmp", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17101 if (arg2
== NULL
) {
17102 PyErr_SetString(PyExc_TypeError
,"null reference");
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 Py_INCREF(Py_None
); resultobj
= Py_None
;
17119 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17122 wxString
*arg2
= 0 ;
17123 bool temp2
= false ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 char *kwnames
[] = {
17127 (char *) "self",(char *) "label", NULL
17130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17134 arg2
= wxString_in_helper(obj1
);
17135 if (arg2
== NULL
) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->SetLabel((wxString
const &)*arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 Py_INCREF(Py_None
); resultobj
= Py_None
;
17160 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 Py_INCREF(Py_None
); resultobj
= Py_None
;
17185 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17188 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self",(char *) "tbar", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->Attach(arg2
);
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= result
;
17240 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17243 PyObject
*arg2
= (PyObject
*) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self",(char *) "clientData", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 Py_INCREF(Py_None
); resultobj
= Py_None
;
17268 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17271 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17273 return Py_BuildValue((char *)"");
17275 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17279 wxString
*arg3
= 0 ;
17280 wxBitmap
*arg4
= 0 ;
17281 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17282 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17283 int arg6
= (int) wxITEM_NORMAL
;
17284 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17285 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17286 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17288 PyObject
*arg9
= (PyObject
*) NULL
;
17289 wxToolBarToolBase
*result
;
17290 bool temp3
= false ;
17291 bool temp7
= false ;
17292 bool temp8
= false ;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 PyObject
* obj4
= 0 ;
17298 PyObject
* obj5
= 0 ;
17299 PyObject
* obj6
= 0 ;
17300 PyObject
* obj7
= 0 ;
17301 PyObject
* obj8
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 arg2
= (int)SWIG_As_int(obj1
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 arg3
= wxString_in_helper(obj2
);
17313 if (arg3
== NULL
) SWIG_fail
;
17316 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17319 if (arg4
== NULL
) {
17320 PyErr_SetString(PyExc_TypeError
,"null reference");
17324 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17327 if (arg5
== NULL
) {
17328 PyErr_SetString(PyExc_TypeError
,"null reference");
17333 arg6
= (int)SWIG_As_int(obj5
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 arg7
= wxString_in_helper(obj6
);
17339 if (arg7
== NULL
) SWIG_fail
;
17345 arg8
= wxString_in_helper(obj7
);
17346 if (arg8
== NULL
) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= wxPyMake_wxObject(result
, 0);
17393 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
;
17395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17398 wxString
*arg4
= 0 ;
17399 wxBitmap
*arg5
= 0 ;
17400 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17401 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17402 int arg7
= (int) wxITEM_NORMAL
;
17403 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17404 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17405 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17406 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17407 PyObject
*arg10
= (PyObject
*) NULL
;
17408 wxToolBarToolBase
*result
;
17409 bool temp4
= false ;
17410 bool temp8
= false ;
17411 bool temp9
= false ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 PyObject
* obj2
= 0 ;
17415 PyObject
* obj3
= 0 ;
17416 PyObject
* obj4
= 0 ;
17417 PyObject
* obj5
= 0 ;
17418 PyObject
* obj6
= 0 ;
17419 PyObject
* obj7
= 0 ;
17420 PyObject
* obj8
= 0 ;
17421 PyObject
* obj9
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17429 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17431 arg3
= (int)SWIG_As_int(obj2
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 arg4
= wxString_in_helper(obj3
);
17435 if (arg4
== NULL
) SWIG_fail
;
17438 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17441 if (arg5
== NULL
) {
17442 PyErr_SetString(PyExc_TypeError
,"null reference");
17446 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17449 if (arg6
== NULL
) {
17450 PyErr_SetString(PyExc_TypeError
,"null reference");
17455 arg7
= (int)SWIG_As_int(obj6
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17460 arg8
= wxString_in_helper(obj7
);
17461 if (arg8
== NULL
) SWIG_fail
;
17467 arg9
= wxString_in_helper(obj8
);
17468 if (arg9
== NULL
) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 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
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= wxPyMake_wxObject(result
, 0);
17515 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17518 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17519 wxToolBarToolBase
*result
;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self",(char *) "tool", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= wxPyMake_wxObject(result
, 0);
17547 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17551 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17552 wxToolBarToolBase
*result
;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 PyObject
* obj2
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self",(char *) "pos",(char *) "tool", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17563 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= wxPyMake_wxObject(result
, 0);
17583 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17586 wxControl
*arg2
= (wxControl
*) 0 ;
17587 wxToolBarToolBase
*result
;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "control", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17601 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17603 wxPyEndAllowThreads(__tstate
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= wxPyMake_wxObject(result
, 0);
17615 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17619 wxControl
*arg3
= (wxControl
*) 0 ;
17620 wxToolBarToolBase
*result
;
17621 PyObject
* obj0
= 0 ;
17622 PyObject
* obj1
= 0 ;
17623 PyObject
* obj2
= 0 ;
17624 char *kwnames
[] = {
17625 (char *) "self",(char *) "pos",(char *) "control", NULL
17628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17633 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= wxPyMake_wxObject(result
, 0);
17651 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "id", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 arg2
= (int)SWIG_As_int(obj1
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= wxPyMake_wxObject(result
, 0);
17683 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17686 wxToolBarToolBase
*result
;
17687 PyObject
* obj0
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= wxPyMake_wxObject(result
, 0);
17711 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17715 wxToolBarToolBase
*result
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self",(char *) "pos", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= wxPyMake_wxObject(result
, 0);
17743 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17747 wxToolBarToolBase
*result
;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "id", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17757 arg2
= (int)SWIG_As_int(obj1
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= wxPyMake_wxObject(result
, 0);
17775 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 PyObject
* obj1
= 0 ;
17782 char *kwnames
[] = {
17783 (char *) "self",(char *) "pos", NULL
17786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17807 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17808 PyObject
*resultobj
;
17809 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 char *kwnames
[] = {
17815 (char *) "self",(char *) "id", NULL
17818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 arg2
= (int)SWIG_As_int(obj1
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 result
= (bool)(arg1
)->DeleteTool(arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17839 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17842 PyObject
* obj0
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->ClearTools();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 Py_INCREF(Py_None
); resultobj
= Py_None
;
17864 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (bool)(arg1
)->Realize();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17892 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 PyObject
* obj1
= 0 ;
17899 PyObject
* obj2
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "id",(char *) "enable", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17907 arg2
= (int)SWIG_As_int(obj1
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17909 arg3
= (bool)SWIG_As_bool(obj2
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->EnableTool(arg2
,arg3
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17925 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17930 PyObject
* obj0
= 0 ;
17931 PyObject
* obj1
= 0 ;
17932 PyObject
* obj2
= 0 ;
17933 char *kwnames
[] = {
17934 (char *) "self",(char *) "id",(char *) "toggle", NULL
17937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17940 arg2
= (int)SWIG_As_int(obj1
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17942 arg3
= (bool)SWIG_As_bool(obj2
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->ToggleTool(arg2
,arg3
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 PyObject
* obj1
= 0 ;
17965 PyObject
* obj2
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "id",(char *) "toggle", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17973 arg2
= (int)SWIG_As_int(obj1
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17975 arg3
= (bool)SWIG_As_bool(obj2
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->SetToggle(arg2
,arg3
);
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 Py_INCREF(Py_None
); resultobj
= Py_None
;
17991 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "id", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 arg2
= (int)SWIG_As_int(obj1
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= result
;
18021 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18025 PyObject
*arg3
= (PyObject
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 PyObject
* obj2
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "id",(char *) "clientData", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18036 arg2
= (int)SWIG_As_int(obj1
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self",(char *) "id", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18067 arg2
= (int)SWIG_As_int(obj1
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_From_int((int)result
);
18083 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "id", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18097 arg2
= (int)SWIG_As_int(obj1
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 result
= (bool)(arg1
)->GetToolState(arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18115 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
;
18117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "id", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (int)SWIG_As_int(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18147 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18151 wxString
*arg3
= 0 ;
18152 bool temp3
= false ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 PyObject
* obj2
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "id",(char *) "helpString", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 arg2
= (int)SWIG_As_int(obj1
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 arg3
= wxString_in_helper(obj2
);
18167 if (arg3
== NULL
) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18192 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
;
18194 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self",(char *) "id", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 arg2
= (int)SWIG_As_int(obj1
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (arg1
)->GetToolShortHelp(arg2
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18228 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18232 wxString
*arg3
= 0 ;
18233 bool temp3
= false ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 PyObject
* obj2
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "id",(char *) "helpString", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18244 arg2
= (int)SWIG_As_int(obj1
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 arg3
= wxString_in_helper(obj2
);
18248 if (arg3
== NULL
) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18273 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "self",(char *) "id", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18287 arg2
= (int)SWIG_As_int(obj1
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (arg1
)->GetToolLongHelp(arg2
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18309 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self",(char *) "x",(char *) "y", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 arg2
= (int)SWIG_As_int(obj1
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18326 arg3
= (int)SWIG_As_int(obj2
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->SetMargins(arg2
,arg3
);
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 Py_INCREF(Py_None
); resultobj
= Py_None
;
18342 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 PyObject
* obj1
= 0 ;
18349 char *kwnames
[] = {
18350 (char *) "self",(char *) "size", NULL
18353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18378 PyObject
* obj0
= 0 ;
18379 PyObject
* obj1
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self",(char *) "packing", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 arg2
= (int)SWIG_As_int(obj1
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->SetToolPacking(arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "separation", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= (int)SWIG_As_int(obj1
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->SetToolSeparation(arg2
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (arg1
)->GetToolMargins();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18452 wxSize
* resultptr
;
18453 resultptr
= new wxSize((wxSize
&) result
);
18454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18462 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18463 PyObject
*resultobj
;
18464 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (arg1
)->GetMargins();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 wxSize
* resultptr
;
18483 resultptr
= new wxSize((wxSize
&) result
);
18484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18492 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 char *kwnames
[] = {
18498 (char *) "self", NULL
18501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (int)(arg1
)->GetToolPacking();
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_From_int((int)result
);
18518 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)(arg1
)->GetToolSeparation();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_From_int((int)result
);
18544 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self",(char *) "nRows", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 arg2
= (int)SWIG_As_int(obj1
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->SetRows(arg2
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "rows",(char *) "cols", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18588 arg2
= (int)SWIG_As_int(obj1
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18590 arg3
= (int)SWIG_As_int(obj2
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_ToolBarBase_GetMaxRows(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_GetMaxRows",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
)->GetMaxRows();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_From_int((int)result
);
18632 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (int)(arg1
)->GetMaxCols();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_From_int((int)result
);
18658 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "size", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 Py_INCREF(Py_None
); resultobj
= Py_None
;
18690 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= (arg1
)->GetToolBitmapSize();
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 wxSize
* resultptr
;
18711 resultptr
= new wxSize((wxSize
&) result
);
18712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18720 static PyObject
*_wrap_ToolBarBase_GetToolSize(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_GetToolSize",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
= (arg1
)->GetToolSize();
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18740 wxSize
* resultptr
;
18741 resultptr
= new wxSize((wxSize
&) result
);
18742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18750 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
;
18752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18755 wxToolBarToolBase
*result
;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 PyObject
* obj2
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "x",(char *) "y", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 arg2
= (int)SWIG_As_int(obj1
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18768 arg3
= (int)SWIG_As_int(obj2
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= wxPyMake_wxObject(result
, 0);
18786 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18790 wxToolBarToolBase
*result
;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self",(char *) "toolid", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 arg2
= (int)SWIG_As_int(obj1
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= wxPyMake_wxObject(result
, 0);
18818 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
;
18820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18822 PyObject
* obj0
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (bool)(arg1
)->IsVertical();
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18846 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18849 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18851 return Py_BuildValue((char *)"");
18853 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxWindow
*arg1
= (wxWindow
*) 0 ;
18856 int arg2
= (int) -1 ;
18857 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18858 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18859 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18860 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18861 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18862 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18863 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18867 bool temp6
= false ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 PyObject
* obj2
= 0 ;
18871 PyObject
* obj3
= 0 ;
18872 PyObject
* obj4
= 0 ;
18873 PyObject
* obj5
= 0 ;
18874 char *kwnames
[] = {
18875 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18882 arg2
= (int)SWIG_As_int(obj1
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18898 arg5
= (long)SWIG_As_long(obj4
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18903 arg6
= wxString_in_helper(obj5
);
18904 if (arg6
== NULL
) SWIG_fail
;
18909 if (!wxPyCheckForApp()) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18931 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18934 char *kwnames
[] = {
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18940 if (!wxPyCheckForApp()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (wxToolBar
*)new wxToolBar();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18954 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18957 wxWindow
*arg2
= (wxWindow
*) 0 ;
18958 int arg3
= (int) -1 ;
18959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18963 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18964 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18965 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18969 bool temp7
= false ;
18970 PyObject
* obj0
= 0 ;
18971 PyObject
* obj1
= 0 ;
18972 PyObject
* obj2
= 0 ;
18973 PyObject
* obj3
= 0 ;
18974 PyObject
* obj4
= 0 ;
18975 PyObject
* obj5
= 0 ;
18976 PyObject
* obj6
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 arg3
= (int)SWIG_As_int(obj2
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18993 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18999 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19003 arg6
= (long)SWIG_As_long(obj5
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19008 arg7
= wxString_in_helper(obj6
);
19009 if (arg7
== NULL
) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19037 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19042 wxToolBarToolBase
*result
;
19043 PyObject
* obj0
= 0 ;
19044 PyObject
* obj1
= 0 ;
19045 PyObject
* obj2
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self",(char *) "x",(char *) "y", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 arg2
= (int)SWIG_As_int(obj1
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19055 arg3
= (int)SWIG_As_int(obj2
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= wxPyMake_wxObject(result
, 0);
19073 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19076 wxVisualAttributes result
;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "variant", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19084 arg1
= (int)SWIG_As_int(obj0
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 if (!wxPyCheckForApp()) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19096 wxVisualAttributes
* resultptr
;
19097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19106 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19109 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19111 return Py_BuildValue((char *)"");
19113 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19114 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19119 static PyObject
*_wrap_ListCtrlNameStr_get() {
19124 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19126 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19133 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxColour
const &arg1_defvalue
= wxNullColour
;
19136 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19137 wxColour
const &arg2_defvalue
= wxNullColour
;
19138 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19139 wxFont
const &arg3_defvalue
= wxNullFont
;
19140 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19141 wxListItemAttr
*result
;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19155 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19161 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19165 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19168 if (arg3
== NULL
) {
19169 PyErr_SetString(PyExc_TypeError
,"null reference");
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19177 wxPyEndAllowThreads(__tstate
);
19178 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19187 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19188 PyObject
*resultobj
;
19189 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19190 wxColour
*arg2
= 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "colText", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 Py_INCREF(Py_None
); resultobj
= Py_None
;
19219 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19222 wxColour
*arg2
= 0 ;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char *kwnames
[] = {
19227 (char *) "self",(char *) "colBack", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 Py_INCREF(Py_None
); resultobj
= Py_None
;
19251 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19253 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self",(char *) "font", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19267 if (arg2
== NULL
) {
19268 PyErr_SetString(PyExc_TypeError
,"null reference");
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 (arg1
)->SetFont((wxFont
const &)*arg2
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 Py_INCREF(Py_None
); resultobj
= Py_None
;
19285 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (bool)(arg1
)->HasTextColour();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19313 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)(arg1
)->HasBackgroundColour();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19341 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (bool)(arg1
)->HasFont();
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19369 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
;
19371 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (arg1
)->GetTextColour();
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 wxColour
* resultptr
;
19390 resultptr
= new wxColour((wxColour
&) result
);
19391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19399 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
;
19401 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 result
= (arg1
)->GetBackgroundColour();
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19419 wxColour
* resultptr
;
19420 resultptr
= new wxColour((wxColour
&) result
);
19421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19429 static PyObject
*_wrap_ListItemAttr_GetFont(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_GetFont",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
= (arg1
)->GetFont();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 wxFont
* resultptr
;
19450 resultptr
= new wxFont((wxFont
&) result
);
19451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19459 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 wxListItemAttr_Destroy(arg1
);
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19477 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19487 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19489 return Py_BuildValue((char *)"");
19491 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxListItem
*result
;
19494 char *kwnames
[] = {
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (wxListItem
*)new wxListItem();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19507 resultobj
= wxPyMake_wxObject(result
, 1);
19515 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxListItem
*arg1
= (wxListItem
*) 0 ;
19518 PyObject
* obj0
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "self", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 Py_INCREF(Py_None
); resultobj
= Py_None
;
19540 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxListItem
*arg1
= (wxListItem
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListItem
*arg1
= (wxListItem
*) 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->ClearAttributes();
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxListItem
*arg1
= (wxListItem
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "mask", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 arg2
= (long)SWIG_As_long(obj1
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 (arg1
)->SetMask(arg2
);
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 Py_INCREF(Py_None
); resultobj
= Py_None
;
19619 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxListItem
*arg1
= (wxListItem
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "id", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 arg2
= (long)SWIG_As_long(obj1
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetId(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxListItem
*arg1
= (wxListItem
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "col", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 arg2
= (int)SWIG_As_int(obj1
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 (arg1
)->SetColumn(arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxListItem
*arg1
= (wxListItem
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self",(char *) "state", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 arg2
= (long)SWIG_As_long(obj1
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->SetState(arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxListItem
*arg1
= (wxListItem
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "stateMask", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 arg2
= (long)SWIG_As_long(obj1
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->SetStateMask(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 Py_INCREF(Py_None
); resultobj
= Py_None
;
19735 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListItem
*arg1
= (wxListItem
*) 0 ;
19738 wxString
*arg2
= 0 ;
19739 bool temp2
= false ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self",(char *) "text", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 arg2
= wxString_in_helper(obj1
);
19751 if (arg2
== NULL
) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 (arg1
)->SetText((wxString
const &)*arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 Py_INCREF(Py_None
); resultobj
= Py_None
;
19776 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxListItem
*arg1
= (wxListItem
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "image", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 arg2
= (int)SWIG_As_int(obj1
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetImage(arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 Py_INCREF(Py_None
); resultobj
= Py_None
;
19805 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxListItem
*arg1
= (wxListItem
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "data", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 arg2
= (long)SWIG_As_long(obj1
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->SetData(arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxListItem
*arg1
= (wxListItem
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "width", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 arg2
= (int)SWIG_As_int(obj1
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 (arg1
)->SetWidth(arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 Py_INCREF(Py_None
); resultobj
= Py_None
;
19863 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "align", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 arg2
= (int)SWIG_As_int(obj1
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxListItem
*arg1
= (wxListItem
*) 0 ;
19895 wxColour
*arg2
= 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self",(char *) "colText", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 Py_INCREF(Py_None
); resultobj
= Py_None
;
19924 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 wxColour
*arg2
= 0 ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 char *kwnames
[] = {
19932 (char *) "self",(char *) "colBack", NULL
19935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19940 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 Py_INCREF(Py_None
); resultobj
= Py_None
;
19956 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxListItem
*arg1
= (wxListItem
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 PyObject
* obj1
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self",(char *) "font", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19972 if (arg2
== NULL
) {
19973 PyErr_SetString(PyExc_TypeError
,"null reference");
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->SetFont((wxFont
const &)*arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxListItem
*arg1
= (wxListItem
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (long)(arg1
)->GetMask();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= SWIG_From_long((long)result
);
20016 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxListItem
*arg1
= (wxListItem
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 char *kwnames
[] = {
20022 (char *) "self", NULL
20025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20030 result
= (long)(arg1
)->GetId();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_From_long((long)result
);
20042 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxListItem
*arg1
= (wxListItem
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (int)(arg1
)->GetColumn();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_From_int((int)result
);
20068 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxListItem
*arg1
= (wxListItem
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (long)(arg1
)->GetState();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_From_long((long)result
);
20094 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxListItem
*arg1
= (wxListItem
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 wxString
const &_result_ref
= (arg1
)->GetText();
20110 result
= (wxString
*) &_result_ref
;
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20120 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20129 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxListItem
*arg1
= (wxListItem
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (int)(arg1
)->GetImage();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_From_int((int)result
);
20155 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxListItem
*arg1
= (wxListItem
*) 0 ;
20159 PyObject
* obj0
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 result
= (long)(arg1
)->GetData();
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_From_long((long)result
);
20181 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20183 wxListItem
*arg1
= (wxListItem
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (int)(arg1
)->GetWidth();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= SWIG_From_int((int)result
);
20207 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxListItem
*arg1
= (wxListItem
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (int)(arg1
)->GetAlign();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_From_int((int)result
);
20233 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxListItem
*arg1
= (wxListItem
*) 0 ;
20236 wxListItemAttr
*result
;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20259 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxListItem
*arg1
= (wxListItem
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (bool)(arg1
)->HasAttributes();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxListItem
*arg1
= (wxListItem
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20307 wxColour
* resultptr
;
20308 resultptr
= new wxColour((wxColour
&) result
);
20309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20317 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxListItem
*arg1
= (wxListItem
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 char *kwnames
[] = {
20323 (char *) "self", NULL
20326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20337 wxColour
* resultptr
;
20338 resultptr
= new wxColour((wxColour
&) result
);
20339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20347 static PyObject
*_wrap_ListItem_GetFont(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_GetFont",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
= ((wxListItem
const *)arg1
)->GetFont();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 wxFont
* resultptr
;
20368 resultptr
= new wxFont((wxFont
&) result
);
20369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20377 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxListItem
*arg1
= (wxListItem
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 char *kwnames
[] = {
20384 (char *) "self",(char *) "m_mask", NULL
20387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 arg2
= (long)SWIG_As_long(obj1
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20392 if (arg1
) (arg1
)->m_mask
= arg2
;
20394 Py_INCREF(Py_None
); resultobj
= Py_None
;
20401 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxListItem
*arg1
= (wxListItem
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 result
= (long) ((arg1
)->m_mask
);
20415 resultobj
= SWIG_From_long((long)result
);
20422 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxListItem
*arg1
= (wxListItem
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self",(char *) "m_itemId", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 arg2
= (long)SWIG_As_long(obj1
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20437 if (arg1
) (arg1
)->m_itemId
= arg2
;
20439 Py_INCREF(Py_None
); resultobj
= Py_None
;
20446 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxListItem
*arg1
= (wxListItem
*) 0 ;
20450 PyObject
* obj0
= 0 ;
20451 char *kwnames
[] = {
20452 (char *) "self", NULL
20455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20458 result
= (long) ((arg1
)->m_itemId
);
20460 resultobj
= SWIG_From_long((long)result
);
20467 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxListItem
*arg1
= (wxListItem
*) 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self",(char *) "m_col", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20480 arg2
= (int)SWIG_As_int(obj1
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20482 if (arg1
) (arg1
)->m_col
= arg2
;
20484 Py_INCREF(Py_None
); resultobj
= Py_None
;
20491 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxListItem
*arg1
= (wxListItem
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20503 result
= (int) ((arg1
)->m_col
);
20505 resultobj
= SWIG_From_int((int)result
);
20512 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxListItem
*arg1
= (wxListItem
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 PyObject
* obj1
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self",(char *) "m_state", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20525 arg2
= (long)SWIG_As_long(obj1
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20527 if (arg1
) (arg1
)->m_state
= arg2
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxListItem
*arg1
= (wxListItem
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 result
= (long) ((arg1
)->m_state
);
20550 resultobj
= SWIG_From_long((long)result
);
20557 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxListItem
*arg1
= (wxListItem
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "m_stateMask", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 arg2
= (long)SWIG_As_long(obj1
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20572 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxListItem
*arg1
= (wxListItem
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 result
= (long) ((arg1
)->m_stateMask
);
20595 resultobj
= SWIG_From_long((long)result
);
20602 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxListItem
*arg1
= (wxListItem
*) 0 ;
20605 wxString
*arg2
= (wxString
*) 0 ;
20606 bool temp2
= false ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "m_text", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 arg2
= wxString_in_helper(obj1
);
20618 if (arg2
== NULL
) SWIG_fail
;
20621 if (arg1
) (arg1
)->m_text
= *arg2
;
20623 Py_INCREF(Py_None
); resultobj
= Py_None
;
20638 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxListItem
*arg1
= (wxListItem
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 result
= (wxString
*)& ((arg1
)->m_text
);
20654 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20656 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20665 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxListItem
*arg1
= (wxListItem
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self",(char *) "m_image", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 arg2
= (int)SWIG_As_int(obj1
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20680 if (arg1
) (arg1
)->m_image
= arg2
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxListItem
*arg1
= (wxListItem
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 result
= (int) ((arg1
)->m_image
);
20703 resultobj
= SWIG_From_int((int)result
);
20710 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxListItem
*arg1
= (wxListItem
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self",(char *) "m_data", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 arg2
= (long)SWIG_As_long(obj1
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20725 if (arg1
) (arg1
)->m_data
= arg2
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxListItem
*arg1
= (wxListItem
*) 0 ;
20738 PyObject
* obj0
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 result
= (long) ((arg1
)->m_data
);
20748 resultobj
= SWIG_From_long((long)result
);
20755 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxListItem
*arg1
= (wxListItem
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "m_format", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 arg2
= (int)SWIG_As_int(obj1
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20770 if (arg1
) (arg1
)->m_format
= arg2
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20779 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxListItem
*arg1
= (wxListItem
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 result
= (int) ((arg1
)->m_format
);
20793 resultobj
= SWIG_From_int((int)result
);
20800 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxListItem
*arg1
= (wxListItem
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self",(char *) "m_width", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 arg2
= (int)SWIG_As_int(obj1
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20815 if (arg1
) (arg1
)->m_width
= arg2
;
20817 Py_INCREF(Py_None
); resultobj
= Py_None
;
20824 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxListItem
*arg1
= (wxListItem
*) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 result
= (int) ((arg1
)->m_width
);
20838 resultobj
= SWIG_From_int((int)result
);
20845 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20848 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20850 return Py_BuildValue((char *)"");
20852 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20855 int arg2
= (int) 0 ;
20856 wxListEvent
*result
;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "commandType",(char *) "id", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20865 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 arg2
= (int)SWIG_As_int(obj1
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20886 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 PyObject
* obj1
= 0 ;
20892 char *kwnames
[] = {
20893 (char *) "self",(char *) "m_code", NULL
20896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 arg2
= (int)SWIG_As_int(obj1
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20901 if (arg1
) (arg1
)->m_code
= arg2
;
20903 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 result
= (int) ((arg1
)->m_code
);
20924 resultobj
= SWIG_From_int((int)result
);
20931 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20935 PyObject
* obj0
= 0 ;
20936 PyObject
* obj1
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self",(char *) "m_oldItemIndex", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 arg2
= (long)SWIG_As_long(obj1
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20946 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20948 Py_INCREF(Py_None
); resultobj
= Py_None
;
20955 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20967 result
= (long) ((arg1
)->m_oldItemIndex
);
20969 resultobj
= SWIG_From_long((long)result
);
20976 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self",(char *) "m_itemIndex", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 arg2
= (long)SWIG_As_long(obj1
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20991 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21012 result
= (long) ((arg1
)->m_itemIndex
);
21014 resultobj
= SWIG_From_long((long)result
);
21021 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "m_col", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21034 arg2
= (int)SWIG_As_int(obj1
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21036 if (arg1
) (arg1
)->m_col
= arg2
;
21038 Py_INCREF(Py_None
); resultobj
= Py_None
;
21045 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
;
21047 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21057 result
= (int) ((arg1
)->m_col
);
21059 resultobj
= SWIG_From_int((int)result
);
21066 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21069 wxPoint
*arg2
= (wxPoint
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self",(char *) "m_pointDrag", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21083 Py_INCREF(Py_None
); resultobj
= Py_None
;
21090 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21111 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21114 wxListItem
*result
;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 result
= (wxListItem
*)& ((arg1
)->m_item
);
21126 resultobj
= wxPyMake_wxObject(result
, 0);
21134 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (int)(arg1
)->GetKeyCode();
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_int((int)result
);
21160 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21162 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "self", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (long)(arg1
)->GetIndex();
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_From_long((long)result
);
21186 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
;
21188 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21190 PyObject
* obj0
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= (int)(arg1
)->GetColumn();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= SWIG_From_int((int)result
);
21212 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21216 PyObject
* obj0
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (arg1
)->GetPoint();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21232 wxPoint
* resultptr
;
21233 resultptr
= new wxPoint((wxPoint
&) result
);
21234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21242 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21243 PyObject
*resultobj
;
21244 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 wxString
const &_result_ref
= (arg1
)->GetLabel();
21258 result
= (wxString
*) &_result_ref
;
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21268 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21277 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21281 PyObject
* obj0
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 wxString
const &_result_ref
= (arg1
)->GetText();
21293 result
= (wxString
*) &_result_ref
;
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21303 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21312 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 char *kwnames
[] = {
21318 (char *) "self", NULL
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (int)(arg1
)->GetImage();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_From_int((int)result
);
21338 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (long)(arg1
)->GetData();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_From_long((long)result
);
21364 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (long)(arg1
)->GetMask();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_From_long((long)result
);
21390 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21393 wxListItem
*result
;
21394 PyObject
* obj0
= 0 ;
21395 char *kwnames
[] = {
21396 (char *) "self", NULL
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21406 result
= (wxListItem
*) &_result_ref
;
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21419 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (long)(arg1
)->GetCacheFrom();
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= SWIG_From_long((long)result
);
21445 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (long)(arg1
)->GetCacheTo();
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= SWIG_From_long((long)result
);
21471 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21475 PyObject
* obj0
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21499 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self",(char *) "editCancelled", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21512 arg2
= (bool)SWIG_As_bool(obj1
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 (arg1
)->SetEditCanceled(arg2
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 Py_INCREF(Py_None
); resultobj
= Py_None
;
21528 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21531 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21533 return Py_BuildValue((char *)"");
21535 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxWindow
*arg1
= (wxWindow
*) 0 ;
21538 int arg2
= (int) -1 ;
21539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21543 long arg5
= (long) wxLC_ICON
;
21544 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21545 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21546 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21547 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21548 wxPyListCtrl
*result
;
21551 bool temp7
= false ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 PyObject
* obj2
= 0 ;
21555 PyObject
* obj3
= 0 ;
21556 PyObject
* obj4
= 0 ;
21557 PyObject
* obj5
= 0 ;
21558 PyObject
* obj6
= 0 ;
21559 char *kwnames
[] = {
21560 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 arg2
= (int)SWIG_As_int(obj1
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21579 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21583 arg5
= (long)SWIG_As_long(obj4
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21590 if (arg6
== NULL
) {
21591 PyErr_SetString(PyExc_TypeError
,"null reference");
21597 arg7
= wxString_in_helper(obj6
);
21598 if (arg7
== NULL
) SWIG_fail
;
21603 if (!wxPyCheckForApp()) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21625 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPyListCtrl
*result
;
21628 char *kwnames
[] = {
21632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21634 if (!wxPyCheckForApp()) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21648 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21651 wxWindow
*arg2
= (wxWindow
*) 0 ;
21652 int arg3
= (int) -1 ;
21653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21657 long arg6
= (long) wxLC_ICON
;
21658 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21659 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21660 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21665 bool temp8
= false ;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 PyObject
* obj2
= 0 ;
21669 PyObject
* obj3
= 0 ;
21670 PyObject
* obj4
= 0 ;
21671 PyObject
* obj5
= 0 ;
21672 PyObject
* obj6
= 0 ;
21673 PyObject
* obj7
= 0 ;
21674 char *kwnames
[] = {
21675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 arg3
= (int)SWIG_As_int(obj2
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21700 arg6
= (long)SWIG_As_long(obj5
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21707 if (arg7
== NULL
) {
21708 PyErr_SetString(PyExc_TypeError
,"null reference");
21714 arg8
= wxString_in_helper(obj7
);
21715 if (arg8
== NULL
) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21746 PyObject
*arg2
= (PyObject
*) 0 ;
21747 PyObject
*arg3
= (PyObject
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "self",(char *) "_class", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 Py_INCREF(Py_None
); resultobj
= Py_None
;
21774 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21777 wxColour
*arg2
= 0 ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 char *kwnames
[] = {
21783 (char *) "self",(char *) "col", NULL
21786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21809 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21812 wxColour
*arg2
= 0 ;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self",(char *) "col", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21844 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21848 wxListItem
*result
;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "col", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21858 arg2
= (int)SWIG_As_int(obj1
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= wxPyMake_wxObject(result
, 0);
21876 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21880 wxListItem
*arg3
= 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 PyObject
* obj2
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "col",(char *) "item", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 arg2
= (int)SWIG_As_int(obj1
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21894 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21897 if (arg3
== NULL
) {
21898 PyErr_SetString(PyExc_TypeError
,"null reference");
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21917 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "col", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 arg2
= (int)SWIG_As_int(obj1
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 resultobj
= SWIG_From_int((int)result
);
21947 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 PyObject
* obj2
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "col",(char *) "width", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21963 arg2
= (int)SWIG_As_int(obj1
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21965 arg3
= (int)SWIG_As_int(obj2
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21983 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_From_int((int)result
);
22009 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 char *kwnames
[] = {
22015 (char *) "self", NULL
22018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 wxRect
* resultptr
;
22030 resultptr
= new wxRect((wxRect
&) result
);
22031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22039 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22043 int arg3
= (int) 0 ;
22044 wxListItem
*result
;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 PyObject
* obj2
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "itemId",(char *) "col", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 arg2
= (long)SWIG_As_long(obj1
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 arg3
= (int)SWIG_As_int(obj2
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= wxPyMake_wxObject(result
, 0);
22077 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22080 wxListItem
*arg2
= 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self",(char *) "info", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22094 if (arg2
== NULL
) {
22095 PyErr_SetString(PyExc_TypeError
,"null reference");
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (bool)(arg1
)->SetItem(*arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22119 wxString
*arg4
= 0 ;
22120 int arg5
= (int) -1 ;
22122 bool temp4
= false ;
22123 PyObject
* obj0
= 0 ;
22124 PyObject
* obj1
= 0 ;
22125 PyObject
* obj2
= 0 ;
22126 PyObject
* obj3
= 0 ;
22127 PyObject
* obj4
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 arg2
= (long)SWIG_As_long(obj1
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22137 arg3
= (int)SWIG_As_int(obj2
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 arg4
= wxString_in_helper(obj3
);
22141 if (arg4
== NULL
) SWIG_fail
;
22145 arg5
= (int)SWIG_As_int(obj4
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_From_long((long)result
);
22170 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 arg2
= (long)SWIG_As_long(obj1
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22188 arg3
= (long)SWIG_As_long(obj2
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= SWIG_From_int((int)result
);
22204 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 PyObject
* obj2
= 0 ;
22214 PyObject
* obj3
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 arg2
= (long)SWIG_As_long(obj1
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22224 arg3
= (long)SWIG_As_long(obj2
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22226 arg4
= (long)SWIG_As_long(obj3
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22244 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22249 int arg4
= (int) -1 ;
22251 PyObject
* obj0
= 0 ;
22252 PyObject
* obj1
= 0 ;
22253 PyObject
* obj2
= 0 ;
22254 PyObject
* obj3
= 0 ;
22255 char *kwnames
[] = {
22256 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22262 arg2
= (long)SWIG_As_long(obj1
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22264 arg3
= (int)SWIG_As_int(obj2
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 arg4
= (int)SWIG_As_int(obj3
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22286 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "item", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 arg2
= (long)SWIG_As_long(obj1
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22322 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22326 wxString
*arg3
= 0 ;
22327 bool temp3
= false ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 PyObject
* obj2
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "item",(char *) "str", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
22341 arg3
= wxString_in_helper(obj2
);
22342 if (arg3
== NULL
) SWIG_fail
;
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "item", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22381 arg2
= (long)SWIG_As_long(obj1
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_From_long((long)result
);
22397 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22403 PyObject
* obj0
= 0 ;
22404 PyObject
* obj1
= 0 ;
22405 PyObject
* obj2
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "item",(char *) "data", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 arg2
= (long)SWIG_As_long(obj1
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22415 arg3
= (long)SWIG_As_long(obj2
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22433 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22438 PyObject
* obj0
= 0 ;
22439 PyObject
* obj1
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self",(char *) "item", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22447 arg2
= (long)SWIG_As_long(obj1
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 wxPoint
* resultptr
;
22458 resultptr
= new wxPoint((wxPoint
&) result
);
22459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22467 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22471 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22473 PyObject
* obj0
= 0 ;
22474 PyObject
* obj1
= 0 ;
22475 PyObject
* obj2
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self",(char *) "item",(char *) "code", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22483 arg2
= (long)SWIG_As_long(obj1
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 arg3
= (int)SWIG_As_int(obj2
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 wxRect
* resultptr
;
22498 resultptr
= new wxRect((wxRect
&) result
);
22499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22507 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22511 wxPoint
*arg3
= 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self",(char *) "item",(char *) "pos", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22524 arg2
= (long)SWIG_As_long(obj1
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22546 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_From_int((int)result
);
22572 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
;
22574 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_From_int((int)result
);
22598 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22618 wxSize
* resultptr
;
22619 resultptr
= new wxSize((wxSize
&) result
);
22620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22628 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22632 bool arg3
= (bool) false ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22643 arg2
= (int)SWIG_As_int(obj1
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 arg3
= (bool)SWIG_As_bool(obj2
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 (arg1
)->SetItemSpacing(arg2
,arg3
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 Py_INCREF(Py_None
); resultobj
= Py_None
;
22663 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_From_int((int)result
);
22689 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22709 wxColour
* resultptr
;
22710 resultptr
= new wxColour((wxColour
&) result
);
22711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22719 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22722 wxColour
*arg2
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self",(char *) "col", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 Py_INCREF(Py_None
); resultobj
= Py_None
;
22751 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_From_long((long)result
);
22777 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22781 bool arg3
= (bool) true ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 PyObject
* obj2
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self",(char *) "style",(char *) "add", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 arg2
= (long)SWIG_As_long(obj1
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 arg3
= (bool)SWIG_As_bool(obj2
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 (arg1
)->SetSingleStyle(arg2
,arg3
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self",(char *) "style", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 arg2
= (long)SWIG_As_long(obj1
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->SetWindowStyleFlag(arg2
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22845 int arg3
= (int) wxLIST_NEXT_ALL
;
22846 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 PyObject
* obj2
= 0 ;
22851 PyObject
* obj3
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22859 arg2
= (long)SWIG_As_long(obj1
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 arg3
= (int)SWIG_As_int(obj2
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 arg4
= (int)SWIG_As_int(obj3
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= SWIG_From_long((long)result
);
22883 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22887 wxImageList
*result
;
22888 PyObject
* obj0
= 0 ;
22889 PyObject
* obj1
= 0 ;
22890 char *kwnames
[] = {
22891 (char *) "self",(char *) "which", NULL
22894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22897 arg2
= (int)SWIG_As_int(obj1
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= wxPyMake_wxObject(result
, 0);
22915 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22918 wxImageList
*arg2
= (wxImageList
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 PyObject
* obj2
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "imageList",(char *) "which", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 arg3
= (int)SWIG_As_int(obj2
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 (arg1
)->SetImageList(arg2
,arg3
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 Py_INCREF(Py_None
); resultobj
= Py_None
;
22948 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22951 wxImageList
*arg2
= (wxImageList
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 PyObject
* obj2
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "imageList",(char *) "which", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22964 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22965 arg3
= (int)SWIG_As_int(obj2
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 (arg1
)->AssignImageList(arg2
,arg3
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 Py_INCREF(Py_None
); resultobj
= Py_None
;
22981 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char *kwnames
[] = {
23015 (char *) "self", NULL
23018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23037 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 PyObject
* obj1
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self",(char *) "item", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 arg2
= (long)SWIG_As_long(obj1
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 (arg1
)->RefreshItem(arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 PyObject
* obj2
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 arg2
= (long)SWIG_As_long(obj1
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23083 arg3
= (long)SWIG_As_long(obj2
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->RefreshItems(arg2
,arg3
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 Py_INCREF(Py_None
); resultobj
= Py_None
;
23099 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23102 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "flag", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23114 arg2
= (int)SWIG_As_int(obj1
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (bool)(arg1
)->Arrange(arg2
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23133 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "item", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 arg2
= (long)SWIG_As_long(obj1
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (bool)(arg1
)->DeleteItem(arg2
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23165 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (bool)(arg1
)->DeleteAllItems();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23193 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
;
23195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self",(char *) "col", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23207 arg2
= (int)SWIG_As_int(obj1
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23225 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (bool)(arg1
)->DeleteAllColumns();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23253 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 (arg1
)->ClearAll();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 Py_INCREF(Py_None
); resultobj
= Py_None
;
23278 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 PyObject
* obj1
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "item", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23291 arg2
= (long)SWIG_As_long(obj1
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->EditLabel(arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "item", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23321 arg2
= (long)SWIG_As_long(obj1
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23339 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23343 wxString
*arg3
= 0 ;
23344 bool arg4
= (bool) false ;
23346 bool temp3
= false ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 arg2
= (long)SWIG_As_long(obj1
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 arg3
= wxString_in_helper(obj2
);
23362 if (arg3
== NULL
) SWIG_fail
;
23366 arg4
= (bool)SWIG_As_bool(obj3
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_From_long((long)result
);
23391 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "start",(char *) "data", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 arg2
= (long)SWIG_As_long(obj1
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23409 arg3
= (long)SWIG_As_long(obj2
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_From_long((long)result
);
23425 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23429 wxPoint
*arg3
= 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 PyObject
* obj2
= 0 ;
23436 PyObject
* obj3
= 0 ;
23437 char *kwnames
[] = {
23438 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 arg2
= (long)SWIG_As_long(obj1
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23450 arg4
= (int)SWIG_As_int(obj3
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_From_long((long)result
);
23466 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23469 wxPoint
*arg2
= 0 ;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self",(char *) "point", NULL
23481 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_From_long((long)result
);
23497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23505 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23508 wxListItem
*arg2
= 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "info", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23522 if (arg2
== NULL
) {
23523 PyErr_SetString(PyExc_TypeError
,"null reference");
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= (long)(arg1
)->InsertItem(*arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_From_long((long)result
);
23540 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23544 wxString
*arg3
= 0 ;
23546 bool temp3
= false ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 PyObject
* obj2
= 0 ;
23550 char *kwnames
[] = {
23551 (char *) "self",(char *) "index",(char *) "label", NULL
23554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23557 arg2
= (long)SWIG_As_long(obj1
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 arg3
= wxString_in_helper(obj2
);
23561 if (arg3
== NULL
) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_long((long)result
);
23586 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 PyObject
* obj2
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 arg2
= (long)SWIG_As_long(obj1
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23604 arg3
= (int)SWIG_As_int(obj2
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= SWIG_From_long((long)result
);
23620 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23621 PyObject
*resultobj
;
23622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23624 wxString
*arg3
= 0 ;
23627 bool temp3
= false ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 PyObject
* obj2
= 0 ;
23631 PyObject
* obj3
= 0 ;
23632 char *kwnames
[] = {
23633 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23639 arg2
= (long)SWIG_As_long(obj1
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 arg3
= wxString_in_helper(obj2
);
23643 if (arg3
== NULL
) SWIG_fail
;
23646 arg4
= (int)SWIG_As_int(obj3
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_From_long((long)result
);
23670 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23674 wxListItem
*arg3
= 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 PyObject
* obj2
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "col",(char *) "info", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23686 arg2
= (long)SWIG_As_long(obj1
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23688 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23691 if (arg3
== NULL
) {
23692 PyErr_SetString(PyExc_TypeError
,"null reference");
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_From_long((long)result
);
23709 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23713 wxString
*arg3
= 0 ;
23714 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23715 int arg5
= (int) -1 ;
23717 bool temp3
= false ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 PyObject
* obj2
= 0 ;
23721 PyObject
* obj3
= 0 ;
23722 PyObject
* obj4
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 arg2
= (long)SWIG_As_long(obj1
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 arg3
= wxString_in_helper(obj2
);
23734 if (arg3
== NULL
) SWIG_fail
;
23738 arg4
= (int)SWIG_As_int(obj3
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 arg5
= (int)SWIG_As_int(obj4
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_From_long((long)result
);
23767 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 PyObject
* obj1
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self",(char *) "count", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23780 arg2
= (long)SWIG_As_long(obj1
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 (arg1
)->SetItemCount(arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 Py_INCREF(Py_None
); resultobj
= Py_None
;
23796 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 PyObject
* obj2
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self",(char *) "dx",(char *) "dy", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23812 arg2
= (int)SWIG_As_int(obj1
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23814 arg3
= (int)SWIG_As_int(obj2
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23832 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23836 wxColour
*arg3
= 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 PyObject
* obj2
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self",(char *) "item",(char *) "col", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 arg2
= (long)SWIG_As_long(obj1
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 Py_INCREF(Py_None
); resultobj
= Py_None
;
23868 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 PyObject
* obj1
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self",(char *) "item", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 arg2
= (long)SWIG_As_long(obj1
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 wxColour
* resultptr
;
23893 resultptr
= new wxColour((wxColour
&) result
);
23894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23902 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23906 wxColour
*arg3
= 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 PyObject
* obj2
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self",(char *) "item",(char *) "col", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 arg2
= (long)SWIG_As_long(obj1
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "item", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 arg2
= (long)SWIG_As_long(obj1
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 wxColour
* resultptr
;
23963 resultptr
= new wxColour((wxColour
&) result
);
23964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23972 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23974 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23975 PyObject
*arg2
= (PyObject
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "func", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24003 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= wxPyMake_wxObject(result
, 0);
24031 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24034 wxVisualAttributes result
;
24035 PyObject
* obj0
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "variant", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24042 arg1
= (int)SWIG_As_int(obj0
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 if (!wxPyCheckForApp()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 wxVisualAttributes
* resultptr
;
24055 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24064 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24067 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24069 return Py_BuildValue((char *)"");
24071 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 int arg2
= (int) -1 ;
24075 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24076 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24077 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24078 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24079 long arg5
= (long) wxLC_REPORT
;
24080 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24081 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24082 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24083 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24084 wxListView
*result
;
24087 bool temp7
= false ;
24088 PyObject
* obj0
= 0 ;
24089 PyObject
* obj1
= 0 ;
24090 PyObject
* obj2
= 0 ;
24091 PyObject
* obj3
= 0 ;
24092 PyObject
* obj4
= 0 ;
24093 PyObject
* obj5
= 0 ;
24094 PyObject
* obj6
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 arg2
= (int)SWIG_As_int(obj1
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24109 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24115 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24119 arg5
= (long)SWIG_As_long(obj4
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24126 if (arg6
== NULL
) {
24127 PyErr_SetString(PyExc_TypeError
,"null reference");
24133 arg7
= wxString_in_helper(obj6
);
24134 if (arg7
== NULL
) SWIG_fail
;
24139 if (!wxPyCheckForApp()) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24161 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxListView
*result
;
24164 char *kwnames
[] = {
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24170 if (!wxPyCheckForApp()) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (wxListView
*)new wxListView();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24184 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxListView
*arg1
= (wxListView
*) 0 ;
24187 wxWindow
*arg2
= (wxWindow
*) 0 ;
24188 int arg3
= (int) -1 ;
24189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24193 long arg6
= (long) wxLC_REPORT
;
24194 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24195 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24196 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24201 bool temp8
= false ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 PyObject
* obj2
= 0 ;
24205 PyObject
* obj3
= 0 ;
24206 PyObject
* obj4
= 0 ;
24207 PyObject
* obj5
= 0 ;
24208 PyObject
* obj6
= 0 ;
24209 PyObject
* obj7
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24220 arg3
= (int)SWIG_As_int(obj2
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24226 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24232 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24236 arg6
= (long)SWIG_As_long(obj5
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24243 if (arg7
== NULL
) {
24244 PyErr_SetString(PyExc_TypeError
,"null reference");
24250 arg8
= wxString_in_helper(obj7
);
24251 if (arg8
== NULL
) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24279 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxListView
*arg1
= (wxListView
*) 0 ;
24283 bool arg3
= (bool) true ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "n",(char *) "on", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 arg2
= (long)SWIG_As_long(obj1
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 arg3
= (bool)SWIG_As_bool(obj2
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->Select(arg2
,arg3
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 Py_INCREF(Py_None
); resultobj
= Py_None
;
24314 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxListView
*arg1
= (wxListView
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self",(char *) "index", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24327 arg2
= (long)SWIG_As_long(obj1
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->Focus(arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 Py_INCREF(Py_None
); resultobj
= Py_None
;
24343 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxListView
*arg1
= (wxListView
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_From_long((long)result
);
24369 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxListView
*arg1
= (wxListView
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self",(char *) "item", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 arg2
= (long)SWIG_As_long(obj1
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_From_long((long)result
);
24399 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxListView
*arg1
= (wxListView
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_From_long((long)result
);
24425 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxListView
*arg1
= (wxListView
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "index", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 arg2
= (long)SWIG_As_long(obj1
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (bool)(arg1
)->IsSelected(arg2
);
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24457 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxListView
*arg1
= (wxListView
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 char *kwnames
[] = {
24466 (char *) "self",(char *) "col",(char *) "image", NULL
24469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 arg2
= (int)SWIG_As_int(obj1
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24474 arg3
= (int)SWIG_As_int(obj2
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->SetColumnImage(arg2
,arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxListView
*arg1
= (wxListView
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self",(char *) "col", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24503 arg2
= (int)SWIG_As_int(obj1
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->ClearColumnImage(arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24519 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24522 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24524 return Py_BuildValue((char *)"");
24526 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24527 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24532 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24537 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24539 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24546 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxTreeItemId
*result
;
24549 char *kwnames
[] = {
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (wxTreeItemId
*)new wxTreeItemId();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24568 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24571 PyObject
* obj0
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24593 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24621 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24624 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "other", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24653 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24656 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self",(char *) "other", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24685 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24688 void *arg2
= (void *) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "m_pItem", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24699 if (arg1
) (arg1
)->m_pItem
= arg2
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "self", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24720 result
= (void *) ((arg1
)->m_pItem
);
24722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24729 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24732 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24734 return Py_BuildValue((char *)"");
24736 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 PyObject
*arg1
= (PyObject
*) NULL
;
24739 wxPyTreeItemData
*result
;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "obj", NULL
24745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24763 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (PyObject
*)(arg1
)->GetData();
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= result
;
24789 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24792 PyObject
*arg2
= (PyObject
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char *kwnames
[] = {
24796 (char *) "self",(char *) "obj", NULL
24799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SetData(arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24820 wxTreeItemId
*result
;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24833 result
= (wxTreeItemId
*) &_result_ref
;
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24846 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24849 wxTreeItemId
*arg2
= 0 ;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 char *kwnames
[] = {
24853 (char *) "self",(char *) "id", NULL
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24862 if (arg2
== NULL
) {
24863 PyErr_SetString(PyExc_TypeError
,"null reference");
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 Py_INCREF(Py_None
); resultobj
= Py_None
;
24880 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",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 wxPyTreeItemData_Destroy(arg1
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 Py_INCREF(Py_None
); resultobj
= Py_None
;
24905 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24908 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24910 return Py_BuildValue((char *)"");
24912 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24913 PyObject
*resultobj
;
24914 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24915 int arg2
= (int) 0 ;
24916 wxTreeEvent
*result
;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "commandType",(char *) "id", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24925 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24929 arg2
= (int)SWIG_As_int(obj1
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24946 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24949 wxTreeItemId result
;
24950 PyObject
* obj0
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24966 wxTreeItemId
* resultptr
;
24967 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24976 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24979 wxTreeItemId
*arg2
= 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "item", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24992 if (arg2
== NULL
) {
24993 PyErr_SetString(PyExc_TypeError
,"null reference");
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25013 wxTreeItemId result
;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25030 wxTreeItemId
* resultptr
;
25031 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25040 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25043 wxTreeItemId
*arg2
= 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self",(char *) "item", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25056 if (arg2
== NULL
) {
25057 PyErr_SetString(PyExc_TypeError
,"null reference");
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25090 wxPyEndAllowThreads(__tstate
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25094 wxPoint
* resultptr
;
25095 resultptr
= new wxPoint((wxPoint
&) result
);
25096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25104 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
;
25106 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25107 wxPoint
*arg2
= 0 ;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj1
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self",(char *) "pt", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 Py_INCREF(Py_None
); resultobj
= Py_None
;
25136 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25139 wxKeyEvent
*result
;
25140 PyObject
* obj0
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25152 result
= (wxKeyEvent
*) &_result_ref
;
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25165 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_From_int((int)result
);
25191 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25194 wxKeyEvent
*arg2
= 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "evt", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25207 if (arg2
== NULL
) {
25208 PyErr_SetString(PyExc_TypeError
,"null reference");
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 Py_INCREF(Py_None
); resultobj
= Py_None
;
25225 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25241 result
= (wxString
*) &_result_ref
;
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25251 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25260 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
;
25262 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25263 wxString
*arg2
= 0 ;
25264 bool temp2
= false ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self",(char *) "label", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25275 arg2
= wxString_in_helper(obj1
);
25276 if (arg2
== NULL
) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->SetLabel((wxString
const &)*arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 Py_INCREF(Py_None
); resultobj
= Py_None
;
25301 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25329 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
;
25331 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25333 PyObject
* obj0
= 0 ;
25334 PyObject
* obj1
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self",(char *) "editCancelled", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 arg2
= (bool)SWIG_As_bool(obj1
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 (arg1
)->SetEditCanceled(arg2
);
25348 wxPyEndAllowThreads(__tstate
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 Py_INCREF(Py_None
); resultobj
= Py_None
;
25358 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25361 wxString
*arg2
= 0 ;
25362 bool temp2
= false ;
25363 PyObject
* obj0
= 0 ;
25364 PyObject
* obj1
= 0 ;
25365 char *kwnames
[] = {
25366 (char *) "self",(char *) "toolTip", NULL
25369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25373 arg2
= wxString_in_helper(obj1
);
25374 if (arg2
== NULL
) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25402 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25404 return Py_BuildValue((char *)"");
25406 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxWindow
*arg1
= (wxWindow
*) 0 ;
25409 int arg2
= (int) -1 ;
25410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25412 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25413 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25414 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25415 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25416 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25417 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25419 wxPyTreeCtrl
*result
;
25422 bool temp7
= false ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 PyObject
* obj2
= 0 ;
25426 PyObject
* obj3
= 0 ;
25427 PyObject
* obj4
= 0 ;
25428 PyObject
* obj5
= 0 ;
25429 PyObject
* obj6
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25438 arg2
= (int)SWIG_As_int(obj1
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25444 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25450 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25454 arg5
= (long)SWIG_As_long(obj4
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25461 if (arg6
== NULL
) {
25462 PyErr_SetString(PyExc_TypeError
,"null reference");
25468 arg7
= wxString_in_helper(obj6
);
25469 if (arg7
== NULL
) SWIG_fail
;
25474 if (!wxPyCheckForApp()) SWIG_fail
;
25475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25476 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25496 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxPyTreeCtrl
*result
;
25499 char *kwnames
[] = {
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25519 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25522 wxWindow
*arg2
= (wxWindow
*) 0 ;
25523 int arg3
= (int) -1 ;
25524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25528 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25531 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25536 bool temp8
= false ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 PyObject
* obj2
= 0 ;
25540 PyObject
* obj3
= 0 ;
25541 PyObject
* obj4
= 0 ;
25542 PyObject
* obj5
= 0 ;
25543 PyObject
* obj6
= 0 ;
25544 PyObject
* obj7
= 0 ;
25545 char *kwnames
[] = {
25546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25555 arg3
= (int)SWIG_As_int(obj2
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25561 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25567 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25571 arg6
= (long)SWIG_As_long(obj5
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25578 if (arg7
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference");
25585 arg8
= wxString_in_helper(obj7
);
25586 if (arg8
== NULL
) SWIG_fail
;
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25614 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25617 PyObject
*arg2
= (PyObject
*) 0 ;
25618 PyObject
*arg3
= (PyObject
*) 0 ;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 PyObject
* obj2
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self",(char *) "self",(char *) "_class", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 char *kwnames
[] = {
25651 (char *) "self", NULL
25654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25671 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25674 unsigned int result
;
25675 PyObject
* obj0
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "self", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25697 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25700 unsigned int arg2
;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "indent", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 (arg1
)->SetIndent(arg2
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 Py_INCREF(Py_None
); resultobj
= Py_None
;
25726 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 unsigned int result
;
25730 PyObject
* obj0
= 0 ;
25731 char *kwnames
[] = {
25732 (char *) "self", NULL
25735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25752 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25755 unsigned int arg2
;
25756 PyObject
* obj0
= 0 ;
25757 PyObject
* obj1
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "spacing", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25765 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 (arg1
)->SetSpacing(arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25784 wxImageList
*result
;
25785 PyObject
* obj0
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= wxPyMake_wxObject(result
, 0);
25809 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25812 wxImageList
*result
;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= wxPyMake_wxObject(result
, 0);
25837 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
;
25839 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25840 wxImageList
*arg2
= (wxImageList
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "imageList", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25854 (arg1
)->SetImageList(arg2
);
25856 wxPyEndAllowThreads(__tstate
);
25857 if (PyErr_Occurred()) SWIG_fail
;
25859 Py_INCREF(Py_None
); resultobj
= Py_None
;
25866 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25869 wxImageList
*arg2
= (wxImageList
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "imageList", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetStateImageList(arg2
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 Py_INCREF(Py_None
); resultobj
= Py_None
;
25895 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25898 wxImageList
*arg2
= (wxImageList
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "imageList", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25909 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->AssignImageList(arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25924 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25927 wxImageList
*arg2
= (wxImageList
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "imageList", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25938 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->AssignStateImageList(arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25956 wxTreeItemId
*arg2
= 0 ;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 char *kwnames
[] = {
25961 (char *) "self",(char *) "item", NULL
25964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25970 if (arg2
== NULL
) {
25971 PyErr_SetString(PyExc_TypeError
,"null reference");
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25994 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25997 wxTreeItemId
*arg2
= 0 ;
25998 int arg3
= (int) wxTreeItemIcon_Normal
;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 PyObject
* obj2
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self",(char *) "item",(char *) "which", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26013 if (arg2
== NULL
) {
26014 PyErr_SetString(PyExc_TypeError
,"null reference");
26018 arg3
= (int)SWIG_As_int(obj2
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26023 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26025 wxPyEndAllowThreads(__tstate
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_From_int((int)result
);
26035 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26038 wxTreeItemId
*arg2
= 0 ;
26039 wxPyTreeItemData
*result
;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self",(char *) "item", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26052 if (arg2
== NULL
) {
26053 PyErr_SetString(PyExc_TypeError
,"null reference");
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26070 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26073 wxTreeItemId
*arg2
= 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "item", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26087 if (arg2
== NULL
) {
26088 PyErr_SetString(PyExc_TypeError
,"null reference");
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= result
;
26105 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26108 wxTreeItemId
*arg2
= 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "item", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26122 if (arg2
== NULL
) {
26123 PyErr_SetString(PyExc_TypeError
,"null reference");
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 wxColour
* resultptr
;
26135 resultptr
= new wxColour((wxColour
&) result
);
26136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26144 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
;
26146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26147 wxTreeItemId
*arg2
= 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "item", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference");
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 wxColour
* resultptr
;
26174 resultptr
= new wxColour((wxColour
&) result
);
26175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26183 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26186 wxTreeItemId
*arg2
= 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "item", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26200 if (arg2
== NULL
) {
26201 PyErr_SetString(PyExc_TypeError
,"null reference");
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26212 wxFont
* resultptr
;
26213 resultptr
= new wxFont((wxFont
&) result
);
26214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26222 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26225 wxTreeItemId
*arg2
= 0 ;
26226 wxString
*arg3
= 0 ;
26227 bool temp3
= false ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "item",(char *) "text", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26241 if (arg2
== NULL
) {
26242 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 arg3
= wxString_in_helper(obj2
);
26247 if (arg3
== NULL
) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26272 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26275 wxTreeItemId
*arg2
= 0 ;
26277 int arg4
= (int) wxTreeItemIcon_Normal
;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 PyObject
* obj2
= 0 ;
26281 PyObject
* obj3
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26292 if (arg2
== NULL
) {
26293 PyErr_SetString(PyExc_TypeError
,"null reference");
26296 arg3
= (int)SWIG_As_int(obj2
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 arg4
= (int)SWIG_As_int(obj3
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 Py_INCREF(Py_None
); resultobj
= Py_None
;
26316 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26319 wxTreeItemId
*arg2
= 0 ;
26320 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 PyObject
* obj2
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "item",(char *) "data", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26334 if (arg2
== NULL
) {
26335 PyErr_SetString(PyExc_TypeError
,"null reference");
26338 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 Py_INCREF(Py_None
); resultobj
= Py_None
;
26354 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26355 PyObject
*resultobj
;
26356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26357 wxTreeItemId
*arg2
= 0 ;
26358 PyObject
*arg3
= (PyObject
*) 0 ;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 PyObject
* obj2
= 0 ;
26362 char *kwnames
[] = {
26363 (char *) "self",(char *) "item",(char *) "obj", NULL
26366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26372 if (arg2
== NULL
) {
26373 PyErr_SetString(PyExc_TypeError
,"null reference");
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 Py_INCREF(Py_None
); resultobj
= Py_None
;
26391 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26394 wxTreeItemId
*arg2
= 0 ;
26395 bool arg3
= (bool) true ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 PyObject
* obj2
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self",(char *) "item",(char *) "has", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26409 if (arg2
== NULL
) {
26410 PyErr_SetString(PyExc_TypeError
,"null reference");
26414 arg3
= (bool)SWIG_As_bool(obj2
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
;
26433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26434 wxTreeItemId
*arg2
= 0 ;
26435 bool arg3
= (bool) true ;
26436 PyObject
* obj0
= 0 ;
26437 PyObject
* obj1
= 0 ;
26438 PyObject
* obj2
= 0 ;
26439 char *kwnames
[] = {
26440 (char *) "self",(char *) "item",(char *) "bold", NULL
26443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26449 if (arg2
== NULL
) {
26450 PyErr_SetString(PyExc_TypeError
,"null reference");
26454 arg3
= (bool)SWIG_As_bool(obj2
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26471 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26474 wxTreeItemId
*arg2
= 0 ;
26475 wxColour
*arg3
= 0 ;
26477 PyObject
* obj0
= 0 ;
26478 PyObject
* obj1
= 0 ;
26479 PyObject
* obj2
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self",(char *) "item",(char *) "col", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26490 if (arg2
== NULL
) {
26491 PyErr_SetString(PyExc_TypeError
,"null reference");
26496 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26505 Py_INCREF(Py_None
); resultobj
= Py_None
;
26512 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26513 PyObject
*resultobj
;
26514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26515 wxTreeItemId
*arg2
= 0 ;
26516 wxColour
*arg3
= 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 PyObject
* obj2
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self",(char *) "item",(char *) "col", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26531 if (arg2
== NULL
) {
26532 PyErr_SetString(PyExc_TypeError
,"null reference");
26537 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 Py_INCREF(Py_None
); resultobj
= Py_None
;
26553 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26556 wxTreeItemId
*arg2
= 0 ;
26558 PyObject
* obj0
= 0 ;
26559 PyObject
* obj1
= 0 ;
26560 PyObject
* obj2
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "item",(char *) "font", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26571 if (arg2
== NULL
) {
26572 PyErr_SetString(PyExc_TypeError
,"null reference");
26575 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26578 if (arg3
== NULL
) {
26579 PyErr_SetString(PyExc_TypeError
,"null reference");
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 Py_INCREF(Py_None
); resultobj
= Py_None
;
26596 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26599 wxTreeItemId
*arg2
= 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "item", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26613 if (arg2
== NULL
) {
26614 PyErr_SetString(PyExc_TypeError
,"null reference");
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26633 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26636 wxTreeItemId
*arg2
= 0 ;
26638 PyObject
* obj0
= 0 ;
26639 PyObject
* obj1
= 0 ;
26640 char *kwnames
[] = {
26641 (char *) "self",(char *) "item", NULL
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26650 if (arg2
== NULL
) {
26651 PyErr_SetString(PyExc_TypeError
,"null reference");
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26670 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26673 wxTreeItemId
*arg2
= 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "item", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) 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");
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26707 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26710 wxTreeItemId
*arg2
= 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "item", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26724 if (arg2
== NULL
) {
26725 PyErr_SetString(PyExc_TypeError
,"null reference");
26729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26744 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26747 wxTreeItemId
*arg2
= 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 char *kwnames
[] = {
26752 (char *) "self",(char *) "item", NULL
26755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26761 if (arg2
== NULL
) {
26762 PyErr_SetString(PyExc_TypeError
,"null reference");
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26781 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26784 wxTreeItemId
*arg2
= 0 ;
26785 bool arg3
= (bool) true ;
26787 PyObject
* obj0
= 0 ;
26788 PyObject
* obj1
= 0 ;
26789 PyObject
* obj2
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self",(char *) "item",(char *) "recursively", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26800 if (arg2
== NULL
) {
26801 PyErr_SetString(PyExc_TypeError
,"null reference");
26805 arg3
= (bool)SWIG_As_bool(obj2
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26822 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26825 wxTreeItemId result
;
26826 PyObject
* obj0
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26838 wxPyEndAllowThreads(__tstate
);
26839 if (PyErr_Occurred()) SWIG_fail
;
26842 wxTreeItemId
* resultptr
;
26843 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26852 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
;
26854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26855 wxTreeItemId result
;
26856 PyObject
* obj0
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "self", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26868 wxPyEndAllowThreads(__tstate
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26872 wxTreeItemId
* resultptr
;
26873 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26882 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= result
;
26908 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26911 wxTreeItemId
*arg2
= 0 ;
26912 wxTreeItemId result
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 char *kwnames
[] = {
26916 (char *) "self",(char *) "item", NULL
26919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26925 if (arg2
== NULL
) {
26926 PyErr_SetString(PyExc_TypeError
,"null reference");
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26937 wxTreeItemId
* resultptr
;
26938 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26947 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
;
26949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26950 wxTreeItemId
*arg2
= 0 ;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self",(char *) "item", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26964 if (arg2
== NULL
) {
26965 PyErr_SetString(PyExc_TypeError
,"null reference");
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
;
26982 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
;
26984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26985 wxTreeItemId
*arg2
= 0 ;
26986 void *arg3
= (void *) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 PyObject
* obj2
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self",(char *) "item",(char *) "cookie", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27001 if (arg2
== NULL
) {
27002 PyErr_SetString(PyExc_TypeError
,"null reference");
27005 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= result
;
27020 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
;
27022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27023 wxTreeItemId
*arg2
= 0 ;
27024 wxTreeItemId result
;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "item", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27037 if (arg2
== NULL
) {
27038 PyErr_SetString(PyExc_TypeError
,"null reference");
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27049 wxTreeItemId
* resultptr
;
27050 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27059 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27062 wxTreeItemId
*arg2
= 0 ;
27063 wxTreeItemId result
;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "item", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27076 if (arg2
== NULL
) {
27077 PyErr_SetString(PyExc_TypeError
,"null reference");
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27088 wxTreeItemId
* resultptr
;
27089 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27098 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27101 wxTreeItemId
*arg2
= 0 ;
27102 wxTreeItemId result
;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self",(char *) "item", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27115 if (arg2
== NULL
) {
27116 PyErr_SetString(PyExc_TypeError
,"null reference");
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27127 wxTreeItemId
* resultptr
;
27128 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27137 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27140 wxTreeItemId result
;
27141 PyObject
* obj0
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 wxTreeItemId
* resultptr
;
27158 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27167 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27170 wxTreeItemId
*arg2
= 0 ;
27171 wxTreeItemId result
;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "item", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27184 if (arg2
== NULL
) {
27185 PyErr_SetString(PyExc_TypeError
,"null reference");
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 wxTreeItemId
* resultptr
;
27197 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27206 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27209 wxTreeItemId
*arg2
= 0 ;
27210 wxTreeItemId result
;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "item", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27223 if (arg2
== NULL
) {
27224 PyErr_SetString(PyExc_TypeError
,"null reference");
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27235 wxTreeItemId
* resultptr
;
27236 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27245 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27248 wxString
*arg2
= 0 ;
27249 int arg3
= (int) -1 ;
27250 int arg4
= (int) -1 ;
27251 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27252 wxTreeItemId result
;
27253 bool temp2
= false ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 PyObject
* obj3
= 0 ;
27258 PyObject
* obj4
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 arg2
= wxString_in_helper(obj1
);
27268 if (arg2
== NULL
) SWIG_fail
;
27272 arg3
= (int)SWIG_As_int(obj2
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 arg4
= (int)SWIG_As_int(obj3
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27291 wxTreeItemId
* resultptr
;
27292 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27309 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27312 wxTreeItemId
*arg2
= 0 ;
27313 wxString
*arg3
= 0 ;
27314 int arg4
= (int) -1 ;
27315 int arg5
= (int) -1 ;
27316 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27317 wxTreeItemId result
;
27318 bool temp3
= false ;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj1
= 0 ;
27321 PyObject
* obj2
= 0 ;
27322 PyObject
* obj3
= 0 ;
27323 PyObject
* obj4
= 0 ;
27324 PyObject
* obj5
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27335 if (arg2
== NULL
) {
27336 PyErr_SetString(PyExc_TypeError
,"null reference");
27340 arg3
= wxString_in_helper(obj2
);
27341 if (arg3
== NULL
) SWIG_fail
;
27345 arg4
= (int)SWIG_As_int(obj3
);
27346 if (PyErr_Occurred()) SWIG_fail
;
27349 arg5
= (int)SWIG_As_int(obj4
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27353 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27364 wxTreeItemId
* resultptr
;
27365 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27382 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27383 PyObject
*resultobj
;
27384 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27385 wxTreeItemId
*arg2
= 0 ;
27386 wxTreeItemId
*arg3
= 0 ;
27387 wxString
*arg4
= 0 ;
27388 int arg5
= (int) -1 ;
27389 int arg6
= (int) -1 ;
27390 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27391 wxTreeItemId result
;
27392 bool temp4
= false ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 PyObject
* obj3
= 0 ;
27397 PyObject
* obj4
= 0 ;
27398 PyObject
* obj5
= 0 ;
27399 PyObject
* obj6
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27410 if (arg2
== NULL
) {
27411 PyErr_SetString(PyExc_TypeError
,"null reference");
27414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27417 if (arg3
== NULL
) {
27418 PyErr_SetString(PyExc_TypeError
,"null reference");
27422 arg4
= wxString_in_helper(obj3
);
27423 if (arg4
== NULL
) SWIG_fail
;
27427 arg5
= (int)SWIG_As_int(obj4
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 arg6
= (int)SWIG_As_int(obj5
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27435 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27446 wxTreeItemId
* resultptr
;
27447 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27464 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27467 wxTreeItemId
*arg2
= 0 ;
27469 wxString
*arg4
= 0 ;
27470 int arg5
= (int) -1 ;
27471 int arg6
= (int) -1 ;
27472 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27473 wxTreeItemId result
;
27474 bool temp4
= 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 PyObject
* obj6
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27492 if (arg2
== NULL
) {
27493 PyErr_SetString(PyExc_TypeError
,"null reference");
27496 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 arg4
= wxString_in_helper(obj3
);
27500 if (arg4
== NULL
) SWIG_fail
;
27504 arg5
= (int)SWIG_As_int(obj4
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27508 arg6
= (int)SWIG_As_int(obj5
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 wxTreeItemId
* resultptr
;
27524 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27541 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27544 wxTreeItemId
*arg2
= 0 ;
27545 wxString
*arg3
= 0 ;
27546 int arg4
= (int) -1 ;
27547 int arg5
= (int) -1 ;
27548 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27549 wxTreeItemId result
;
27550 bool temp3
= false ;
27551 PyObject
* obj0
= 0 ;
27552 PyObject
* obj1
= 0 ;
27553 PyObject
* obj2
= 0 ;
27554 PyObject
* obj3
= 0 ;
27555 PyObject
* obj4
= 0 ;
27556 PyObject
* obj5
= 0 ;
27557 char *kwnames
[] = {
27558 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27567 if (arg2
== NULL
) {
27568 PyErr_SetString(PyExc_TypeError
,"null reference");
27572 arg3
= wxString_in_helper(obj2
);
27573 if (arg3
== NULL
) SWIG_fail
;
27577 arg4
= (int)SWIG_As_int(obj3
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27581 arg5
= (int)SWIG_As_int(obj4
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27596 wxTreeItemId
* resultptr
;
27597 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27614 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27617 wxTreeItemId
*arg2
= 0 ;
27618 PyObject
* obj0
= 0 ;
27619 PyObject
* obj1
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self",(char *) "item", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27630 if (arg2
== NULL
) {
27631 PyErr_SetString(PyExc_TypeError
,"null reference");
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27638 wxPyEndAllowThreads(__tstate
);
27639 if (PyErr_Occurred()) SWIG_fail
;
27641 Py_INCREF(Py_None
); resultobj
= Py_None
;
27648 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27649 PyObject
*resultobj
;
27650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27651 wxTreeItemId
*arg2
= 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "item", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27664 if (arg2
== NULL
) {
27665 PyErr_SetString(PyExc_TypeError
,"null reference");
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 Py_INCREF(Py_None
); resultobj
= Py_None
;
27682 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 (arg1
)->DeleteAllItems();
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 Py_INCREF(Py_None
); resultobj
= Py_None
;
27707 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27710 wxTreeItemId
*arg2
= 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 char *kwnames
[] = {
27714 (char *) "self",(char *) "item", NULL
27717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 Py_INCREF(Py_None
); resultobj
= Py_None
;
27741 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27744 wxTreeItemId
*arg2
= 0 ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self",(char *) "item", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27757 if (arg2
== NULL
) {
27758 PyErr_SetString(PyExc_TypeError
,"null reference");
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27778 wxTreeItemId
*arg2
= 0 ;
27779 PyObject
* obj0
= 0 ;
27780 PyObject
* obj1
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "self",(char *) "item", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27791 if (arg2
== NULL
) {
27792 PyErr_SetString(PyExc_TypeError
,"null reference");
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 Py_INCREF(Py_None
); resultobj
= Py_None
;
27809 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27812 wxTreeItemId
*arg2
= 0 ;
27813 PyObject
* obj0
= 0 ;
27814 PyObject
* obj1
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "item", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27825 if (arg2
== NULL
) {
27826 PyErr_SetString(PyExc_TypeError
,"null reference");
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 Py_INCREF(Py_None
); resultobj
= Py_None
;
27843 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27846 PyObject
* obj0
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 (arg1
)->Unselect();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 Py_INCREF(Py_None
); resultobj
= Py_None
;
27868 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27871 wxTreeItemId
*arg2
= 0 ;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self",(char *) "item", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27884 if (arg2
== NULL
) {
27885 PyErr_SetString(PyExc_TypeError
,"null reference");
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27905 PyObject
* obj0
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 (arg1
)->UnselectAll();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 Py_INCREF(Py_None
); resultobj
= Py_None
;
27927 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27930 wxTreeItemId
*arg2
= 0 ;
27931 bool arg3
= (bool) true ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 PyObject
* obj2
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "item",(char *) "select", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27945 if (arg2
== NULL
) {
27946 PyErr_SetString(PyExc_TypeError
,"null reference");
27950 arg3
= (bool)SWIG_As_bool(obj2
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 Py_INCREF(Py_None
); resultobj
= Py_None
;
27967 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27970 wxTreeItemId
*arg2
= 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "item", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27983 if (arg2
== NULL
) {
27984 PyErr_SetString(PyExc_TypeError
,"null reference");
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 Py_INCREF(Py_None
); resultobj
= Py_None
;
28001 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28004 wxTreeItemId
*arg2
= 0 ;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self",(char *) "item", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28017 if (arg2
== NULL
) {
28018 PyErr_SetString(PyExc_TypeError
,"null reference");
28022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28023 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28028 Py_INCREF(Py_None
); resultobj
= Py_None
;
28035 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28036 PyObject
*resultobj
;
28037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28038 wxTreeItemId
*arg2
= 0 ;
28039 PyObject
* obj0
= 0 ;
28040 PyObject
* obj1
= 0 ;
28041 char *kwnames
[] = {
28042 (char *) "self",(char *) "item", NULL
28045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28051 if (arg2
== NULL
) {
28052 PyErr_SetString(PyExc_TypeError
,"null reference");
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 Py_INCREF(Py_None
); resultobj
= Py_None
;
28069 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28072 wxTreeItemId
*arg2
= 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self",(char *) "item", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28085 if (arg2
== NULL
) {
28086 PyErr_SetString(PyExc_TypeError
,"null reference");
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 Py_INCREF(Py_None
); resultobj
= Py_None
;
28103 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28106 wxTextCtrl
*result
;
28107 PyObject
* obj0
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28119 wxPyEndAllowThreads(__tstate
);
28120 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= wxPyMake_wxObject(result
, 0);
28131 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28134 wxTreeItemId
*arg2
= 0 ;
28135 PyObject
* obj0
= 0 ;
28136 PyObject
* obj1
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self",(char *) "item", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28147 if (arg2
== NULL
) {
28148 PyErr_SetString(PyExc_TypeError
,"null reference");
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28153 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28158 Py_INCREF(Py_None
); resultobj
= Py_None
;
28165 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28166 PyObject
*resultobj
;
28167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28168 wxPoint
*arg2
= 0 ;
28170 wxTreeItemId result
;
28174 PyObject
* obj0
= 0 ;
28175 PyObject
* obj1
= 0 ;
28176 char *kwnames
[] = {
28177 (char *) "self",(char *) "point", NULL
28180 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28196 wxTreeItemId
* resultptr
;
28197 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28200 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28201 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28208 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28211 wxTreeItemId
*arg2
= 0 ;
28212 bool arg3
= (bool) false ;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 PyObject
* obj2
= 0 ;
28217 char *kwnames
[] = {
28218 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28227 if (arg2
== NULL
) {
28228 PyErr_SetString(PyExc_TypeError
,"null reference");
28232 arg3
= (bool)SWIG_As_bool(obj2
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= result
;
28249 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28252 wxVisualAttributes result
;
28253 PyObject
* obj0
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "variant", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28260 arg1
= (int)SWIG_As_int(obj0
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28264 if (!wxPyCheckForApp()) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28272 wxVisualAttributes
* resultptr
;
28273 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28282 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28285 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28287 return Py_BuildValue((char *)"");
28289 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28290 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28295 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28300 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28302 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28309 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28310 PyObject
*resultobj
;
28311 wxWindow
*arg1
= (wxWindow
*) 0 ;
28312 int arg2
= (int) (int)-1 ;
28313 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28315 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28316 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28317 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28318 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28319 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28320 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28321 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28322 int arg8
= (int) 0 ;
28323 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28324 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28325 wxGenericDirCtrl
*result
;
28326 bool temp3
= false ;
28329 bool temp7
= false ;
28330 bool temp9
= false ;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 PyObject
* obj2
= 0 ;
28334 PyObject
* obj3
= 0 ;
28335 PyObject
* obj4
= 0 ;
28336 PyObject
* obj5
= 0 ;
28337 PyObject
* obj6
= 0 ;
28338 PyObject
* obj7
= 0 ;
28339 PyObject
* obj8
= 0 ;
28340 char *kwnames
[] = {
28341 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28348 arg2
= (int)SWIG_As_int(obj1
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28353 arg3
= wxString_in_helper(obj2
);
28354 if (arg3
== NULL
) SWIG_fail
;
28361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28371 arg6
= (long)SWIG_As_long(obj5
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28376 arg7
= wxString_in_helper(obj6
);
28377 if (arg7
== NULL
) SWIG_fail
;
28382 arg8
= (int)SWIG_As_int(obj7
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28387 arg9
= wxString_in_helper(obj8
);
28388 if (arg9
== NULL
) SWIG_fail
;
28393 if (!wxPyCheckForApp()) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28431 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxGenericDirCtrl
*result
;
28434 char *kwnames
[] = {
28438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28440 if (!wxPyCheckForApp()) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28454 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28457 wxWindow
*arg2
= (wxWindow
*) 0 ;
28458 int arg3
= (int) (int)-1 ;
28459 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28465 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28466 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28468 int arg9
= (int) 0 ;
28469 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28470 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28472 bool temp4
= false ;
28475 bool temp8
= false ;
28476 bool temp10
= false ;
28477 PyObject
* obj0
= 0 ;
28478 PyObject
* obj1
= 0 ;
28479 PyObject
* obj2
= 0 ;
28480 PyObject
* obj3
= 0 ;
28481 PyObject
* obj4
= 0 ;
28482 PyObject
* obj5
= 0 ;
28483 PyObject
* obj6
= 0 ;
28484 PyObject
* obj7
= 0 ;
28485 PyObject
* obj8
= 0 ;
28486 PyObject
* obj9
= 0 ;
28487 char *kwnames
[] = {
28488 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28497 arg3
= (int)SWIG_As_int(obj2
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28502 arg4
= wxString_in_helper(obj3
);
28503 if (arg4
== NULL
) SWIG_fail
;
28510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28520 arg7
= (long)SWIG_As_long(obj6
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28525 arg8
= wxString_in_helper(obj7
);
28526 if (arg8
== NULL
) SWIG_fail
;
28531 arg9
= (int)SWIG_As_int(obj8
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28536 arg10
= wxString_in_helper(obj9
);
28537 if (arg10
== NULL
) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28581 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
;
28583 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28584 wxString
*arg2
= 0 ;
28586 bool temp2
= false ;
28587 PyObject
* obj0
= 0 ;
28588 PyObject
* obj1
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self",(char *) "path", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28597 arg2
= wxString_in_helper(obj1
);
28598 if (arg2
== NULL
) SWIG_fail
;
28602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28625 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28629 PyObject
* obj0
= 0 ;
28630 char *kwnames
[] = {
28631 (char *) "self", NULL
28634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28657 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28660 wxString
*arg2
= 0 ;
28661 bool temp2
= false ;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "self",(char *) "path", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28672 arg2
= wxString_in_helper(obj1
);
28673 if (arg2
== NULL
) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 Py_INCREF(Py_None
); resultobj
= Py_None
;
28698 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
;
28700 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28702 PyObject
* obj0
= 0 ;
28703 char *kwnames
[] = {
28704 (char *) "self", NULL
28707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28730 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
;
28732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28734 PyObject
* obj0
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28762 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28765 wxString
*arg2
= 0 ;
28766 bool temp2
= false ;
28767 PyObject
* obj0
= 0 ;
28768 PyObject
* obj1
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self",(char *) "path", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28777 arg2
= wxString_in_helper(obj1
);
28778 if (arg2
== NULL
) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 (arg1
)->SetPath((wxString
const &)*arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 Py_INCREF(Py_None
); resultobj
= Py_None
;
28803 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
;
28805 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self",(char *) "show", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28816 arg2
= (bool)SWIG_As_bool(obj1
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 (arg1
)->ShowHidden(arg2
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (bool)(arg1
)->GetShowHidden();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28860 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
;
28862 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 char *kwnames
[] = {
28866 (char *) "self", NULL
28869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28892 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28893 PyObject
*resultobj
;
28894 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28895 wxString
*arg2
= 0 ;
28896 bool temp2
= false ;
28897 PyObject
* obj0
= 0 ;
28898 PyObject
* obj1
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "self",(char *) "filter", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 arg2
= wxString_in_helper(obj1
);
28908 if (arg2
== NULL
) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 (arg1
)->SetFilter((wxString
const &)*arg2
);
28915 wxPyEndAllowThreads(__tstate
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 Py_INCREF(Py_None
); resultobj
= Py_None
;
28933 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
;
28935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28937 PyObject
* obj0
= 0 ;
28938 char *kwnames
[] = {
28939 (char *) "self", NULL
28942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_From_int((int)result
);
28959 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28963 PyObject
* obj0
= 0 ;
28964 PyObject
* obj1
= 0 ;
28965 char *kwnames
[] = {
28966 (char *) "self",(char *) "n", NULL
28969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28972 arg2
= (int)SWIG_As_int(obj1
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 (arg1
)->SetFilterIndex(arg2
);
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 Py_INCREF(Py_None
); resultobj
= Py_None
;
28988 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28991 wxTreeItemId result
;
28992 PyObject
* obj0
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (arg1
)->GetRootId();
29004 wxPyEndAllowThreads(__tstate
);
29005 if (PyErr_Occurred()) SWIG_fail
;
29008 wxTreeItemId
* resultptr
;
29009 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29018 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29021 wxPyTreeCtrl
*result
;
29022 PyObject
* obj0
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= wxPyMake_wxObject(result
, 0);
29046 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29049 wxDirFilterListCtrl
*result
;
29050 PyObject
* obj0
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29062 wxPyEndAllowThreads(__tstate
);
29063 if (PyErr_Occurred()) SWIG_fail
;
29065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29072 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29075 wxTreeItemId arg2
;
29076 wxString
*arg3
= 0 ;
29078 wxTreeItemId result
;
29079 wxTreeItemId
*argp2
;
29080 bool temp3
= false ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 char *kwnames
[] = {
29087 (char *) "self",(char *) "parentId",(char *) "path", NULL
29090 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29094 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29095 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29098 arg3
= wxString_in_helper(obj2
);
29099 if (arg3
== NULL
) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 wxTreeItemId
* resultptr
;
29111 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29114 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29115 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29130 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",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 (arg1
)->DoResize();
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 Py_INCREF(Py_None
); resultobj
= Py_None
;
29155 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29158 PyObject
* obj0
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->ReCreateTree();
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 Py_INCREF(Py_None
); resultobj
= Py_None
;
29180 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29183 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29185 return Py_BuildValue((char *)"");
29187 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29190 int arg2
= (int) (int)-1 ;
29191 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29192 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29193 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29194 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29195 long arg5
= (long) 0 ;
29196 wxDirFilterListCtrl
*result
;
29199 PyObject
* obj0
= 0 ;
29200 PyObject
* obj1
= 0 ;
29201 PyObject
* obj2
= 0 ;
29202 PyObject
* obj3
= 0 ;
29203 PyObject
* obj4
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29212 arg2
= (int)SWIG_As_int(obj1
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29218 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29224 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29228 arg5
= (long)SWIG_As_long(obj4
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29232 if (!wxPyCheckForApp()) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29246 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxDirFilterListCtrl
*result
;
29249 char *kwnames
[] = {
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29255 if (!wxPyCheckForApp()) SWIG_fail
;
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29259 wxPyEndAllowThreads(__tstate
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29269 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
;
29271 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29272 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29273 int arg3
= (int) (int)-1 ;
29274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29278 long arg6
= (long) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 PyObject
* obj2
= 0 ;
29285 PyObject
* obj3
= 0 ;
29286 PyObject
* obj4
= 0 ;
29287 PyObject
* obj5
= 0 ;
29288 char *kwnames
[] = {
29289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29298 arg3
= (int)SWIG_As_int(obj2
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29314 arg6
= (long)SWIG_As_long(obj5
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29333 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29336 wxString
*arg2
= 0 ;
29338 bool temp2
= false ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 char *kwnames
[] = {
29343 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29350 arg2
= wxString_in_helper(obj1
);
29351 if (arg2
== NULL
) SWIG_fail
;
29354 arg3
= (int)SWIG_As_int(obj2
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29363 Py_INCREF(Py_None
); resultobj
= Py_None
;
29378 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29381 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29383 return Py_BuildValue((char *)"");
29385 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxWindow
*arg1
= (wxWindow
*) 0 ;
29388 int arg2
= (int) (int)-1 ;
29389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29393 long arg5
= (long) 0 ;
29394 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29395 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29396 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29398 wxPyControl
*result
;
29401 bool temp7
= false ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 PyObject
* obj3
= 0 ;
29406 PyObject
* obj4
= 0 ;
29407 PyObject
* obj5
= 0 ;
29408 PyObject
* obj6
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29417 arg2
= (int)SWIG_As_int(obj1
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29429 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29433 arg5
= (long)SWIG_As_long(obj4
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29437 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29440 if (arg6
== NULL
) {
29441 PyErr_SetString(PyExc_TypeError
,"null reference");
29447 arg7
= wxString_in_helper(obj6
);
29448 if (arg7
== NULL
) SWIG_fail
;
29453 if (!wxPyCheckForApp()) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29475 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
;
29477 wxPyControl
*result
;
29478 char *kwnames
[] = {
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29484 if (!wxPyCheckForApp()) SWIG_fail
;
29485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29486 result
= (wxPyControl
*)new wxPyControl();
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29498 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29501 PyObject
*arg2
= (PyObject
*) 0 ;
29502 PyObject
*arg3
= (PyObject
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 PyObject
* obj2
= 0 ;
29506 char *kwnames
[] = {
29507 (char *) "self",(char *) "self",(char *) "_class", NULL
29510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 Py_INCREF(Py_None
); resultobj
= Py_None
;
29529 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
;
29531 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29534 PyObject
* obj0
= 0 ;
29535 PyObject
* obj1
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "size", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 Py_INCREF(Py_None
); resultobj
= Py_None
;
29561 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29568 PyObject
* obj0
= 0 ;
29569 PyObject
* obj1
= 0 ;
29570 PyObject
* obj2
= 0 ;
29571 PyObject
* obj3
= 0 ;
29572 PyObject
* obj4
= 0 ;
29573 char *kwnames
[] = {
29574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29580 arg2
= (int)SWIG_As_int(obj1
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29582 arg3
= (int)SWIG_As_int(obj2
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29584 arg4
= (int)SWIG_As_int(obj3
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29586 arg5
= (int)SWIG_As_int(obj4
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29590 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29595 Py_INCREF(Py_None
); resultobj
= Py_None
;
29602 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
;
29604 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29609 int arg6
= (int) wxSIZE_AUTO
;
29610 PyObject
* obj0
= 0 ;
29611 PyObject
* obj1
= 0 ;
29612 PyObject
* obj2
= 0 ;
29613 PyObject
* obj3
= 0 ;
29614 PyObject
* obj4
= 0 ;
29615 PyObject
* obj5
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 arg2
= (int)SWIG_As_int(obj1
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29625 arg3
= (int)SWIG_As_int(obj2
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29627 arg4
= (int)SWIG_As_int(obj3
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29629 arg5
= (int)SWIG_As_int(obj4
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 arg6
= (int)SWIG_As_int(obj5
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29637 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 Py_INCREF(Py_None
); resultobj
= Py_None
;
29649 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "width",(char *) "height", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29664 arg2
= (int)SWIG_As_int(obj1
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29666 arg3
= (int)SWIG_As_int(obj2
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 Py_INCREF(Py_None
); resultobj
= Py_None
;
29682 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
;
29684 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 PyObject
* obj2
= 0 ;
29690 char *kwnames
[] = {
29691 (char *) "self",(char *) "x",(char *) "y", NULL
29694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29697 arg2
= (int)SWIG_As_int(obj1
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29699 arg3
= (int)SWIG_As_int(obj2
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 Py_INCREF(Py_None
); resultobj
= Py_None
;
29715 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
;
29717 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29718 int *arg2
= (int *) 0 ;
29719 int *arg3
= (int *) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self", NULL
29729 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29730 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29741 Py_INCREF(Py_None
); resultobj
= Py_None
;
29742 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29743 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29744 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29745 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29752 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29755 int *arg2
= (int *) 0 ;
29756 int *arg3
= (int *) 0 ;
29761 PyObject
* obj0
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self", NULL
29766 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29767 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29780 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29782 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29789 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29790 PyObject
*resultobj
;
29791 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29792 int *arg2
= (int *) 0 ;
29793 int *arg3
= (int *) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self", NULL
29803 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29804 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29815 Py_INCREF(Py_None
); resultobj
= Py_None
;
29816 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29817 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29819 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29826 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29830 PyObject
* obj0
= 0 ;
29831 char *kwnames
[] = {
29832 (char *) "self", NULL
29835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29846 wxSize
* resultptr
;
29847 resultptr
= new wxSize((wxSize
&) result
);
29848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29856 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
;
29858 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 char *kwnames
[] = {
29862 (char *) "self", NULL
29865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29876 wxSize
* resultptr
;
29877 resultptr
= new wxSize((wxSize
&) result
);
29878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29886 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 char *kwnames
[] = {
29891 (char *) "self", NULL
29894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 (arg1
)->base_InitDialog();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 Py_INCREF(Py_None
); resultobj
= Py_None
;
29911 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (bool)(arg1
)->base_TransferDataToWindow();
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29939 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29967 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (bool)(arg1
)->base_Validate();
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29999 PyObject
* obj0
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30023 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
;
30025 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30027 PyObject
* obj0
= 0 ;
30028 char *kwnames
[] = {
30029 (char *) "self", NULL
30032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30051 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30052 PyObject
*resultobj
;
30053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 char *kwnames
[] = {
30057 (char *) "self", NULL
30060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30071 wxSize
* resultptr
;
30072 resultptr
= new wxSize((wxSize
&) result
);
30073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30081 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
;
30083 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30084 wxWindow
*arg2
= (wxWindow
*) 0 ;
30085 PyObject
* obj0
= 0 ;
30086 PyObject
* obj1
= 0 ;
30087 char *kwnames
[] = {
30088 (char *) "self",(char *) "child", NULL
30091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 (arg1
)->base_AddChild(arg2
);
30100 wxPyEndAllowThreads(__tstate
);
30101 if (PyErr_Occurred()) SWIG_fail
;
30103 Py_INCREF(Py_None
); resultobj
= Py_None
;
30110 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30113 wxWindow
*arg2
= (wxWindow
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "child", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 (arg1
)->base_RemoveChild(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 Py_INCREF(Py_None
); resultobj
= Py_None
;
30139 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char *kwnames
[] = {
30145 (char *) "self", NULL
30148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30167 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30170 wxColour
*arg2
= 0 ;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "c", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 Py_INCREF(Py_None
); resultobj
= Py_None
;
30199 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
;
30201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30202 wxVisualAttributes result
;
30203 PyObject
* obj0
= 0 ;
30204 char *kwnames
[] = {
30205 (char *) "self", NULL
30208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 result
= (arg1
)->base_GetDefaultAttributes();
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30219 wxVisualAttributes
* resultptr
;
30220 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30229 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30232 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30234 return Py_BuildValue((char *)"");
30236 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
;
30238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30239 int arg2
= (int) 0 ;
30240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30242 wxHelpEvent
*result
;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 PyObject
* obj2
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "type",(char *) "winid",(char *) "pt", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30253 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30257 arg2
= (int)SWIG_As_int(obj1
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30280 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30284 PyObject
* obj0
= 0 ;
30285 char *kwnames
[] = {
30286 (char *) "self", NULL
30289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30300 wxPoint
* resultptr
;
30301 resultptr
= new wxPoint((wxPoint
&) result
);
30302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30310 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
;
30312 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30313 wxPoint
*arg2
= 0 ;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 char *kwnames
[] = {
30318 (char *) "self",(char *) "pos", NULL
30321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30332 wxPyEndAllowThreads(__tstate
);
30333 if (PyErr_Occurred()) SWIG_fail
;
30335 Py_INCREF(Py_None
); resultobj
= Py_None
;
30342 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30343 PyObject
*resultobj
;
30344 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30346 PyObject
* obj0
= 0 ;
30347 char *kwnames
[] = {
30348 (char *) "self", NULL
30351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30358 result
= (wxString
*) &_result_ref
;
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30377 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
;
30379 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30380 wxString
*arg2
= 0 ;
30381 bool temp2
= false ;
30382 PyObject
* obj0
= 0 ;
30383 PyObject
* obj1
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "link", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 arg2
= wxString_in_helper(obj1
);
30393 if (arg2
== NULL
) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->SetLink((wxString
const &)*arg2
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 Py_INCREF(Py_None
); resultobj
= Py_None
;
30418 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
;
30420 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30434 result
= (wxString
*) &_result_ref
;
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30442 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30444 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30453 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
;
30455 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30456 wxString
*arg2
= 0 ;
30457 bool temp2
= false ;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 char *kwnames
[] = {
30461 (char *) "self",(char *) "target", NULL
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30468 arg2
= wxString_in_helper(obj1
);
30469 if (arg2
== NULL
) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 (arg1
)->SetTarget((wxString
const &)*arg2
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 Py_INCREF(Py_None
); resultobj
= Py_None
;
30494 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30497 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30499 return Py_BuildValue((char *)"");
30501 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxWindow
*arg1
= (wxWindow
*) NULL
;
30504 bool arg2
= (bool) true ;
30505 wxContextHelp
*result
;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 char *kwnames
[] = {
30509 (char *) "window",(char *) "doNow", NULL
30512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30518 arg2
= (bool)SWIG_As_bool(obj1
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30522 if (!wxPyCheckForApp()) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30536 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
;
30538 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 Py_INCREF(Py_None
); resultobj
= Py_None
;
30561 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30564 wxWindow
*arg2
= (wxWindow
*) NULL
;
30566 PyObject
* obj0
= 0 ;
30567 PyObject
* obj1
= 0 ;
30568 char *kwnames
[] = {
30569 (char *) "self",(char *) "window", NULL
30572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30595 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "self", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30609 result
= (bool)(arg1
)->EndContextHelp();
30611 wxPyEndAllowThreads(__tstate
);
30612 if (PyErr_Occurred()) SWIG_fail
;
30615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30623 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30626 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30628 return Py_BuildValue((char *)"");
30630 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
;
30632 wxWindow
*arg1
= (wxWindow
*) 0 ;
30633 int arg2
= (int) wxID_CONTEXT_HELP
;
30634 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30635 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30636 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30637 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30638 long arg5
= (long) wxBU_AUTODRAW
;
30639 wxContextHelpButton
*result
;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 PyObject
* obj2
= 0 ;
30645 PyObject
* obj3
= 0 ;
30646 PyObject
* obj4
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30655 arg2
= (int)SWIG_As_int(obj1
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30661 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30667 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30671 arg5
= (long)SWIG_As_long(obj4
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30675 if (!wxPyCheckForApp()) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30689 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30692 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30694 return Py_BuildValue((char *)"");
30696 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30699 wxHelpProvider
*result
;
30700 PyObject
* obj0
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "helpProvider", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30722 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
;
30724 wxHelpProvider
*result
;
30725 char *kwnames
[] = {
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30744 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30747 wxWindow
*arg2
= (wxWindow
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "self",(char *) "window", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30780 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30781 PyObject
*resultobj
;
30782 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30783 wxWindow
*arg2
= (wxWindow
*) 0 ;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 char *kwnames
[] = {
30788 (char *) "self",(char *) "window", NULL
30791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (bool)(arg1
)->ShowHelp(arg2
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30812 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
;
30814 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30815 wxWindow
*arg2
= (wxWindow
*) 0 ;
30816 wxString
*arg3
= 0 ;
30817 bool temp3
= false ;
30818 PyObject
* obj0
= 0 ;
30819 PyObject
* obj1
= 0 ;
30820 PyObject
* obj2
= 0 ;
30821 char *kwnames
[] = {
30822 (char *) "self",(char *) "window",(char *) "text", NULL
30825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30831 arg3
= wxString_in_helper(obj2
);
30832 if (arg3
== NULL
) SWIG_fail
;
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 Py_INCREF(Py_None
); resultobj
= Py_None
;
30857 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30861 wxString
*arg3
= 0 ;
30862 bool temp3
= false ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 PyObject
* obj2
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self",(char *) "id",(char *) "text", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30873 arg2
= (int)SWIG_As_int(obj1
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 arg3
= wxString_in_helper(obj2
);
30877 if (arg3
== NULL
) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 Py_INCREF(Py_None
); resultobj
= Py_None
;
30902 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30905 wxWindow
*arg2
= (wxWindow
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self",(char *) "window", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 (arg1
)->RemoveHelp(arg2
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 Py_INCREF(Py_None
); resultobj
= Py_None
;
30931 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30934 PyObject
* obj0
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxHelpProvider_Destroy(arg1
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30959 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30961 return Py_BuildValue((char *)"");
30963 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
;
30965 wxSimpleHelpProvider
*result
;
30966 char *kwnames
[] = {
30970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30985 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30988 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30990 return Py_BuildValue((char *)"");
30992 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxBitmap
*arg1
= 0 ;
30995 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30996 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30997 wxGenericDragImage
*result
;
30998 PyObject
* obj0
= 0 ;
30999 PyObject
* obj1
= 0 ;
31000 char *kwnames
[] = {
31001 (char *) "image",(char *) "cursor", NULL
31004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31008 if (arg1
== NULL
) {
31009 PyErr_SetString(PyExc_TypeError
,"null reference");
31013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31016 if (arg2
== NULL
) {
31017 PyErr_SetString(PyExc_TypeError
,"null reference");
31022 if (!wxPyCheckForApp()) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31036 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31039 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31040 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31041 wxGenericDragImage
*result
;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char *kwnames
[] = {
31045 (char *) "image",(char *) "cursor", NULL
31048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31052 if (arg1
== NULL
) {
31053 PyErr_SetString(PyExc_TypeError
,"null reference");
31057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31060 if (arg2
== NULL
) {
31061 PyErr_SetString(PyExc_TypeError
,"null reference");
31066 if (!wxPyCheckForApp()) SWIG_fail
;
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31080 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxString
*arg1
= 0 ;
31083 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31084 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31085 wxGenericDragImage
*result
;
31086 bool temp1
= false ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "str",(char *) "cursor", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31095 arg1
= wxString_in_helper(obj0
);
31096 if (arg1
== NULL
) SWIG_fail
;
31100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31103 if (arg2
== NULL
) {
31104 PyErr_SetString(PyExc_TypeError
,"null reference");
31109 if (!wxPyCheckForApp()) SWIG_fail
;
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31113 wxPyEndAllowThreads(__tstate
);
31114 if (PyErr_Occurred()) SWIG_fail
;
31116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31131 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31132 PyObject
*resultobj
;
31133 wxPyTreeCtrl
*arg1
= 0 ;
31134 wxTreeItemId
*arg2
= 0 ;
31135 wxGenericDragImage
*result
;
31136 PyObject
* obj0
= 0 ;
31137 PyObject
* obj1
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "treeCtrl",(char *) "id", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31146 if (arg1
== NULL
) {
31147 PyErr_SetString(PyExc_TypeError
,"null reference");
31150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31153 if (arg2
== NULL
) {
31154 PyErr_SetString(PyExc_TypeError
,"null reference");
31158 if (!wxPyCheckForApp()) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31172 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
;
31174 wxPyListCtrl
*arg1
= 0 ;
31176 wxGenericDragImage
*result
;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 char *kwnames
[] = {
31180 (char *) "listCtrl",(char *) "id", NULL
31183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31187 if (arg1
== NULL
) {
31188 PyErr_SetString(PyExc_TypeError
,"null reference");
31191 arg2
= (long)SWIG_As_long(obj1
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 if (!wxPyCheckForApp()) SWIG_fail
;
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31208 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31211 PyObject
* obj0
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 Py_INCREF(Py_None
); resultobj
= Py_None
;
31233 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31236 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31237 PyObject
* obj0
= 0 ;
31238 PyObject
* obj1
= 0 ;
31239 char *kwnames
[] = {
31240 (char *) "self",(char *) "bitmap", NULL
31243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->SetBackingBitmap(arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31265 wxPoint
*arg2
= 0 ;
31266 wxWindow
*arg3
= (wxWindow
*) 0 ;
31267 bool arg4
= (bool) false ;
31268 wxRect
*arg5
= (wxRect
*) NULL
;
31271 PyObject
* obj0
= 0 ;
31272 PyObject
* obj1
= 0 ;
31273 PyObject
* obj2
= 0 ;
31274 PyObject
* obj3
= 0 ;
31275 PyObject
* obj4
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31285 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31287 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31290 arg4
= (bool)SWIG_As_bool(obj3
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31294 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31313 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31315 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31316 wxPoint
*arg2
= 0 ;
31317 wxWindow
*arg3
= (wxWindow
*) 0 ;
31318 wxWindow
*arg4
= (wxWindow
*) 0 ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 PyObject
* obj3
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31336 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31338 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31356 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31360 PyObject
* obj0
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "self", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 result
= (bool)(arg1
)->EndDrag();
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31384 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31387 wxPoint
*arg2
= 0 ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 char *kwnames
[] = {
31393 (char *) "self",(char *) "pt", NULL
31396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31419 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 result
= (bool)(arg1
)->Show();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31447 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
;
31449 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31451 PyObject
* obj0
= 0 ;
31452 char *kwnames
[] = {
31453 (char *) "self", NULL
31456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= (bool)(arg1
)->Hide();
31463 wxPyEndAllowThreads(__tstate
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31475 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
;
31477 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31478 wxPoint
*arg2
= 0 ;
31481 PyObject
* obj0
= 0 ;
31482 PyObject
* obj1
= 0 ;
31483 char *kwnames
[] = {
31484 (char *) "self",(char *) "pos", NULL
31487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31496 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31502 wxRect
* resultptr
;
31503 resultptr
= new wxRect((wxRect
&) result
);
31504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31512 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31516 wxPoint
*arg3
= 0 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 PyObject
* obj2
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self",(char *) "dc",(char *) "pos", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31532 if (arg2
== NULL
) {
31533 PyErr_SetString(PyExc_TypeError
,"null reference");
31538 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31556 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31560 wxMemoryDC
*arg3
= 0 ;
31566 PyObject
* obj0
= 0 ;
31567 PyObject
* obj1
= 0 ;
31568 PyObject
* obj2
= 0 ;
31569 PyObject
* obj3
= 0 ;
31570 PyObject
* obj4
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31581 if (arg2
== NULL
) {
31582 PyErr_SetString(PyExc_TypeError
,"null reference");
31585 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31588 if (arg3
== NULL
) {
31589 PyErr_SetString(PyExc_TypeError
,"null reference");
31594 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31598 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31616 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31619 wxPoint
*arg2
= 0 ;
31620 wxPoint
*arg3
= 0 ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 PyObject
* obj2
= 0 ;
31629 PyObject
* obj3
= 0 ;
31630 PyObject
* obj4
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31646 arg4
= (bool)SWIG_As_bool(obj3
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31648 arg5
= (bool)SWIG_As_bool(obj4
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31666 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31669 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31671 return Py_BuildValue((char *)"");
31673 static PyMethodDef SwigMethods
[] = {
31674 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31681 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31696 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31708 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31716 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31751 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31756 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31763 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31768 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31776 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31799 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31807 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31894 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31911 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31936 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31940 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31958 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31965 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31999 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"BookCtrl_GetCurrentPage", (PyCFunction
) _wrap_BookCtrl_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32037 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32039 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32045 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32047 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32053 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32055 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32095 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32158 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32210 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32237 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32308 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32320 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32328 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32335 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32351 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32426 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32448 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32453 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32479 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32487 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32492 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32494 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32503 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32505 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32523 { NULL
, NULL
, 0, NULL
}
32527 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32529 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32530 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32532 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32533 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32535 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) {
32536 return (void *)((wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32538 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32539 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32541 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32542 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32544 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32545 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32547 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32548 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32550 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32551 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32553 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32554 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32556 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32557 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32559 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32560 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32562 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32565 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32566 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32568 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32569 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32571 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32572 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32574 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32575 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32577 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32578 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32580 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32581 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32583 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32586 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32589 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32592 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32595 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32598 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32601 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32602 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32604 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32605 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32607 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32608 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32610 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32611 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32613 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32614 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32616 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32617 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32619 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32622 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32623 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32625 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32626 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32628 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32629 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32631 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32632 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32634 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32635 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32637 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32638 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32640 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32641 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32643 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32644 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32646 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32649 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32650 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32652 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32653 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32655 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32656 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32658 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32659 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32661 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32662 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32664 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32665 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32667 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32670 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32671 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32673 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32674 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32676 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32677 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32679 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32682 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32683 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32685 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32686 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32688 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32689 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32691 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32692 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32694 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32695 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32697 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32698 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32700 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32701 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32703 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32704 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32706 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32707 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32709 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32710 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32712 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32713 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32715 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32716 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32718 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32719 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32721 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32722 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32724 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32725 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32727 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32728 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32730 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32731 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32733 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32734 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32736 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32737 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32739 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32740 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32742 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32743 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32745 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32746 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32748 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32749 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32751 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32752 return (void *)((wxControl
*) ((wxGauge
*) x
));
32754 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32755 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32757 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
32758 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxChoicebook
*) x
));
32760 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32761 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32763 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32764 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32766 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32767 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32769 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32770 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32772 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32773 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32775 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32776 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32778 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32779 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32781 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32782 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32784 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32785 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32787 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32788 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32790 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32791 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32793 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32794 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32796 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32797 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32799 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32800 return (void *)((wxControl
*) ((wxSlider
*) x
));
32802 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32803 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32805 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32806 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32808 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32809 return (void *)((wxControl
*) ((wxButton
*) x
));
32811 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32812 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32814 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32815 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32817 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32818 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32820 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32821 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32823 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32824 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32826 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32827 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32829 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32830 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32832 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32833 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32835 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32836 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32838 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32839 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32841 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
32842 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32844 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32847 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32848 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32850 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32851 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32853 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32854 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32856 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32859 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32860 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32862 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32865 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32868 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32869 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32871 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32872 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32874 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32877 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32880 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32883 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32886 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32889 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32890 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32892 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32895 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32898 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32901 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32904 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32907 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
32908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
32910 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32913 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32916 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32919 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32922 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32925 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32928 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32931 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32934 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32937 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32940 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32943 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32946 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32949 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32952 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32955 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32958 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32961 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32964 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32967 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32968 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32970 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) {
32971 return (void *)((wxBookCtrl
*) ((wxChoicebook
*) x
));
32973 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32974 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32976 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32977 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32979 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32980 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32982 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32983 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32985 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32986 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32988 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32989 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32991 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32994 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32997 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33000 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33003 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33006 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33009 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33015 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33018 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) ((wxSizer
*) x
));
33021 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33024 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33027 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33030 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33033 static void *_p_wxEventTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) ((wxEvent
*) x
));
33036 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33039 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33042 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33045 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33048 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33051 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33054 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33057 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33060 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33063 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33066 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33069 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33072 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33075 static void *_p_wxControlTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33078 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33081 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33084 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33087 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33090 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33093 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33096 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33099 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33102 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33105 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33108 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33111 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33114 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33117 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33120 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33123 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33126 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33129 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33132 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33135 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33138 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33141 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33144 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33147 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33150 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33153 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33156 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33159 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33162 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33165 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33168 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33171 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33174 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33177 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33180 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33183 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33186 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33189 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33192 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33195 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33198 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33201 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33204 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33207 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33210 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33213 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33216 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33219 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33222 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33225 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33228 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33231 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33234 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33237 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33240 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33243 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33246 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) ((wxListItem
*) x
));
33249 static void *_p_wxImageTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) ((wxImage
*) x
));
33252 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33255 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33258 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33261 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33264 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33267 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33270 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33273 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33276 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33279 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33282 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33285 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33288 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33291 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33294 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33297 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33300 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33303 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33306 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33309 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33312 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33315 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33318 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33321 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33324 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33327 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33330 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33333 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33336 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33339 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33342 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33345 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33348 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33351 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33354 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33355 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33357 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33358 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33360 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33361 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33363 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33364 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33366 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33367 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33369 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33370 return (void *)((wxWindow
*) ((wxControl
*) x
));
33372 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33373 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33375 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33378 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33381 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33384 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33385 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33387 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33388 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33390 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33391 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33393 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33394 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33396 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33399 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33402 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33405 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33406 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33408 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33411 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33414 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33415 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33417 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33418 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33420 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33421 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33423 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33424 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33426 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33427 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33429 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33430 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33432 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33433 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33435 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33436 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33438 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33439 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33441 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33442 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33444 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33445 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33447 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33448 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33450 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33451 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33453 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33454 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33456 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33457 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33459 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33460 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33462 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33463 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33465 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33466 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33468 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33469 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33471 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33472 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33474 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33475 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33477 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33478 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33480 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33481 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33483 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33484 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33486 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33487 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33489 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33490 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33492 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33493 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33495 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33496 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33498 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33499 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33501 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33502 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33504 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33505 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33507 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33508 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33510 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33511 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33513 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33514 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33516 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33517 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33519 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33520 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33522 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33523 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33525 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33526 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33528 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}};
33529 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}};
33530 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}};
33531 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}};
33532 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}};
33533 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}};
33534 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}};
33535 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}};
33536 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}};
33537 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}};
33538 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}};
33539 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}};
33540 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}};
33541 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}};
33542 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}};
33543 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}};
33544 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}};
33545 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}};
33546 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}};
33547 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}};
33548 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 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}};
33549 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}};
33550 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}};
33551 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}};
33552 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}};
33553 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}};
33554 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}};
33555 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}};
33556 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}};
33557 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}};
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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}};
33563 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}};
33564 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}};
33565 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}};
33566 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}};
33567 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}};
33568 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}};
33569 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}};
33570 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}};
33571 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}};
33572 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}};
33573 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}};
33574 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}};
33575 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}};
33576 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}};
33577 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}};
33578 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}};
33579 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}};
33580 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}};
33581 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}};
33582 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}};
33583 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}};
33584 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}};
33585 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}};
33586 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}};
33587 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}};
33588 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}};
33589 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}};
33590 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}};
33591 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}};
33592 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}};
33593 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}};
33594 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}};
33595 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}};
33596 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}};
33597 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}};
33598 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}};
33599 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}};
33600 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}};
33601 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}};
33602 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}};
33603 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}};
33604 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}};
33605 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}};
33606 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}};
33607 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}};
33608 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}};
33609 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 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}};
33610 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}};
33611 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}};
33612 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}};
33613 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}};
33614 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}};
33616 static swig_type_info
*swig_types_initial
[] = {
33617 _swigt__p_wxTextUrlEvent
,
33618 _swigt__p_wxBookCtrlEvent
,
33620 _swigt__p_wxCheckBox
,
33621 _swigt__p_wxPyTreeCtrl
,
33623 _swigt__p_wxGenericDirCtrl
,
33625 _swigt__p_wxPyTreeItemData
,
33626 _swigt__p_wxItemContainer
,
33627 _swigt__p_wxPyListCtrl
,
33628 _swigt__p_wxDirFilterListCtrl
,
33629 _swigt__p_wxStaticLine
,
33630 _swigt__p_wxControl
,
33631 _swigt__p_wxPyControl
,
33633 _swigt__p_wxToolBarBase
,
33635 _swigt__p_wxToggleButton
,
33636 _swigt__p_wxRadioButton
,
33637 _swigt__p_wxChoice
,
33638 _swigt__p_wxMemoryDC
,
33639 _swigt__p_wxListItemAttr
,
33644 _swigt__p_wxListView
,
33646 _swigt__p_wxVisualAttributes
,
33647 _swigt__p_wxTextCtrl
,
33648 _swigt__p_wxNotebook
,
33649 _swigt__p_wxChoicebook
,
33650 _swigt__p_wxNotifyEvent
,
33651 _swigt__p_wxArrayString
,
33652 _swigt__p_wxListbook
,
33653 _swigt__p_wxStaticBitmap
,
33654 _swigt__p_wxSlider
,
33655 _swigt__p_wxStaticBox
,
33656 _swigt__p_wxArrayInt
,
33657 _swigt__p_wxContextHelp
,
33659 _swigt__p_wxEvtHandler
,
33660 _swigt__p_wxListEvent
,
33661 _swigt__p_wxCheckListBox
,
33662 _swigt__p_wxListBox
,
33663 _swigt__p_wxBookCtrl
,
33664 _swigt__p_wxSpinButton
,
33665 _swigt__p_wxButton
,
33666 _swigt__p_wxBitmapButton
,
33668 _swigt__p_wxContextHelpButton
,
33669 _swigt__p_wxRadioBox
,
33670 _swigt__p_wxScrollBar
,
33672 _swigt__p_wxTreeItemId
,
33673 _swigt__p_wxComboBox
,
33674 _swigt__p_wxHelpEvent
,
33675 _swigt__p_wxListItem
,
33676 _swigt__p_wxNotebookSizer
,
33677 _swigt__p_wxSpinEvent
,
33678 _swigt__p_wxGenericDragImage
,
33679 _swigt__p_wxSpinCtrl
,
33680 _swigt__p_wxImageList
,
33681 _swigt__p_wxHelpProvider
,
33682 _swigt__p_wxTextAttr
,
33683 _swigt__p_wxSimpleHelpProvider
,
33685 _swigt__p_wxChoicebookEvent
,
33686 _swigt__p_wxListbookEvent
,
33687 _swigt__p_wxNotebookEvent
,
33688 _swigt__p_wxObject
,
33689 _swigt__p_wxCursor
,
33690 _swigt__p_wxKeyEvent
,
33691 _swigt__p_wxWindow
,
33692 _swigt__p_wxString
,
33693 _swigt__p_wxBitmap
,
33694 _swigt__p_wxTreeEvent
,
33695 _swigt__p_wxMouseEvent
,
33696 _swigt__p_wxCommandEvent
,
33697 _swigt__p_wxStaticText
,
33698 _swigt__p_wxControlWithItems
,
33699 _swigt__p_wxToolBarToolBase
,
33700 _swigt__p_wxColour
,
33701 _swigt__p_wxToolBar
,
33702 _swigt__p_wxBookCtrlSizer
,
33703 _swigt__p_wxValidator
,
33708 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33710 static swig_const_info swig_const_table
[] = {
33711 {0, 0, 0, 0.0, 0, 0}};
33720 SWIGEXPORT(void) SWIG_init(void) {
33721 static PyObject
*SWIG_globals
= 0;
33722 static int typeinit
= 0;
33725 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33726 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33727 d
= PyModule_GetDict(m
);
33730 for (i
= 0; swig_types_initial
[i
]; i
++) {
33731 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33735 SWIG_InstallConstants(d
,swig_const_table
);
33737 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33738 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33739 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33740 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33741 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33742 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33743 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
33744 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33745 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33746 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33747 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33748 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33749 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33750 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33751 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33752 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33753 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33754 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33755 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33756 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33757 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33758 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33759 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33760 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33761 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33762 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33763 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33764 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33765 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33766 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33767 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33768 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33769 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33770 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33771 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33772 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33773 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33774 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33775 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33776 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33777 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33778 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33779 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33780 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33781 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33782 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33783 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33784 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33785 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33786 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33787 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33788 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33789 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33790 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33791 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33792 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33793 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33794 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33795 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33796 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33797 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33798 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33799 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33800 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33801 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33802 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33803 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33804 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33805 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33808 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33810 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33811 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33812 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33813 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33814 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33815 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33816 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33817 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33818 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33819 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33820 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33821 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33822 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33823 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33824 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33825 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33826 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33827 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33828 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33829 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33830 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33831 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33832 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33833 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33834 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33835 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33836 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33837 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33838 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33839 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33840 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33841 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33842 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33843 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33844 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
33845 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
33846 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
33847 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
33848 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
33849 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
33850 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
33851 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
33852 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33853 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33854 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33855 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33856 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33857 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33858 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33859 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33860 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33861 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33862 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33863 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33864 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33865 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33866 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33867 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33868 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33869 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33870 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33871 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33872 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33873 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33874 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33875 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33876 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33877 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33878 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33879 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33880 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33881 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33882 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33883 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33884 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33885 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33886 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33887 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33888 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33889 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33890 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33891 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33892 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33893 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33894 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33895 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33896 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33897 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33898 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33899 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33900 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33901 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33902 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33903 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33904 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33905 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33906 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33907 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33908 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33909 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33910 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33911 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33912 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33913 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33914 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33915 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33916 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33917 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33918 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33919 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33920 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33921 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33922 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33923 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33924 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33925 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33926 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33927 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33928 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33929 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33930 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33931 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33932 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33933 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33934 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33948 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33949 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33950 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33951 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33952 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33953 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33954 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33955 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33956 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33958 // Map renamed classes back to their common name for OOR
33959 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33961 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33962 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33963 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33964 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33965 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33966 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33967 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33968 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33969 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33970 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33971 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33972 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33973 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33974 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33975 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33976 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33977 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33978 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33979 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33980 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33981 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33982 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33983 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33984 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33985 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33986 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33987 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33988 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33989 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33990 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33991 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33992 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33993 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33994 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33995 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33996 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34001 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34002 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34003 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34004 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34018 // Map renamed classes back to their common name for OOR
34019 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34020 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34022 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34023 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34024 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34025 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34026 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34027 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34028 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34029 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34030 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34031 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34033 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");