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
);
671 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
672 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
673 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
675 #include <wx/slider.h>
678 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
679 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
682 // implement dummy items for platforms that don't have this class
684 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
686 class wxToggleButton
: public wxControl
689 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
690 const wxPoint
&, const wxSize
&, long,
691 const wxValidator
&, const wxString
&)
692 { wxPyRaiseNotImplemented(); }
695 { wxPyRaiseNotImplemented(); }
699 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
701 SWIGSTATICINLINE(PyObject
* )
702 SWIG_From_unsigned_SS_long(unsigned long value
)
704 return (value
> LONG_MAX
) ?
705 PyLong_FromUnsignedLong(value
)
706 : PyInt_FromLong(swig_numeric_cast(value
,long));
709 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
710 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
711 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
713 Py_INCREF(udata
->m_obj
);
720 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
721 self
->SetClientData(new wxPyUserData(clientData
));
723 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
){
724 wxPyUserData
* udata
= NULL
;
725 if (clientData
&& clientData
!= Py_None
)
726 udata
= new wxPyUserData(clientData
);
727 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
728 shortHelp
, longHelp
, udata
);
730 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
){
731 wxPyUserData
* udata
= NULL
;
732 if (clientData
&& clientData
!= Py_None
)
733 udata
= new wxPyUserData(clientData
);
734 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
735 shortHelp
, longHelp
, udata
);
737 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
738 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
740 Py_INCREF(udata
->m_obj
);
747 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
748 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
751 #include <wx/listctrl.h>
753 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
754 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
755 // Python aware sorting function for wxPyListCtrl
756 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
758 PyObject
* func
= (PyObject
*)funcPtr
;
759 bool blocked
= wxPyBeginBlockThreads();
761 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
762 PyObject
* result
= PyEval_CallObject(func
, args
);
765 retval
= PyInt_AsLong(result
);
769 wxPyEndBlockThreads(blocked
);
773 // C++ Version of a Python aware class
774 class wxPyListCtrl
: public wxListCtrl
{
775 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
777 wxPyListCtrl() : wxListCtrl() {}
778 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
782 const wxValidator
& validator
,
783 const wxString
& name
) :
784 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
786 bool Create(wxWindow
* parent
, wxWindowID id
,
790 const wxValidator
& validator
,
791 const wxString
& name
) {
792 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
795 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
796 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
798 // use the virtual version to avoid a confusing assert in the base class
799 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
806 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
807 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
808 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
811 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
813 item
.SetMask( wxLIST_MASK_STATE
|
821 if (self
->GetColumn(col
, item
))
822 return new wxListItem(item
);
826 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
827 wxListItem
* info
= new wxListItem
;
828 info
->m_itemId
= itemId
;
830 info
->m_mask
= 0xFFFF;
831 self
->GetItem(*info
);
834 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
836 self
->GetItemPosition(item
, pos
);
839 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
841 self
->GetItemRect(item
, rect
, code
);
845 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
846 if (!PyCallable_Check(func
))
848 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
850 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
854 return (wxWindow
*)self
->m_mainWin
;
858 #include <wx/treectrl.h>
859 #include "wx/wxPython/pytree.h"
861 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
862 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
863 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
864 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
865 // C++ version of Python aware wxTreeCtrl
866 class wxPyTreeCtrl
: public wxTreeCtrl
{
867 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
869 wxPyTreeCtrl() : wxTreeCtrl() {}
870 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
874 const wxValidator
& validator
,
875 const wxString
& name
) :
876 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
878 bool Create(wxWindow
*parent
, wxWindowID id
,
882 const wxValidator
& validator
,
883 const wxString
& name
) {
884 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
888 int OnCompareItems(const wxTreeItemId
& item1
,
889 const wxTreeItemId
& item2
) {
892 bool blocked
= wxPyBeginBlockThreads();
893 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
894 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
895 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
896 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
900 wxPyEndBlockThreads(blocked
);
902 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
908 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
912 #if UINT_MAX < LONG_MAX
913 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
914 #define SWIG_From_unsigned_SS_int SWIG_From_long
917 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
918 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
923 SWIGSTATICINLINE(int)
924 SWIG_CheckUnsignedLongInRange(unsigned long value
,
925 unsigned long max_value
,
928 if (value
> max_value
) {
930 PyErr_Format(PyExc_OverflowError
,
931 "value %ld is greater than '%s' minimum %ld",
932 value
, errmsg
, max_value
);
940 #if UINT_MAX != ULONG_MAX
941 SWIGSTATICINLINE(int)
942 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
944 const char* errmsg
= val
? "unsigned int" : 0;
946 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
947 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
948 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
955 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
960 SWIGSTATICINLINE(unsigned int)
961 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
963 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
968 SWIGSTATICINLINE(unsigned int)
969 SWIG_As_unsigned_SS_int(PyObject
* obj
)
972 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
974 this is needed to make valgrind/purify happier. the other
975 solution is throw an exception, but since this code should work
978 memset((void*)&v
, 0, sizeof(unsigned int));
984 SWIGSTATICINLINE(int)
985 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
987 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
990 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
991 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
993 data
= new wxPyTreeItemData();
994 data
->SetId(item
); // set the id
995 self
->SetItemData(item
, data
);
999 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1000 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1002 data
= new wxPyTreeItemData();
1003 data
->SetId(item
); // set the id
1004 self
->SetItemData(item
, data
);
1006 return data
->GetData();
1008 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1009 data
->SetId(item
); // set the id
1010 self
->SetItemData(item
, data
);
1012 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1013 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1015 data
= new wxPyTreeItemData(obj
);
1016 data
->SetId(item
); // set the id
1017 self
->SetItemData(item
, data
);
1021 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1022 bool blocked
= wxPyBeginBlockThreads();
1023 PyObject
* rval
= PyList_New(0);
1024 wxArrayTreeItemIds array
;
1026 num
= self
->GetSelections(array
);
1027 for (x
=0; x
< num
; x
++) {
1028 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1029 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1030 PyList_Append(rval
, item
);
1033 wxPyEndBlockThreads(blocked
);
1036 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1038 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1039 bool blocked
= wxPyBeginBlockThreads();
1040 PyObject
* tup
= PyTuple_New(2);
1041 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1042 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1043 wxPyEndBlockThreads(blocked
);
1046 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1047 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1048 bool blocked
= wxPyBeginBlockThreads();
1049 PyObject
* tup
= PyTuple_New(2);
1050 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1051 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1052 wxPyEndBlockThreads(blocked
);
1055 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1057 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1058 bool blocked
= wxPyBeginBlockThreads();
1059 wxRect
* r
= new wxRect(rect
);
1060 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
1061 wxPyEndBlockThreads(blocked
);
1067 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1069 SWIGSTATICINLINE(PyObject
*)
1070 SWIG_From_bool(bool value
)
1072 PyObject
*obj
= value
? Py_True
: Py_False
;
1078 // C++ version of Python aware wxControl
1079 class wxPyControl
: public wxControl
1081 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1083 wxPyControl() : wxControl() {}
1084 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1085 const wxPoint
& pos
= wxDefaultPosition
,
1086 const wxSize
& size
= wxDefaultSize
,
1088 const wxValidator
& validator
=wxDefaultValidator
,
1089 const wxString
& name
= wxPyControlNameStr
)
1090 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1092 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1094 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1095 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1096 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1097 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1099 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1100 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1101 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1103 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1104 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1106 DEC_PYCALLBACK__(InitDialog
);
1107 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1108 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1109 DEC_PYCALLBACK_BOOL_(Validate
);
1111 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1112 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1113 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1115 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1116 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1118 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1119 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1120 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1125 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1127 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1128 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1129 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1130 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1132 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1133 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1134 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1136 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1137 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1139 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1140 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1141 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1142 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1144 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1145 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1146 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1148 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1149 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1151 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1152 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1153 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1157 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1159 #include <wx/generic/dragimgg.h>
1164 static int _wrap_ButtonNameStr_set(PyObject
*) {
1165 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1170 static PyObject
*_wrap_ButtonNameStr_get() {
1175 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1177 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1184 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
*resultobj
;
1186 wxWindow
*arg1
= (wxWindow
*) 0 ;
1187 int arg2
= (int) -1 ;
1188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1190 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1191 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1192 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1193 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1194 long arg6
= (long) 0 ;
1195 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1196 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1197 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1200 bool temp3
= false ;
1203 bool temp8
= false ;
1204 PyObject
* obj0
= 0 ;
1205 PyObject
* obj1
= 0 ;
1206 PyObject
* obj2
= 0 ;
1207 PyObject
* obj3
= 0 ;
1208 PyObject
* obj4
= 0 ;
1209 PyObject
* obj5
= 0 ;
1210 PyObject
* obj6
= 0 ;
1211 PyObject
* obj7
= 0 ;
1213 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1220 arg2
= (int)SWIG_As_int(obj1
);
1221 if (PyErr_Occurred()) SWIG_fail
;
1225 arg3
= wxString_in_helper(obj2
);
1226 if (arg3
== NULL
) SWIG_fail
;
1233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1243 arg6
= (long)SWIG_As_long(obj5
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1247 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1251 PyErr_SetString(PyExc_TypeError
,"null reference");
1257 arg8
= wxString_in_helper(obj7
);
1258 if (arg8
== NULL
) SWIG_fail
;
1263 if (!wxPyCheckForApp()) SWIG_fail
;
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) SWIG_fail
;
1270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1293 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
*resultobj
;
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1302 if (!wxPyCheckForApp()) SWIG_fail
;
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 result
= (wxButton
*)new wxButton();
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) SWIG_fail
;
1309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1316 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxButton
*arg1
= (wxButton
*) 0 ;
1319 wxWindow
*arg2
= (wxWindow
*) 0 ;
1320 int arg3
= (int) -1 ;
1321 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1322 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1323 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1324 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1325 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1326 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1327 long arg7
= (long) 0 ;
1328 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1329 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1330 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1331 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1333 bool temp4
= false ;
1336 bool temp9
= false ;
1337 PyObject
* obj0
= 0 ;
1338 PyObject
* obj1
= 0 ;
1339 PyObject
* obj2
= 0 ;
1340 PyObject
* obj3
= 0 ;
1341 PyObject
* obj4
= 0 ;
1342 PyObject
* obj5
= 0 ;
1343 PyObject
* obj6
= 0 ;
1344 PyObject
* obj7
= 0 ;
1345 PyObject
* obj8
= 0 ;
1347 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1356 arg3
= (int)SWIG_As_int(obj2
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1361 arg4
= wxString_in_helper(obj3
);
1362 if (arg4
== NULL
) SWIG_fail
;
1369 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1375 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1379 arg7
= (long)SWIG_As_long(obj6
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1383 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1387 PyErr_SetString(PyExc_TypeError
,"null reference");
1393 arg9
= wxString_in_helper(obj8
);
1394 if (arg9
== NULL
) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1430 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxButton
*arg1
= (wxButton
*) 0 ;
1433 PyObject
* obj0
= 0 ;
1435 (char *) "self", NULL
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 (arg1
)->SetDefault();
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) SWIG_fail
;
1448 Py_INCREF(Py_None
); resultobj
= Py_None
;
1455 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 result
= wxButton::GetDefaultSize();
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1472 resultptr
= new wxSize((wxSize
&) result
);
1473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1481 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
*resultobj
;
1483 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1484 wxVisualAttributes result
;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "variant", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1492 arg1
= (int)SWIG_As_int(obj0
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1496 if (!wxPyCheckForApp()) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1504 wxVisualAttributes
* resultptr
;
1505 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1514 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1517 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1519 return Py_BuildValue((char *)"");
1521 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
*resultobj
;
1523 wxWindow
*arg1
= (wxWindow
*) 0 ;
1524 int arg2
= (int) -1 ;
1525 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1526 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1531 long arg6
= (long) wxBU_AUTODRAW
;
1532 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1533 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1534 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1536 wxBitmapButton
*result
;
1539 bool temp8
= false ;
1540 PyObject
* obj0
= 0 ;
1541 PyObject
* obj1
= 0 ;
1542 PyObject
* obj2
= 0 ;
1543 PyObject
* obj3
= 0 ;
1544 PyObject
* obj4
= 0 ;
1545 PyObject
* obj5
= 0 ;
1546 PyObject
* obj6
= 0 ;
1547 PyObject
* obj7
= 0 ;
1549 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1556 arg2
= (int)SWIG_As_int(obj1
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1560 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1561 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1564 PyErr_SetString(PyExc_TypeError
,"null reference");
1571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1581 arg6
= (long)SWIG_As_long(obj5
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1585 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1589 PyErr_SetString(PyExc_TypeError
,"null reference");
1595 arg8
= wxString_in_helper(obj7
);
1596 if (arg8
== NULL
) SWIG_fail
;
1601 if (!wxPyCheckForApp()) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1623 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxBitmapButton
*result
;
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1632 if (!wxPyCheckForApp()) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (wxBitmapButton
*)new wxBitmapButton();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1646 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1648 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1649 wxWindow
*arg2
= (wxWindow
*) 0 ;
1650 int arg3
= (int) -1 ;
1651 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1652 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1653 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1654 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1655 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1656 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1657 long arg7
= (long) wxBU_AUTODRAW
;
1658 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1659 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1660 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1661 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1665 bool temp9
= false ;
1666 PyObject
* obj0
= 0 ;
1667 PyObject
* obj1
= 0 ;
1668 PyObject
* obj2
= 0 ;
1669 PyObject
* obj3
= 0 ;
1670 PyObject
* obj4
= 0 ;
1671 PyObject
* obj5
= 0 ;
1672 PyObject
* obj6
= 0 ;
1673 PyObject
* obj7
= 0 ;
1674 PyObject
* obj8
= 0 ;
1676 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1685 arg3
= (int)SWIG_As_int(obj2
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1689 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1693 PyErr_SetString(PyExc_TypeError
,"null reference");
1700 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1706 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1710 arg7
= (long)SWIG_As_long(obj6
);
1711 if (PyErr_Occurred()) SWIG_fail
;
1714 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1718 PyErr_SetString(PyExc_TypeError
,"null reference");
1724 arg9
= wxString_in_helper(obj8
);
1725 if (arg9
== NULL
) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1753 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1757 PyObject
* obj0
= 0 ;
1759 (char *) "self", NULL
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 result
= (arg1
)->GetBitmapLabel();
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1773 wxBitmap
* resultptr
;
1774 resultptr
= new wxBitmap((wxBitmap
&) result
);
1775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1783 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
*resultobj
;
1785 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "self", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 result
= (arg1
)->GetBitmapDisabled();
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 wxBitmap
* resultptr
;
1804 resultptr
= new wxBitmap((wxBitmap
&) result
);
1805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1813 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1819 (char *) "self", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 result
= (arg1
)->GetBitmapFocus();
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1833 wxBitmap
* resultptr
;
1834 resultptr
= new wxBitmap((wxBitmap
&) result
);
1835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1843 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1847 PyObject
* obj0
= 0 ;
1849 (char *) "self", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1857 result
= (arg1
)->GetBitmapSelected();
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1863 wxBitmap
* resultptr
;
1864 resultptr
= new wxBitmap((wxBitmap
&) result
);
1865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1873 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1876 wxBitmap
*arg2
= 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1880 (char *) "self",(char *) "bitmap", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1890 PyErr_SetString(PyExc_TypeError
,"null reference");
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 Py_INCREF(Py_None
); resultobj
= Py_None
;
1907 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1910 wxBitmap
*arg2
= 0 ;
1911 PyObject
* obj0
= 0 ;
1912 PyObject
* obj1
= 0 ;
1914 (char *) "self",(char *) "bitmap", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1924 PyErr_SetString(PyExc_TypeError
,"null reference");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1941 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1944 wxBitmap
*arg2
= 0 ;
1945 PyObject
* obj0
= 0 ;
1946 PyObject
* obj1
= 0 ;
1948 (char *) "self",(char *) "bitmap", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1958 PyErr_SetString(PyExc_TypeError
,"null reference");
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 Py_INCREF(Py_None
); resultobj
= Py_None
;
1975 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
*resultobj
;
1977 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1978 wxBitmap
*arg2
= 0 ;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1982 (char *) "self",(char *) "bitmap", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1992 PyErr_SetString(PyExc_TypeError
,"null reference");
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2002 Py_INCREF(Py_None
); resultobj
= Py_None
;
2009 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
*resultobj
;
2011 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2015 PyObject
* obj1
= 0 ;
2016 PyObject
* obj2
= 0 ;
2018 (char *) "self",(char *) "x",(char *) "y", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2024 arg2
= (int)SWIG_As_int(obj1
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2026 arg3
= (int)SWIG_As_int(obj2
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2030 (arg1
)->SetMargins(arg2
,arg3
);
2032 wxPyEndAllowThreads(__tstate
);
2033 if (PyErr_Occurred()) SWIG_fail
;
2035 Py_INCREF(Py_None
); resultobj
= Py_None
;
2042 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
*resultobj
;
2044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2048 (char *) "self", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 resultobj
= SWIG_From_int((int)result
);
2068 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= SWIG_From_int((int)result
);
2094 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2097 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2099 return Py_BuildValue((char *)"");
2101 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2102 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2107 static PyObject
*_wrap_CheckBoxNameStr_get() {
2112 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2114 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2121 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxWindow
*arg1
= (wxWindow
*) 0 ;
2124 int arg2
= (int) -1 ;
2125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2131 long arg6
= (long) 0 ;
2132 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2133 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2134 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2137 bool temp3
= false ;
2140 bool temp8
= false ;
2141 PyObject
* obj0
= 0 ;
2142 PyObject
* obj1
= 0 ;
2143 PyObject
* obj2
= 0 ;
2144 PyObject
* obj3
= 0 ;
2145 PyObject
* obj4
= 0 ;
2146 PyObject
* obj5
= 0 ;
2147 PyObject
* obj6
= 0 ;
2148 PyObject
* obj7
= 0 ;
2150 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 arg2
= (int)SWIG_As_int(obj1
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2162 arg3
= wxString_in_helper(obj2
);
2163 if (arg3
== NULL
) SWIG_fail
;
2170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2180 arg6
= (long)SWIG_As_long(obj5
);
2181 if (PyErr_Occurred()) SWIG_fail
;
2184 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2188 PyErr_SetString(PyExc_TypeError
,"null reference");
2194 arg8
= wxString_in_helper(obj7
);
2195 if (arg8
== NULL
) SWIG_fail
;
2200 if (!wxPyCheckForApp()) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2230 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2239 if (!wxPyCheckForApp()) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 result
= (wxCheckBox
*)new wxCheckBox();
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2253 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2256 wxWindow
*arg2
= (wxWindow
*) 0 ;
2257 int arg3
= (int) -1 ;
2258 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2259 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2260 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2261 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2262 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2263 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2264 long arg7
= (long) 0 ;
2265 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2266 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2267 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2268 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2270 bool temp4
= false ;
2273 bool temp9
= false ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2276 PyObject
* obj2
= 0 ;
2277 PyObject
* obj3
= 0 ;
2278 PyObject
* obj4
= 0 ;
2279 PyObject
* obj5
= 0 ;
2280 PyObject
* obj6
= 0 ;
2281 PyObject
* obj7
= 0 ;
2282 PyObject
* obj8
= 0 ;
2284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 arg3
= (int)SWIG_As_int(obj2
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2298 arg4
= wxString_in_helper(obj3
);
2299 if (arg4
== NULL
) SWIG_fail
;
2306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2312 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2316 arg7
= (long)SWIG_As_long(obj6
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2320 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2324 PyErr_SetString(PyExc_TypeError
,"null reference");
2330 arg9
= wxString_in_helper(obj8
);
2331 if (arg9
== NULL
) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2367 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2373 (char *) "self", NULL
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (bool)(arg1
)->GetValue();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2395 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2401 (char *) "self", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= (bool)(arg1
)->IsChecked();
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2423 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
*resultobj
;
2425 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2428 PyObject
* obj1
= 0 ;
2430 (char *) "self",(char *) "state", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 arg2
= (bool)SWIG_As_bool(obj1
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 (arg1
)->SetValue(arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2445 Py_INCREF(Py_None
); resultobj
= Py_None
;
2452 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
*resultobj
;
2454 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2456 PyObject
* obj0
= 0 ;
2458 (char *) "self", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_From_int((int)result
);
2478 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2483 PyObject
* obj1
= 0 ;
2485 (char *) "self",(char *) "state", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2491 arg2
= (int)SWIG_As_int(obj1
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2500 Py_INCREF(Py_None
); resultobj
= Py_None
;
2507 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2509 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2511 PyObject
* obj0
= 0 ;
2513 (char *) "self", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2535 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2539 PyObject
* obj0
= 0 ;
2541 (char *) "self", NULL
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2549 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2551 wxPyEndAllowThreads(__tstate
);
2552 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2563 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2566 wxVisualAttributes result
;
2567 PyObject
* obj0
= 0 ;
2569 (char *) "variant", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2574 arg1
= (int)SWIG_As_int(obj0
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 if (!wxPyCheckForApp()) SWIG_fail
;
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2586 wxVisualAttributes
* resultptr
;
2587 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2596 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2599 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2601 return Py_BuildValue((char *)"");
2603 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2604 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2609 static PyObject
*_wrap_ChoiceNameStr_get() {
2614 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2616 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2623 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxWindow
*arg1
= (wxWindow
*) 0 ;
2626 int arg2
= (int) -1 ;
2627 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2628 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2629 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2630 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2631 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2632 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2633 long arg6
= (long) 0 ;
2634 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2635 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2636 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2637 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2641 bool temp5
= false ;
2642 bool temp8
= false ;
2643 PyObject
* obj0
= 0 ;
2644 PyObject
* obj1
= 0 ;
2645 PyObject
* obj2
= 0 ;
2646 PyObject
* obj3
= 0 ;
2647 PyObject
* obj4
= 0 ;
2648 PyObject
* obj5
= 0 ;
2649 PyObject
* obj6
= 0 ;
2650 PyObject
* obj7
= 0 ;
2652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2659 arg2
= (int)SWIG_As_int(obj1
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2671 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2676 if (! PySequence_Check(obj4
)) {
2677 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2680 arg5
= new wxArrayString
;
2682 int i
, len
=PySequence_Length(obj4
);
2683 for (i
=0; i
<len
; i
++) {
2684 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2686 PyObject
* str
= PyObject_Unicode(item
);
2688 PyObject
* str
= PyObject_Str(item
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2691 arg5
->Add(Py2wxString(str
));
2698 arg6
= (long)SWIG_As_long(obj5
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2706 PyErr_SetString(PyExc_TypeError
,"null reference");
2712 arg8
= wxString_in_helper(obj7
);
2713 if (arg8
== NULL
) SWIG_fail
;
2718 if (!wxPyCheckForApp()) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2727 if (temp5
) delete arg5
;
2736 if (temp5
) delete arg5
;
2746 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2755 if (!wxPyCheckForApp()) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= (wxChoice
*)new wxChoice();
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2769 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxChoice
*arg1
= (wxChoice
*) 0 ;
2772 wxWindow
*arg2
= (wxWindow
*) 0 ;
2773 int arg3
= (int) -1 ;
2774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2778 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2779 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2780 long arg7
= (long) 0 ;
2781 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2782 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2783 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2784 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2788 bool temp6
= false ;
2789 bool temp9
= false ;
2790 PyObject
* obj0
= 0 ;
2791 PyObject
* obj1
= 0 ;
2792 PyObject
* obj2
= 0 ;
2793 PyObject
* obj3
= 0 ;
2794 PyObject
* obj4
= 0 ;
2795 PyObject
* obj5
= 0 ;
2796 PyObject
* obj6
= 0 ;
2797 PyObject
* obj7
= 0 ;
2798 PyObject
* obj8
= 0 ;
2800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 arg3
= (int)SWIG_As_int(obj2
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2826 if (! PySequence_Check(obj5
)) {
2827 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2830 arg6
= new wxArrayString
;
2832 int i
, len
=PySequence_Length(obj5
);
2833 for (i
=0; i
<len
; i
++) {
2834 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2836 PyObject
* str
= PyObject_Unicode(item
);
2838 PyObject
* str
= PyObject_Str(item
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2841 arg6
->Add(Py2wxString(str
));
2848 arg7
= (long)SWIG_As_long(obj6
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2856 PyErr_SetString(PyExc_TypeError
,"null reference");
2862 arg9
= wxString_in_helper(obj8
);
2863 if (arg9
== NULL
) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2878 if (temp6
) delete arg6
;
2887 if (temp6
) delete arg6
;
2897 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxChoice
*arg1
= (wxChoice
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2902 PyObject
* obj1
= 0 ;
2904 (char *) "self",(char *) "n", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2910 arg2
= (int)SWIG_As_int(obj1
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 (arg1
)->SetSelection(arg2
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 Py_INCREF(Py_None
); resultobj
= Py_None
;
2926 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2928 wxChoice
*arg1
= (wxChoice
*) 0 ;
2929 wxString
*arg2
= 0 ;
2931 bool temp2
= false ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "string", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2942 arg2
= wxString_in_helper(obj1
);
2943 if (arg2
== NULL
) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2970 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxChoice
*arg1
= (wxChoice
*) 0 ;
2974 wxString
*arg3
= 0 ;
2975 bool temp3
= false ;
2976 PyObject
* obj0
= 0 ;
2977 PyObject
* obj1
= 0 ;
2978 PyObject
* obj2
= 0 ;
2980 (char *) "self",(char *) "n",(char *) "string", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2986 arg2
= (int)SWIG_As_int(obj1
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2989 arg3
= wxString_in_helper(obj2
);
2990 if (arg3
== NULL
) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 Py_INCREF(Py_None
); resultobj
= Py_None
;
3015 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
*resultobj
;
3017 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3018 wxVisualAttributes result
;
3019 PyObject
* obj0
= 0 ;
3021 (char *) "variant", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3026 arg1
= (int)SWIG_As_int(obj0
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3038 wxVisualAttributes
* resultptr
;
3039 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3048 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3051 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3053 return Py_BuildValue((char *)"");
3055 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3056 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3061 static PyObject
*_wrap_ComboBoxNameStr_get() {
3066 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3068 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3075 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxWindow
*arg1
= (wxWindow
*) 0 ;
3078 int arg2
= (int) -1 ;
3079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3081 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3082 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3083 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3084 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3085 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3086 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3087 long arg7
= (long) 0 ;
3088 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3089 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3090 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3091 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3093 bool temp3
= false ;
3096 bool temp6
= false ;
3097 bool temp9
= false ;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3100 PyObject
* obj2
= 0 ;
3101 PyObject
* obj3
= 0 ;
3102 PyObject
* obj4
= 0 ;
3103 PyObject
* obj5
= 0 ;
3104 PyObject
* obj6
= 0 ;
3105 PyObject
* obj7
= 0 ;
3106 PyObject
* obj8
= 0 ;
3108 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3115 arg2
= (int)SWIG_As_int(obj1
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3120 arg3
= wxString_in_helper(obj2
);
3121 if (arg3
== NULL
) SWIG_fail
;
3128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3139 if (! PySequence_Check(obj5
)) {
3140 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3143 arg6
= new wxArrayString
;
3145 int i
, len
=PySequence_Length(obj5
);
3146 for (i
=0; i
<len
; i
++) {
3147 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3149 PyObject
* str
= PyObject_Unicode(item
);
3151 PyObject
* str
= PyObject_Str(item
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3154 arg6
->Add(Py2wxString(str
));
3161 arg7
= (long)SWIG_As_long(obj6
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3165 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3169 PyErr_SetString(PyExc_TypeError
,"null reference");
3175 arg9
= wxString_in_helper(obj8
);
3176 if (arg9
== NULL
) SWIG_fail
;
3181 if (!wxPyCheckForApp()) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 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
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3194 if (temp6
) delete arg6
;
3207 if (temp6
) delete arg6
;
3217 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
*resultobj
;
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3226 if (!wxPyCheckForApp()) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (wxComboBox
*)new wxComboBox();
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3240 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 wxWindow
*arg2
= (wxWindow
*) 0 ;
3244 int arg3
= (int) -1 ;
3245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3247 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3248 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3249 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3250 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3251 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3252 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3253 long arg8
= (long) 0 ;
3254 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3255 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3256 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3257 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3259 bool temp4
= false ;
3262 bool temp7
= false ;
3263 bool temp10
= false ;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3266 PyObject
* obj2
= 0 ;
3267 PyObject
* obj3
= 0 ;
3268 PyObject
* obj4
= 0 ;
3269 PyObject
* obj5
= 0 ;
3270 PyObject
* obj6
= 0 ;
3271 PyObject
* obj7
= 0 ;
3272 PyObject
* obj8
= 0 ;
3273 PyObject
* obj9
= 0 ;
3275 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3284 arg3
= (int)SWIG_As_int(obj2
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3289 arg4
= wxString_in_helper(obj3
);
3290 if (arg4
== NULL
) SWIG_fail
;
3297 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3303 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3308 if (! PySequence_Check(obj6
)) {
3309 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3312 arg7
= new wxArrayString
;
3314 int i
, len
=PySequence_Length(obj6
);
3315 for (i
=0; i
<len
; i
++) {
3316 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3318 PyObject
* str
= PyObject_Unicode(item
);
3320 PyObject
* str
= PyObject_Str(item
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3323 arg7
->Add(Py2wxString(str
));
3330 arg8
= (long)SWIG_As_long(obj7
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3338 PyErr_SetString(PyExc_TypeError
,"null reference");
3344 arg10
= wxString_in_helper(obj9
);
3345 if (arg10
== NULL
) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 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
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3364 if (temp7
) delete arg7
;
3377 if (temp7
) delete arg7
;
3387 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3393 (char *) "self", NULL
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= ((wxComboBox
const *)arg1
)->GetValue();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3419 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
*resultobj
;
3421 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3422 wxString
*arg2
= 0 ;
3423 bool temp2
= false ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "value", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3434 arg2
= wxString_in_helper(obj1
);
3435 if (arg2
== NULL
) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 (arg1
)->SetValue((wxString
const &)*arg2
);
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3460 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3465 (char *) "self", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3488 PyObject
* obj0
= 0 ;
3490 (char *) "self", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 wxPyEndAllowThreads(__tstate
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 Py_INCREF(Py_None
); resultobj
= Py_None
;
3510 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
*resultobj
;
3512 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3513 PyObject
* obj0
= 0 ;
3515 (char *) "self", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 Py_INCREF(Py_None
); resultobj
= Py_None
;
3535 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3537 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "pos", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 arg2
= (long)SWIG_As_long(obj1
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->SetInsertionPoint(arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 resultobj
= SWIG_From_long((long)result
);
3590 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3594 PyObject
* obj0
= 0 ;
3596 (char *) "self", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= SWIG_From_long((long)result
);
3616 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3621 wxString
*arg4
= 0 ;
3622 bool temp4
= false ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3625 PyObject
* obj2
= 0 ;
3626 PyObject
* obj3
= 0 ;
3628 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3634 arg2
= (long)SWIG_As_long(obj1
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3636 arg3
= (long)SWIG_As_long(obj2
);
3637 if (PyErr_Occurred()) SWIG_fail
;
3639 arg4
= wxString_in_helper(obj3
);
3640 if (arg4
== NULL
) SWIG_fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3665 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3667 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3670 PyObject
* obj1
= 0 ;
3672 (char *) "self",(char *) "n", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 arg2
= (int)SWIG_As_int(obj1
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 (arg1
)->SetSelection(arg2
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 Py_INCREF(Py_None
); resultobj
= Py_None
;
3694 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3701 PyObject
* obj2
= 0 ;
3703 (char *) "self",(char *) "from",(char *) "to", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3709 arg2
= (long)SWIG_As_long(obj1
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3711 arg3
= (long)SWIG_As_long(obj2
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 (arg1
)->SetSelection(arg2
,arg3
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 Py_INCREF(Py_None
); resultobj
= Py_None
;
3727 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3730 wxString
*arg2
= 0 ;
3732 bool temp2
= false ;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3736 (char *) "self",(char *) "string", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3743 arg2
= wxString_in_helper(obj1
);
3744 if (arg2
== NULL
) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3771 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3775 wxString
*arg3
= 0 ;
3776 bool temp3
= false ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3779 PyObject
* obj2
= 0 ;
3781 (char *) "self",(char *) "n",(char *) "string", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 arg2
= (int)SWIG_As_int(obj1
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3790 arg3
= wxString_in_helper(obj2
);
3791 if (arg3
== NULL
) SWIG_fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3821 PyObject
* obj1
= 0 ;
3823 (char *) "self",(char *) "editable", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 arg2
= (bool)SWIG_As_bool(obj1
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 (arg1
)->SetEditable(arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3845 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 (arg1
)->SetInsertionPointEnd();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 Py_INCREF(Py_None
); resultobj
= Py_None
;
3870 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3877 PyObject
* obj2
= 0 ;
3879 (char *) "self",(char *) "from",(char *) "to", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (long)SWIG_As_long(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3887 arg3
= (long)SWIG_As_long(obj2
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->Remove(arg2
,arg3
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3906 wxVisualAttributes result
;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "variant", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3914 arg1
= (int)SWIG_As_int(obj0
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 if (!wxPyCheckForApp()) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3926 wxVisualAttributes
* resultptr
;
3927 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3936 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3939 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3941 return Py_BuildValue((char *)"");
3943 static int _wrap_GaugeNameStr_set(PyObject
*) {
3944 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3949 static PyObject
*_wrap_GaugeNameStr_get() {
3954 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3956 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3963 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxWindow
*arg1
= (wxWindow
*) 0 ;
3966 int arg2
= (int) -1 ;
3967 int arg3
= (int) 100 ;
3968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3972 long arg6
= (long) wxGA_HORIZONTAL
;
3973 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3974 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3975 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3980 bool temp8
= false ;
3981 PyObject
* obj0
= 0 ;
3982 PyObject
* obj1
= 0 ;
3983 PyObject
* obj2
= 0 ;
3984 PyObject
* obj3
= 0 ;
3985 PyObject
* obj4
= 0 ;
3986 PyObject
* obj5
= 0 ;
3987 PyObject
* obj6
= 0 ;
3988 PyObject
* obj7
= 0 ;
3990 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3997 arg2
= (int)SWIG_As_int(obj1
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4001 arg3
= (int)SWIG_As_int(obj2
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4007 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4013 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4017 arg6
= (long)SWIG_As_long(obj5
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4025 PyErr_SetString(PyExc_TypeError
,"null reference");
4031 arg8
= wxString_in_helper(obj7
);
4032 if (arg8
== NULL
) SWIG_fail
;
4037 if (!wxPyCheckForApp()) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4059 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4068 if (!wxPyCheckForApp()) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 result
= (wxGauge
*)new wxGauge();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4082 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4084 wxGauge
*arg1
= (wxGauge
*) 0 ;
4085 wxWindow
*arg2
= (wxWindow
*) 0 ;
4086 int arg3
= (int) -1 ;
4087 int arg4
= (int) 100 ;
4088 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4089 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4090 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4091 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4092 long arg7
= (long) wxGA_HORIZONTAL
;
4093 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4094 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4095 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4096 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4100 bool temp9
= false ;
4101 PyObject
* obj0
= 0 ;
4102 PyObject
* obj1
= 0 ;
4103 PyObject
* obj2
= 0 ;
4104 PyObject
* obj3
= 0 ;
4105 PyObject
* obj4
= 0 ;
4106 PyObject
* obj5
= 0 ;
4107 PyObject
* obj6
= 0 ;
4108 PyObject
* obj7
= 0 ;
4109 PyObject
* obj8
= 0 ;
4111 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4120 arg3
= (int)SWIG_As_int(obj2
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 arg4
= (int)SWIG_As_int(obj3
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4130 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4136 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4140 arg7
= (long)SWIG_As_long(obj6
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4144 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4148 PyErr_SetString(PyExc_TypeError
,"null reference");
4154 arg9
= wxString_in_helper(obj8
);
4155 if (arg9
== NULL
) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4183 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 wxGauge
*arg1
= (wxGauge
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4190 (char *) "self",(char *) "range", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4196 arg2
= (int)SWIG_As_int(obj1
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 (arg1
)->SetRange(arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 Py_INCREF(Py_None
); resultobj
= Py_None
;
4212 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxGauge
*arg1
= (wxGauge
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "self", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_From_int((int)result
);
4238 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxGauge
*arg1
= (wxGauge
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4245 (char *) "self",(char *) "pos", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4251 arg2
= (int)SWIG_As_int(obj1
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->SetValue(arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 Py_INCREF(Py_None
); resultobj
= Py_None
;
4267 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxGauge
*arg1
= (wxGauge
*) 0 ;
4271 PyObject
* obj0
= 0 ;
4273 (char *) "self", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_From_int((int)result
);
4293 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxGauge
*arg1
= (wxGauge
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "self", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4321 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxGauge
*arg1
= (wxGauge
*) 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4328 (char *) "self",(char *) "w", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4334 arg2
= (int)SWIG_As_int(obj1
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 (arg1
)->SetShadowWidth(arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 Py_INCREF(Py_None
); resultobj
= Py_None
;
4350 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxGauge
*arg1
= (wxGauge
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_From_int((int)result
);
4376 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxGauge
*arg1
= (wxGauge
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "w", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 arg2
= (int)SWIG_As_int(obj1
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->SetBezelFace(arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxGauge
*arg1
= (wxGauge
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4411 (char *) "self", NULL
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_From_int((int)result
);
4431 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4434 wxVisualAttributes result
;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "variant", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4442 arg1
= (int)SWIG_As_int(obj0
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 if (!wxPyCheckForApp()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4454 wxVisualAttributes
* resultptr
;
4455 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4464 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4467 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4469 return Py_BuildValue((char *)"");
4471 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4472 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4477 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4482 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4484 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4491 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4492 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4497 static PyObject
*_wrap_StaticBoxNameStr_get() {
4502 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4504 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4511 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4512 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4517 static PyObject
*_wrap_StaticTextNameStr_get() {
4522 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4524 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4531 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxWindow
*arg1
= (wxWindow
*) 0 ;
4534 int arg2
= (int) -1 ;
4535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4541 long arg6
= (long) 0 ;
4542 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4543 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4544 wxStaticBox
*result
;
4545 bool temp3
= false ;
4548 bool temp7
= false ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 PyObject
* obj2
= 0 ;
4552 PyObject
* obj3
= 0 ;
4553 PyObject
* obj4
= 0 ;
4554 PyObject
* obj5
= 0 ;
4555 PyObject
* obj6
= 0 ;
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4564 arg2
= (int)SWIG_As_int(obj1
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4569 arg3
= wxString_in_helper(obj2
);
4570 if (arg3
== NULL
) SWIG_fail
;
4577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4587 arg6
= (long)SWIG_As_long(obj5
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4592 arg7
= wxString_in_helper(obj6
);
4593 if (arg7
== NULL
) SWIG_fail
;
4598 if (!wxPyCheckForApp()) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4628 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
;
4630 wxStaticBox
*result
;
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4637 if (!wxPyCheckForApp()) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (wxStaticBox
*)new wxStaticBox();
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4651 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4654 wxWindow
*arg2
= (wxWindow
*) 0 ;
4655 int arg3
= (int) -1 ;
4656 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4657 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4658 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4659 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4660 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4661 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4662 long arg7
= (long) 0 ;
4663 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4664 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4666 bool temp4
= false ;
4669 bool temp8
= false ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 PyObject
* obj4
= 0 ;
4675 PyObject
* obj5
= 0 ;
4676 PyObject
* obj6
= 0 ;
4677 PyObject
* obj7
= 0 ;
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 arg3
= (int)SWIG_As_int(obj2
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4693 arg4
= wxString_in_helper(obj3
);
4694 if (arg4
== NULL
) SWIG_fail
;
4701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4711 arg7
= (long)SWIG_As_long(obj6
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4716 arg8
= wxString_in_helper(obj7
);
4717 if (arg8
== NULL
) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4753 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4756 wxVisualAttributes result
;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "variant", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4764 arg1
= (int)SWIG_As_int(obj0
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 if (!wxPyCheckForApp()) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 wxVisualAttributes
* resultptr
;
4777 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4786 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4789 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4791 return Py_BuildValue((char *)"");
4793 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxWindow
*arg1
= (wxWindow
*) 0 ;
4796 int arg2
= (int) -1 ;
4797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4801 long arg5
= (long) wxLI_HORIZONTAL
;
4802 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4803 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4804 wxStaticLine
*result
;
4807 bool temp6
= false ;
4808 PyObject
* obj0
= 0 ;
4809 PyObject
* obj1
= 0 ;
4810 PyObject
* obj2
= 0 ;
4811 PyObject
* obj3
= 0 ;
4812 PyObject
* obj4
= 0 ;
4813 PyObject
* obj5
= 0 ;
4815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4822 arg2
= (int)SWIG_As_int(obj1
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4834 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4838 arg5
= (long)SWIG_As_long(obj4
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4843 arg6
= wxString_in_helper(obj5
);
4844 if (arg6
== NULL
) SWIG_fail
;
4849 if (!wxPyCheckForApp()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4871 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxStaticLine
*result
;
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4880 if (!wxPyCheckForApp()) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxStaticLine
*)new wxStaticLine();
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4894 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4897 wxWindow
*arg2
= (wxWindow
*) 0 ;
4898 int arg3
= (int) -1 ;
4899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4903 long arg6
= (long) wxLI_HORIZONTAL
;
4904 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4909 bool temp7
= false ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4912 PyObject
* obj2
= 0 ;
4913 PyObject
* obj3
= 0 ;
4914 PyObject
* obj4
= 0 ;
4915 PyObject
* obj5
= 0 ;
4916 PyObject
* obj6
= 0 ;
4918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 arg3
= (int)SWIG_As_int(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4943 arg6
= (long)SWIG_As_long(obj5
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4948 arg7
= wxString_in_helper(obj6
);
4949 if (arg7
== NULL
) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4981 PyObject
* obj0
= 0 ;
4983 (char *) "self", NULL
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5005 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (int)wxStaticLine::GetDefaultSize();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_From_int((int)result
);
5027 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5030 wxVisualAttributes result
;
5031 PyObject
* obj0
= 0 ;
5033 (char *) "variant", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5038 arg1
= (int)SWIG_As_int(obj0
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 if (!wxPyCheckForApp()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5050 wxVisualAttributes
* resultptr
;
5051 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5060 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5065 return Py_BuildValue((char *)"");
5067 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxWindow
*arg1
= (wxWindow
*) 0 ;
5070 int arg2
= (int) -1 ;
5071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5077 long arg6
= (long) 0 ;
5078 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5079 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5080 wxStaticText
*result
;
5081 bool temp3
= false ;
5084 bool temp7
= false ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 PyObject
* obj2
= 0 ;
5088 PyObject
* obj3
= 0 ;
5089 PyObject
* obj4
= 0 ;
5090 PyObject
* obj5
= 0 ;
5091 PyObject
* obj6
= 0 ;
5093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 arg2
= (int)SWIG_As_int(obj1
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5105 arg3
= wxString_in_helper(obj2
);
5106 if (arg3
== NULL
) SWIG_fail
;
5113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5123 arg6
= (long)SWIG_As_long(obj5
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5128 arg7
= wxString_in_helper(obj6
);
5129 if (arg7
== NULL
) SWIG_fail
;
5134 if (!wxPyCheckForApp()) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5164 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxStaticText
*result
;
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5173 if (!wxPyCheckForApp()) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (wxStaticText
*)new wxStaticText();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5187 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5190 wxWindow
*arg2
= (wxWindow
*) 0 ;
5191 int arg3
= (int) -1 ;
5192 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5194 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5195 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5196 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5197 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5198 long arg7
= (long) 0 ;
5199 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5200 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5202 bool temp4
= false ;
5205 bool temp8
= false ;
5206 PyObject
* obj0
= 0 ;
5207 PyObject
* obj1
= 0 ;
5208 PyObject
* obj2
= 0 ;
5209 PyObject
* obj3
= 0 ;
5210 PyObject
* obj4
= 0 ;
5211 PyObject
* obj5
= 0 ;
5212 PyObject
* obj6
= 0 ;
5213 PyObject
* obj7
= 0 ;
5215 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5224 arg3
= (int)SWIG_As_int(obj2
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5229 arg4
= wxString_in_helper(obj3
);
5230 if (arg4
== NULL
) SWIG_fail
;
5237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5243 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5247 arg7
= (long)SWIG_As_long(obj6
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5252 arg8
= wxString_in_helper(obj7
);
5253 if (arg8
== NULL
) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5292 wxVisualAttributes result
;
5293 PyObject
* obj0
= 0 ;
5295 (char *) "variant", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5300 arg1
= (int)SWIG_As_int(obj0
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 if (!wxPyCheckForApp()) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 wxVisualAttributes
* resultptr
;
5313 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5322 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5325 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5327 return Py_BuildValue((char *)"");
5329 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxWindow
*arg1
= (wxWindow
*) 0 ;
5332 int arg2
= (int) -1 ;
5333 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5334 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5335 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5336 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5337 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5338 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5339 long arg6
= (long) 0 ;
5340 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5341 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5342 wxStaticBitmap
*result
;
5345 bool temp7
= false ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5349 PyObject
* obj3
= 0 ;
5350 PyObject
* obj4
= 0 ;
5351 PyObject
* obj5
= 0 ;
5352 PyObject
* obj6
= 0 ;
5354 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 arg2
= (int)SWIG_As_int(obj1
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5369 PyErr_SetString(PyExc_TypeError
,"null reference");
5376 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5382 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5386 arg6
= (long)SWIG_As_long(obj5
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5391 arg7
= wxString_in_helper(obj6
);
5392 if (arg7
== NULL
) SWIG_fail
;
5397 if (!wxPyCheckForApp()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5419 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxStaticBitmap
*result
;
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5428 if (!wxPyCheckForApp()) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5442 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5445 wxWindow
*arg2
= (wxWindow
*) 0 ;
5446 int arg3
= (int) -1 ;
5447 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5448 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5449 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5450 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5451 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5452 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5453 long arg7
= (long) 0 ;
5454 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5455 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5459 bool temp8
= false ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5462 PyObject
* obj2
= 0 ;
5463 PyObject
* obj3
= 0 ;
5464 PyObject
* obj4
= 0 ;
5465 PyObject
* obj5
= 0 ;
5466 PyObject
* obj6
= 0 ;
5467 PyObject
* obj7
= 0 ;
5469 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5478 arg3
= (int)SWIG_As_int(obj2
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5486 PyErr_SetString(PyExc_TypeError
,"null reference");
5493 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5499 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5503 arg7
= (long)SWIG_As_long(obj6
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5508 arg8
= wxString_in_helper(obj7
);
5509 if (arg8
== NULL
) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5537 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (arg1
)->GetBitmap();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 wxBitmap
* resultptr
;
5558 resultptr
= new wxBitmap((wxBitmap
&) result
);
5559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5567 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
;
5569 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5570 wxBitmap
*arg2
= 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5574 (char *) "self",(char *) "bitmap", NULL
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5584 PyErr_SetString(PyExc_TypeError
,"null reference");
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 Py_INCREF(Py_None
); resultobj
= Py_None
;
5601 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "icon", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5618 PyErr_SetString(PyExc_TypeError
,"null reference");
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5638 wxVisualAttributes result
;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "variant", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5646 arg1
= (int)SWIG_As_int(obj0
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 if (!wxPyCheckForApp()) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 wxVisualAttributes
* resultptr
;
5659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5668 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5671 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5673 return Py_BuildValue((char *)"");
5675 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5676 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5681 static PyObject
*_wrap_ListBoxNameStr_get() {
5686 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5688 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5695 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxWindow
*arg1
= (wxWindow
*) 0 ;
5698 int arg2
= (int) -1 ;
5699 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5700 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5701 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5702 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5703 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5704 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5705 long arg6
= (long) 0 ;
5706 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5707 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5708 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5709 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5713 bool temp5
= false ;
5714 bool temp8
= false ;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5717 PyObject
* obj2
= 0 ;
5718 PyObject
* obj3
= 0 ;
5719 PyObject
* obj4
= 0 ;
5720 PyObject
* obj5
= 0 ;
5721 PyObject
* obj6
= 0 ;
5722 PyObject
* obj7
= 0 ;
5724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 arg2
= (int)SWIG_As_int(obj1
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5748 if (! PySequence_Check(obj4
)) {
5749 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5752 arg5
= new wxArrayString
;
5754 int i
, len
=PySequence_Length(obj4
);
5755 for (i
=0; i
<len
; i
++) {
5756 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5758 PyObject
* str
= PyObject_Unicode(item
);
5760 PyObject
* str
= PyObject_Str(item
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5763 arg5
->Add(Py2wxString(str
));
5770 arg6
= (long)SWIG_As_long(obj5
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5774 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5778 PyErr_SetString(PyExc_TypeError
,"null reference");
5784 arg8
= wxString_in_helper(obj7
);
5785 if (arg8
== NULL
) SWIG_fail
;
5790 if (!wxPyCheckForApp()) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5799 if (temp5
) delete arg5
;
5808 if (temp5
) delete arg5
;
5818 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5827 if (!wxPyCheckForApp()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (wxListBox
*)new wxListBox();
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5841 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxListBox
*arg1
= (wxListBox
*) 0 ;
5844 wxWindow
*arg2
= (wxWindow
*) 0 ;
5845 int arg3
= (int) -1 ;
5846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5850 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5851 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5852 long arg7
= (long) 0 ;
5853 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5854 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5855 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5856 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5860 bool temp6
= false ;
5861 bool temp9
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 PyObject
* obj2
= 0 ;
5865 PyObject
* obj3
= 0 ;
5866 PyObject
* obj4
= 0 ;
5867 PyObject
* obj5
= 0 ;
5868 PyObject
* obj6
= 0 ;
5869 PyObject
* obj7
= 0 ;
5870 PyObject
* obj8
= 0 ;
5872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 arg3
= (int)SWIG_As_int(obj2
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5898 if (! PySequence_Check(obj5
)) {
5899 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5902 arg6
= new wxArrayString
;
5904 int i
, len
=PySequence_Length(obj5
);
5905 for (i
=0; i
<len
; i
++) {
5906 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5908 PyObject
* str
= PyObject_Unicode(item
);
5910 PyObject
* str
= PyObject_Str(item
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5913 arg6
->Add(Py2wxString(str
));
5920 arg7
= (long)SWIG_As_long(obj6
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5928 PyErr_SetString(PyExc_TypeError
,"null reference");
5934 arg9
= wxString_in_helper(obj8
);
5935 if (arg9
== NULL
) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5950 if (temp6
) delete arg6
;
5959 if (temp6
) delete arg6
;
5969 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxListBox
*arg1
= (wxListBox
*) 0 ;
5972 wxString
*arg2
= 0 ;
5974 PyObject
*arg4
= (PyObject
*) NULL
;
5975 bool temp2
= false ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5978 PyObject
* obj2
= 0 ;
5979 PyObject
* obj3
= 0 ;
5981 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg2
= wxString_in_helper(obj1
);
5989 if (arg2
== NULL
) SWIG_fail
;
5992 arg3
= (int)SWIG_As_int(obj2
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxListBox
*arg1
= (wxListBox
*) 0 ;
6022 wxArrayString
*arg2
= 0 ;
6024 bool temp2
= false ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6027 PyObject
* obj2
= 0 ;
6029 (char *) "self",(char *) "items",(char *) "pos", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 if (! PySequence_Check(obj1
)) {
6037 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6040 arg2
= new wxArrayString
;
6042 int i
, len
=PySequence_Length(obj1
);
6043 for (i
=0; i
<len
; i
++) {
6044 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6046 PyObject
* str
= PyObject_Unicode(item
);
6048 PyObject
* str
= PyObject_Str(item
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6051 arg2
->Add(Py2wxString(str
));
6056 arg3
= (int)SWIG_As_int(obj2
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 Py_INCREF(Py_None
); resultobj
= Py_None
;
6067 if (temp2
) delete arg2
;
6072 if (temp2
) delete arg2
;
6078 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxListBox
*arg1
= (wxListBox
*) 0 ;
6081 wxArrayString
*arg2
= 0 ;
6082 bool temp2
= false ;
6083 PyObject
* obj0
= 0 ;
6084 PyObject
* obj1
= 0 ;
6086 (char *) "self",(char *) "items", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 if (! PySequence_Check(obj1
)) {
6094 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6097 arg2
= new wxArrayString
;
6099 int i
, len
=PySequence_Length(obj1
);
6100 for (i
=0; i
<len
; i
++) {
6101 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6103 PyObject
* str
= PyObject_Unicode(item
);
6105 PyObject
* str
= PyObject_Str(item
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6108 arg2
->Add(Py2wxString(str
));
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Set((wxArrayString
const &)*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 Py_INCREF(Py_None
); resultobj
= Py_None
;
6122 if (temp2
) delete arg2
;
6127 if (temp2
) delete arg2
;
6133 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
;
6135 wxListBox
*arg1
= (wxListBox
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "n", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6147 arg2
= (int)SWIG_As_int(obj1
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6165 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxListBox
*arg1
= (wxListBox
*) 0 ;
6169 bool arg3
= (bool) true ;
6170 PyObject
* obj0
= 0 ;
6171 PyObject
* obj1
= 0 ;
6172 PyObject
* obj2
= 0 ;
6174 (char *) "self",(char *) "n",(char *) "select", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 arg2
= (int)SWIG_As_int(obj1
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 arg3
= (bool)SWIG_As_bool(obj2
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 (arg1
)->SetSelection(arg2
,arg3
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 Py_INCREF(Py_None
); resultobj
= Py_None
;
6200 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxListBox
*arg1
= (wxListBox
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6207 (char *) "self",(char *) "n", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 arg2
= (int)SWIG_As_int(obj1
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 (arg1
)->Select(arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxListBox
*arg1
= (wxListBox
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "n", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6242 arg2
= (int)SWIG_As_int(obj1
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->Deselect(arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6258 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxListBox
*arg1
= (wxListBox
*) 0 ;
6261 int arg2
= (int) -1 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6265 (char *) "self",(char *) "itemToLeaveSelected", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 arg2
= (int)SWIG_As_int(obj1
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 (arg1
)->DeselectAll(arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6282 Py_INCREF(Py_None
); resultobj
= Py_None
;
6289 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxListBox
*arg1
= (wxListBox
*) 0 ;
6292 wxString
*arg2
= 0 ;
6293 bool arg3
= (bool) true ;
6295 bool temp2
= false ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6300 (char *) "self",(char *) "s",(char *) "select", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 arg2
= wxString_in_helper(obj1
);
6308 if (arg2
== NULL
) SWIG_fail
;
6312 arg3
= (bool)SWIG_As_bool(obj2
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxListBox
*arg1
= (wxListBox
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6365 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxListBox
*arg1
= (wxListBox
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6372 (char *) "self",(char *) "n", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 arg2
= (int)SWIG_As_int(obj1
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 (arg1
)->SetFirstItem(arg2
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 Py_INCREF(Py_None
); resultobj
= Py_None
;
6394 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxListBox
*arg1
= (wxListBox
*) 0 ;
6397 wxString
*arg2
= 0 ;
6398 bool temp2
= false ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 (char *) "self",(char *) "s", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6409 arg2
= wxString_in_helper(obj1
);
6410 if (arg2
== NULL
) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxListBox
*arg1
= (wxListBox
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "self",(char *) "n", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= (int)SWIG_As_int(obj1
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->EnsureVisible(arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxListBox
*arg1
= (wxListBox
*) 0 ;
6467 wxString
*arg2
= 0 ;
6468 bool temp2
= false ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "s", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= wxString_in_helper(obj1
);
6480 if (arg2
== NULL
) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxListBox
*arg1
= (wxListBox
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "self", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6533 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxListBox
*arg1
= (wxListBox
*) 0 ;
6537 wxColour
*arg3
= 0 ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 PyObject
* obj2
= 0 ;
6543 (char *) "self",(char *) "item",(char *) "c", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 arg2
= (int)SWIG_As_int(obj1
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxListBox
*arg1
= (wxListBox
*) 0 ;
6573 wxColour
*arg3
= 0 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6579 (char *) "self",(char *) "item",(char *) "c", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6585 arg2
= (int)SWIG_As_int(obj1
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxListBox
*arg1
= (wxListBox
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 PyObject
* obj2
= 0 ;
6614 (char *) "self",(char *) "item",(char *) "f", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 arg2
= (int)SWIG_As_int(obj1
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6626 PyErr_SetString(PyExc_TypeError
,"null reference");
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6643 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6646 wxVisualAttributes result
;
6647 PyObject
* obj0
= 0 ;
6649 (char *) "variant", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6654 arg1
= (int)SWIG_As_int(obj0
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 if (!wxPyCheckForApp()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 wxVisualAttributes
* resultptr
;
6667 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6668 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6676 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6681 return Py_BuildValue((char *)"");
6683 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxWindow
*arg1
= (wxWindow
*) 0 ;
6686 int arg2
= (int) -1 ;
6687 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6688 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6689 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6690 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6691 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6692 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6693 long arg6
= (long) 0 ;
6694 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6695 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6696 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6697 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6698 wxCheckListBox
*result
;
6701 bool temp5
= false ;
6702 bool temp8
= false ;
6703 PyObject
* obj0
= 0 ;
6704 PyObject
* obj1
= 0 ;
6705 PyObject
* obj2
= 0 ;
6706 PyObject
* obj3
= 0 ;
6707 PyObject
* obj4
= 0 ;
6708 PyObject
* obj5
= 0 ;
6709 PyObject
* obj6
= 0 ;
6710 PyObject
* obj7
= 0 ;
6712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6719 arg2
= (int)SWIG_As_int(obj1
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6731 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6736 if (! PySequence_Check(obj4
)) {
6737 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6740 arg5
= new wxArrayString
;
6742 int i
, len
=PySequence_Length(obj4
);
6743 for (i
=0; i
<len
; i
++) {
6744 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6746 PyObject
* str
= PyObject_Unicode(item
);
6748 PyObject
* str
= PyObject_Str(item
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6751 arg5
->Add(Py2wxString(str
));
6758 arg6
= (long)SWIG_As_long(obj5
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6762 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6766 PyErr_SetString(PyExc_TypeError
,"null reference");
6772 arg8
= wxString_in_helper(obj7
);
6773 if (arg8
== NULL
) SWIG_fail
;
6778 if (!wxPyCheckForApp()) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6787 if (temp5
) delete arg5
;
6796 if (temp5
) delete arg5
;
6806 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxCheckListBox
*result
;
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6815 if (!wxPyCheckForApp()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (wxCheckListBox
*)new wxCheckListBox();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6829 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6832 wxWindow
*arg2
= (wxWindow
*) 0 ;
6833 int arg3
= (int) -1 ;
6834 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6835 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6836 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6837 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6838 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6839 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6840 long arg7
= (long) 0 ;
6841 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6842 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6843 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6844 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6848 bool temp6
= false ;
6849 bool temp9
= false ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6853 PyObject
* obj3
= 0 ;
6854 PyObject
* obj4
= 0 ;
6855 PyObject
* obj5
= 0 ;
6856 PyObject
* obj6
= 0 ;
6857 PyObject
* obj7
= 0 ;
6858 PyObject
* obj8
= 0 ;
6860 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6869 arg3
= (int)SWIG_As_int(obj2
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6875 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6881 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6886 if (! PySequence_Check(obj5
)) {
6887 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6890 arg6
= new wxArrayString
;
6892 int i
, len
=PySequence_Length(obj5
);
6893 for (i
=0; i
<len
; i
++) {
6894 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6896 PyObject
* str
= PyObject_Unicode(item
);
6898 PyObject
* str
= PyObject_Str(item
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6901 arg6
->Add(Py2wxString(str
));
6908 arg7
= (long)SWIG_As_long(obj6
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6912 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6916 PyErr_SetString(PyExc_TypeError
,"null reference");
6922 arg9
= wxString_in_helper(obj8
);
6923 if (arg9
== NULL
) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6938 if (temp6
) delete arg6
;
6947 if (temp6
) delete arg6
;
6957 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6965 (char *) "self",(char *) "index", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 arg2
= (int)SWIG_As_int(obj1
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (bool)(arg1
)->IsChecked(arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6989 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6993 int arg3
= (int) true ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6996 PyObject
* obj2
= 0 ;
6998 (char *) "self",(char *) "index",(char *) "check", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 arg2
= (int)SWIG_As_int(obj1
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 arg3
= (int)SWIG_As_int(obj2
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->Check(arg2
,arg3
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (int)(arg1
)->GetItemHeight();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_From_int((int)result
);
7050 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7059 (char *) "self",(char *) "pt", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int((int)result
);
7083 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 PyObject
* obj2
= 0 ;
7093 (char *) "self",(char *) "x",(char *) "y", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 arg2
= (int)SWIG_As_int(obj1
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7101 arg3
= (int)SWIG_As_int(obj2
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_From_int((int)result
);
7117 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7120 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7122 return Py_BuildValue((char *)"");
7124 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7125 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7130 static PyObject
*_wrap_TextCtrlNameStr_get() {
7135 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7137 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7144 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxColour
const &arg1_defvalue
= wxNullColour
;
7147 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7148 wxColour
const &arg2_defvalue
= wxNullColour
;
7149 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7150 wxFont
const &arg3_defvalue
= wxNullFont
;
7151 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7152 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 PyObject
* obj2
= 0 ;
7159 PyObject
* obj3
= 0 ;
7161 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7168 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7174 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7178 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7182 PyErr_SetString(PyExc_TypeError
,"null reference");
7187 arg4
= (int)SWIG_As_int(obj3
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7204 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "self", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 Py_INCREF(Py_None
); resultobj
= Py_None
;
7229 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "self", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7257 wxColour
*arg2
= 0 ;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "self",(char *) "colText", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7270 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7289 wxColour
*arg2
= 0 ;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7294 (char *) "self",(char *) "colBack", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7302 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7322 long arg3
= (long) wxTEXT_ATTR_FONT
;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7325 PyObject
* obj2
= 0 ;
7327 (char *) "self",(char *) "font",(char *) "flags", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7337 PyErr_SetString(PyExc_TypeError
,"null reference");
7341 arg3
= (long)SWIG_As_long(obj2
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7365 (char *) "self",(char *) "alignment", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7371 arg2
= (int)SWIG_As_int(obj1
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7387 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7390 wxArrayInt
*arg2
= 0 ;
7391 bool temp2
= false ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "tabs", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7402 if (! PySequence_Check(obj1
)) {
7403 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7406 arg2
= new wxArrayInt
;
7408 int i
, len
=PySequence_Length(obj1
);
7409 for (i
=0; i
<len
; i
++) {
7410 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7411 PyObject
* number
= PyNumber_Int(item
);
7412 arg2
->Add(PyInt_AS_LONG(number
));
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 if (temp2
) delete arg2
;
7431 if (temp2
) delete arg2
;
7437 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7441 int arg3
= (int) 0 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7444 PyObject
* obj2
= 0 ;
7446 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 arg2
= (int)SWIG_As_int(obj1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 arg3
= (int)SWIG_As_int(obj2
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->SetLeftIndent(arg2
,arg3
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_TextAttr_SetRightIndent(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 *) "indent", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",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
= (int)SWIG_As_int(obj1
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetRightIndent(arg2
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7508 (char *) "self",(char *) "flags", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 arg2
= (long)SWIG_As_long(obj1
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 (arg1
)->SetFlags(arg2
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "self", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7558 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
*resultobj
;
7560 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7564 (char *) "self", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7586 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7590 PyObject
* obj0
= 0 ;
7592 (char *) "self", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7614 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "self", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7642 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7670 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7704 (char *) "self", NULL
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7726 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7732 PyObject
* obj1
= 0 ;
7734 (char *) "self",(char *) "flag", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 arg2
= (long)SWIG_As_long(obj1
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_TextAttr_GetTextColour(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_GetTextColour",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
)->GetTextColour();
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_GetBackgroundColour(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_GetBackgroundColour",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 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7803 result
= (wxColour
*) &_result_ref
;
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7816 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7820 PyObject
* obj0
= 0 ;
7822 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7832 result
= (wxFont
*) &_result_ref
;
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 wxFont
* resultptr
= new wxFont(*result
);
7840 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7848 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7854 (char *) "self", NULL
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_From_int((int)result
);
7874 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7890 result
= (wxArrayInt
*) &_result_ref
;
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= PyList_New(0);
7899 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7900 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7901 PyList_Append(resultobj
, val
);
7911 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_From_long((long)result
);
7937 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7941 PyObject
* obj0
= 0 ;
7943 (char *) "self", NULL
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_From_long((long)result
);
7963 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7969 (char *) "self", NULL
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_From_long((long)result
);
7989 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_From_long((long)result
);
8015 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8043 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxTextAttr
*arg1
= 0 ;
8046 wxTextAttr
*arg2
= 0 ;
8047 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8051 PyObject
* obj2
= 0 ;
8053 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8061 PyErr_SetString(PyExc_TypeError
,"null reference");
8064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8068 PyErr_SetString(PyExc_TypeError
,"null reference");
8071 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8081 wxTextAttr
* resultptr
;
8082 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8091 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8096 return Py_BuildValue((char *)"");
8098 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxWindow
*arg1
= (wxWindow
*) 0 ;
8101 int arg2
= (int) -1 ;
8102 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8103 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8104 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8105 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8106 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8107 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8108 long arg6
= (long) 0 ;
8109 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8110 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8111 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8112 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8114 bool temp3
= false ;
8117 bool temp8
= false ;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8120 PyObject
* obj2
= 0 ;
8121 PyObject
* obj3
= 0 ;
8122 PyObject
* obj4
= 0 ;
8123 PyObject
* obj5
= 0 ;
8124 PyObject
* obj6
= 0 ;
8125 PyObject
* obj7
= 0 ;
8127 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 arg2
= (int)SWIG_As_int(obj1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8139 arg3
= wxString_in_helper(obj2
);
8140 if (arg3
== NULL
) SWIG_fail
;
8147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8157 arg6
= (long)SWIG_As_long(obj5
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8161 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8165 PyErr_SetString(PyExc_TypeError
,"null reference");
8171 arg8
= wxString_in_helper(obj7
);
8172 if (arg8
== NULL
) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8207 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8216 if (!wxPyCheckForApp()) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (wxTextCtrl
*)new wxTextCtrl();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8230 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
*resultobj
;
8232 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8233 wxWindow
*arg2
= (wxWindow
*) 0 ;
8234 int arg3
= (int) -1 ;
8235 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8236 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8237 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8238 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8239 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8240 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8241 long arg7
= (long) 0 ;
8242 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8243 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8244 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8245 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8247 bool temp4
= false ;
8250 bool temp9
= false ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8254 PyObject
* obj3
= 0 ;
8255 PyObject
* obj4
= 0 ;
8256 PyObject
* obj5
= 0 ;
8257 PyObject
* obj6
= 0 ;
8258 PyObject
* obj7
= 0 ;
8259 PyObject
* obj8
= 0 ;
8261 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg3
= (int)SWIG_As_int(obj2
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8275 arg4
= wxString_in_helper(obj3
);
8276 if (arg4
== NULL
) SWIG_fail
;
8283 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8289 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8293 arg7
= (long)SWIG_As_long(obj6
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8301 PyErr_SetString(PyExc_TypeError
,"null reference");
8307 arg9
= wxString_in_helper(obj8
);
8308 if (arg9
== NULL
) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8344 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8376 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8379 wxString
*arg2
= 0 ;
8380 bool temp2
= false ;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8384 (char *) "self",(char *) "value", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 arg2
= wxString_in_helper(obj1
);
8392 if (arg2
== NULL
) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 (arg1
)->SetValue((wxString
const &)*arg2
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8425 PyObject
* obj2
= 0 ;
8427 (char *) "self",(char *) "from",(char *) "to", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 arg2
= (long)SWIG_As_long(obj1
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8435 arg3
= (long)SWIG_As_long(obj2
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8457 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 (char *) "self",(char *) "lineNo", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 arg2
= (long)SWIG_As_long(obj1
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_From_int((int)result
);
8487 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "lineNo", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= (long)SWIG_As_long(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8523 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8539 wxPyEndAllowThreads(__tstate
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_From_int((int)result
);
8549 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8577 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8605 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8633 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8639 (char *) "self", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8661 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8664 long *arg2
= (long *) 0 ;
8665 long *arg3
= (long *) 0 ;
8670 PyObject
* obj0
= 0 ;
8672 (char *) "self", NULL
8675 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8676 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8689 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8690 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8691 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8698 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8704 (char *) "self", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8730 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "self", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8760 wxString
*arg4
= 0 ;
8761 bool temp4
= false ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 PyObject
* obj2
= 0 ;
8765 PyObject
* obj3
= 0 ;
8767 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 arg2
= (long)SWIG_As_long(obj1
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8775 arg3
= (long)SWIG_As_long(obj2
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 arg4
= wxString_in_helper(obj3
);
8779 if (arg4
== NULL
) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "self",(char *) "from",(char *) "to", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 arg2
= (long)SWIG_As_long(obj1
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8821 arg3
= (long)SWIG_As_long(obj2
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->Remove(arg2
,arg3
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8840 wxString
*arg2
= 0 ;
8842 bool temp2
= false ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "self",(char *) "file", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 arg2
= wxString_in_helper(obj1
);
8854 if (arg2
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8884 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8885 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8887 bool temp2
= false ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8891 (char *) "self",(char *) "file", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8928 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8933 (char *) "self", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 (arg1
)->MarkDirty();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 Py_INCREF(Py_None
); resultobj
= Py_None
;
8953 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8956 PyObject
* obj0
= 0 ;
8958 (char *) "self", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->DiscardEdits();
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8981 unsigned long arg2
;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8985 (char *) "self",(char *) "len", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 (arg1
)->SetMaxLength(arg2
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9010 wxString
*arg2
= 0 ;
9011 bool temp2
= false ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9015 (char *) "self",(char *) "text", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9022 arg2
= wxString_in_helper(obj1
);
9023 if (arg2
== NULL
) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->WriteText((wxString
const &)*arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9051 wxString
*arg2
= 0 ;
9052 bool temp2
= false ;
9053 PyObject
* obj0
= 0 ;
9054 PyObject
* obj1
= 0 ;
9056 (char *) "self",(char *) "text", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9063 arg2
= wxString_in_helper(obj1
);
9064 if (arg2
== NULL
) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->AppendText((wxString
const &)*arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9092 wxKeyEvent
*arg2
= 0 ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9097 (char *) "self",(char *) "event", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9107 PyErr_SetString(PyExc_TypeError
,"null reference");
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9126 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9131 wxTextAttr
*arg4
= 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9135 PyObject
* obj2
= 0 ;
9136 PyObject
* obj3
= 0 ;
9138 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 arg2
= (long)SWIG_As_long(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9146 arg3
= (long)SWIG_As_long(obj2
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9148 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9152 PyErr_SetString(PyExc_TypeError
,"null reference");
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9175 wxTextAttr
*arg3
= 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 PyObject
* obj2
= 0 ;
9181 (char *) "self",(char *) "position",(char *) "style", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 arg2
= (long)SWIG_As_long(obj1
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9189 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9193 PyErr_SetString(PyExc_TypeError
,"null reference");
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9212 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9215 wxTextAttr
*arg2
= 0 ;
9217 PyObject
* obj0
= 0 ;
9218 PyObject
* obj1
= 0 ;
9220 (char *) "self",(char *) "style", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9230 PyErr_SetString(PyExc_TypeError
,"null reference");
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9249 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9253 PyObject
* obj0
= 0 ;
9255 (char *) "self", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9265 result
= (wxTextAttr
*) &_result_ref
;
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9278 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 PyObject
* obj2
= 0 ;
9288 (char *) "self",(char *) "x",(char *) "y", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9294 arg2
= (long)SWIG_As_long(obj1
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9296 arg3
= (long)SWIG_As_long(obj2
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_From_long((long)result
);
9312 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9316 long *arg3
= (long *) 0 ;
9317 long *arg4
= (long *) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9325 (char *) "self",(char *) "pos", NULL
9328 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9329 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 arg2
= (long)SWIG_As_long(obj1
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9344 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9345 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9346 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9353 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9360 (char *) "self",(char *) "pos", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (long)SWIG_As_long(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->ShowPosition(arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9386 long *arg3
= (long *) 0 ;
9387 long *arg4
= (long *) 0 ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9397 (char *) "self",(char *) "pt", NULL
9400 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9401 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_From_int((int)result
);
9417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9418 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9419 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9420 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9427 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9431 long *arg3
= (long *) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9439 (char *) "self",(char *) "pt", NULL
9442 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_From_int((int)result
);
9458 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9459 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9466 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9484 Py_INCREF(Py_None
); resultobj
= Py_None
;
9491 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9496 (char *) "self", NULL
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9519 PyObject
* obj0
= 0 ;
9521 (char *) "self", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 Py_INCREF(Py_None
); resultobj
= Py_None
;
9541 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
;
9543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9569 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
*resultobj
;
9571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9573 PyObject
* obj0
= 0 ;
9575 (char *) "self", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9603 (char *) "self", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9625 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9653 PyObject
* obj0
= 0 ;
9655 (char *) "self", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 Py_INCREF(Py_None
); resultobj
= Py_None
;
9675 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9681 (char *) "self", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9703 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9709 (char *) "self", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9719 wxPyEndAllowThreads(__tstate
);
9720 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9731 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9738 (char *) "self",(char *) "pos", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9744 arg2
= (long)SWIG_As_long(obj1
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 (arg1
)->SetInsertionPoint(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 Py_INCREF(Py_None
); resultobj
= Py_None
;
9760 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 (arg1
)->SetInsertionPointEnd();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9778 Py_INCREF(Py_None
); resultobj
= Py_None
;
9785 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_From_long((long)result
);
9811 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 resultobj
= SWIG_From_long((long)result
);
9837 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 PyObject
* obj2
= 0 ;
9846 (char *) "self",(char *) "from",(char *) "to", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 arg2
= (long)SWIG_As_long(obj1
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9854 arg3
= (long)SWIG_As_long(obj2
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 (arg1
)->SetSelection(arg2
,arg3
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 Py_INCREF(Py_None
); resultobj
= Py_None
;
9870 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
;
9872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 (arg1
)->SelectAll();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9902 (char *) "self",(char *) "editable", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 arg2
= (bool)SWIG_As_bool(obj1
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 (arg1
)->SetEditable(arg2
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 Py_INCREF(Py_None
); resultobj
= Py_None
;
9924 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9927 wxString
*arg2
= 0 ;
9928 bool temp2
= false ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9932 (char *) "self",(char *) "text", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9939 arg2
= wxString_in_helper(obj1
);
9940 if (arg2
== NULL
) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 Py_INCREF(Py_None
); resultobj
= Py_None
;
9965 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9972 PyObject
* obj1
= 0 ;
9973 PyObject
* obj2
= 0 ;
9975 (char *) "self",(char *) "from",(char *) "to", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9981 arg2
= (long)SWIG_As_long(obj1
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9983 arg3
= (long)SWIG_As_long(obj2
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10005 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10008 wxVisualAttributes result
;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "variant", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10016 arg1
= (int)SWIG_As_int(obj0
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10020 if (!wxPyCheckForApp()) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 wxVisualAttributes
* resultptr
;
10029 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10038 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10043 return Py_BuildValue((char *)"");
10045 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10048 wxMouseEvent
*arg2
= 0 ;
10051 wxTextUrlEvent
*result
;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 PyObject
* obj2
= 0 ;
10055 PyObject
* obj3
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10061 arg1
= (int)SWIG_As_int(obj0
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10066 if (arg2
== NULL
) {
10067 PyErr_SetString(PyExc_TypeError
,"null reference");
10070 arg3
= (long)SWIG_As_long(obj2
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10072 arg4
= (long)SWIG_As_long(obj3
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10088 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10091 wxMouseEvent
*result
;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",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();
10103 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10104 result
= (wxMouseEvent
*) &_result_ref
;
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10117 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_long((long)result
);
10143 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_From_long((long)result
);
10169 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10174 return Py_BuildValue((char *)"");
10176 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10177 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10182 static PyObject
*_wrap_ScrollBarNameStr_get() {
10187 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10189 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10196 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
;
10198 wxWindow
*arg1
= (wxWindow
*) 0 ;
10199 int arg2
= (int) -1 ;
10200 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10201 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10202 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10203 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10204 long arg5
= (long) wxSB_HORIZONTAL
;
10205 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10206 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10207 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10209 wxScrollBar
*result
;
10212 bool temp7
= false ;
10213 PyObject
* obj0
= 0 ;
10214 PyObject
* obj1
= 0 ;
10215 PyObject
* obj2
= 0 ;
10216 PyObject
* obj3
= 0 ;
10217 PyObject
* obj4
= 0 ;
10218 PyObject
* obj5
= 0 ;
10219 PyObject
* obj6
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 arg2
= (int)SWIG_As_int(obj1
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10244 arg5
= (long)SWIG_As_long(obj4
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10248 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10251 if (arg6
== NULL
) {
10252 PyErr_SetString(PyExc_TypeError
,"null reference");
10258 arg7
= wxString_in_helper(obj6
);
10259 if (arg7
== NULL
) SWIG_fail
;
10264 if (!wxPyCheckForApp()) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10286 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
*resultobj
;
10288 wxScrollBar
*result
;
10289 char *kwnames
[] = {
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10295 if (!wxPyCheckForApp()) SWIG_fail
;
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxScrollBar
*)new wxScrollBar();
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10309 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
;
10311 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10312 wxWindow
*arg2
= (wxWindow
*) 0 ;
10313 int arg3
= (int) -1 ;
10314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10318 long arg6
= (long) wxSB_HORIZONTAL
;
10319 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10320 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10321 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10326 bool temp8
= false ;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 PyObject
* obj3
= 0 ;
10331 PyObject
* obj4
= 0 ;
10332 PyObject
* obj5
= 0 ;
10333 PyObject
* obj6
= 0 ;
10334 PyObject
* obj7
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg3
= (int)SWIG_As_int(obj2
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10351 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10357 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10361 arg6
= (long)SWIG_As_long(obj5
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10366 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10368 if (arg7
== NULL
) {
10369 PyErr_SetString(PyExc_TypeError
,"null reference");
10375 arg8
= wxString_in_helper(obj7
);
10376 if (arg8
== NULL
) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10404 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= SWIG_From_int((int)result
);
10430 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= SWIG_From_int((int)result
);
10456 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 resultobj
= SWIG_From_int((int)result
);
10482 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10486 PyObject
* obj0
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_From_int((int)result
);
10508 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10536 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "viewStart", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 arg2
= (int)SWIG_As_int(obj1
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 (arg1
)->SetThumbPosition(arg2
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10572 bool arg6
= (bool) true ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 PyObject
* obj3
= 0 ;
10577 PyObject
* obj4
= 0 ;
10578 PyObject
* obj5
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 arg2
= (int)SWIG_As_int(obj1
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10588 arg3
= (int)SWIG_As_int(obj2
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10590 arg4
= (int)SWIG_As_int(obj3
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10592 arg5
= (int)SWIG_As_int(obj4
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 arg6
= (bool)SWIG_As_bool(obj5
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 Py_INCREF(Py_None
); resultobj
= Py_None
;
10612 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10615 wxVisualAttributes result
;
10616 PyObject
* obj0
= 0 ;
10617 char *kwnames
[] = {
10618 (char *) "variant", NULL
10621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10623 arg1
= (int)SWIG_As_int(obj0
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 if (!wxPyCheckForApp()) SWIG_fail
;
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10635 wxVisualAttributes
* resultptr
;
10636 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10645 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10648 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10650 return Py_BuildValue((char *)"");
10652 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10653 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10658 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10663 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10665 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10672 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10673 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10678 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10683 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10685 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10692 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxWindow
*arg1
= (wxWindow
*) 0 ;
10695 int arg2
= (int) -1 ;
10696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10700 long arg5
= (long) wxSP_HORIZONTAL
;
10701 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10702 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10703 wxSpinButton
*result
;
10706 bool temp6
= false ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 PyObject
* obj2
= 0 ;
10710 PyObject
* obj3
= 0 ;
10711 PyObject
* obj4
= 0 ;
10712 PyObject
* obj5
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10721 arg2
= (int)SWIG_As_int(obj1
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10733 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10737 arg5
= (long)SWIG_As_long(obj4
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10742 arg6
= wxString_in_helper(obj5
);
10743 if (arg6
== NULL
) SWIG_fail
;
10748 if (!wxPyCheckForApp()) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10770 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxSpinButton
*result
;
10773 char *kwnames
[] = {
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10779 if (!wxPyCheckForApp()) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (wxSpinButton
*)new wxSpinButton();
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10793 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10796 wxWindow
*arg2
= (wxWindow
*) 0 ;
10797 int arg3
= (int) -1 ;
10798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10802 long arg6
= (long) wxSP_HORIZONTAL
;
10803 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10808 bool temp7
= false ;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 PyObject
* obj2
= 0 ;
10812 PyObject
* obj3
= 0 ;
10813 PyObject
* obj4
= 0 ;
10814 PyObject
* obj5
= 0 ;
10815 PyObject
* obj6
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 arg3
= (int)SWIG_As_int(obj2
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10842 arg6
= (long)SWIG_As_long(obj5
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10847 arg7
= wxString_in_helper(obj6
);
10848 if (arg7
== NULL
) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10876 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10880 PyObject
* obj0
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_From_int((int)result
);
10902 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_From_int((int)result
);
10928 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_From_int((int)result
);
10954 static PyObject
*_wrap_SpinButton_SetValue(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 *) "val", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",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
)->SetValue(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_SpinButton_SetMin(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 *) "minVal", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",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
)->SetMin(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11016 PyObject
* obj0
= 0 ;
11017 PyObject
* obj1
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self",(char *) "maxVal", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11025 arg2
= (int)SWIG_As_int(obj1
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 (arg1
)->SetMax(arg2
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 Py_INCREF(Py_None
); resultobj
= Py_None
;
11041 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 arg2
= (int)SWIG_As_int(obj1
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11058 arg3
= (int)SWIG_As_int(obj2
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 (arg1
)->SetRange(arg2
,arg3
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 Py_INCREF(Py_None
); resultobj
= Py_None
;
11074 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11078 PyObject
* obj0
= 0 ;
11079 char *kwnames
[] = {
11080 (char *) "self", NULL
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11105 wxVisualAttributes result
;
11106 PyObject
* obj0
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "variant", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11113 arg1
= (int)SWIG_As_int(obj0
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 if (!wxPyCheckForApp()) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 wxVisualAttributes
* resultptr
;
11126 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11135 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11138 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11140 return Py_BuildValue((char *)"");
11142 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxWindow
*arg1
= (wxWindow
*) 0 ;
11145 int arg2
= (int) -1 ;
11146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11152 long arg6
= (long) wxSP_ARROW_KEYS
;
11153 int arg7
= (int) 0 ;
11154 int arg8
= (int) 100 ;
11155 int arg9
= (int) 0 ;
11156 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11157 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11158 wxSpinCtrl
*result
;
11159 bool temp3
= false ;
11162 bool temp10
= false ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 PyObject
* obj2
= 0 ;
11166 PyObject
* obj3
= 0 ;
11167 PyObject
* obj4
= 0 ;
11168 PyObject
* obj5
= 0 ;
11169 PyObject
* obj6
= 0 ;
11170 PyObject
* obj7
= 0 ;
11171 PyObject
* obj8
= 0 ;
11172 PyObject
* obj9
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 arg2
= (int)SWIG_As_int(obj1
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11186 arg3
= wxString_in_helper(obj2
);
11187 if (arg3
== NULL
) SWIG_fail
;
11194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11204 arg6
= (long)SWIG_As_long(obj5
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 arg7
= (int)SWIG_As_int(obj6
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 arg8
= (int)SWIG_As_int(obj7
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11216 arg9
= (int)SWIG_As_int(obj8
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11221 arg10
= wxString_in_helper(obj9
);
11222 if (arg10
== NULL
) SWIG_fail
;
11227 if (!wxPyCheckForApp()) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11257 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxSpinCtrl
*result
;
11260 char *kwnames
[] = {
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11266 if (!wxPyCheckForApp()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11280 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11283 wxWindow
*arg2
= (wxWindow
*) 0 ;
11284 int arg3
= (int) -1 ;
11285 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11286 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11287 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11288 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11289 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11290 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11291 long arg7
= (long) wxSP_ARROW_KEYS
;
11292 int arg8
= (int) 0 ;
11293 int arg9
= (int) 100 ;
11294 int arg10
= (int) 0 ;
11295 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11296 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11298 bool temp4
= false ;
11301 bool temp11
= false ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 PyObject
* obj3
= 0 ;
11306 PyObject
* obj4
= 0 ;
11307 PyObject
* obj5
= 0 ;
11308 PyObject
* obj6
= 0 ;
11309 PyObject
* obj7
= 0 ;
11310 PyObject
* obj8
= 0 ;
11311 PyObject
* obj9
= 0 ;
11312 PyObject
* obj10
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 arg3
= (int)SWIG_As_int(obj2
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11328 arg4
= wxString_in_helper(obj3
);
11329 if (arg4
== NULL
) SWIG_fail
;
11336 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11342 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11346 arg7
= (long)SWIG_As_long(obj6
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 arg8
= (int)SWIG_As_int(obj7
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 arg9
= (int)SWIG_As_int(obj8
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 arg10
= (int)SWIG_As_int(obj9
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11363 arg11
= wxString_in_helper(obj10
);
11364 if (arg11
== NULL
) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11400 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_From_int((int)result
);
11426 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "value", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 arg2
= (int)SWIG_As_int(obj1
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 (arg1
)->SetValue(arg2
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 Py_INCREF(Py_None
); resultobj
= Py_None
;
11455 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11458 wxString
*arg2
= 0 ;
11459 bool temp2
= false ;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "text", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11470 arg2
= wxString_in_helper(obj1
);
11471 if (arg2
== NULL
) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 (arg1
)->SetValue((wxString
const &)*arg2
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 Py_INCREF(Py_None
); resultobj
= Py_None
;
11496 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 arg2
= (int)SWIG_As_int(obj1
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11513 arg3
= (int)SWIG_As_int(obj2
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetRange(arg2
,arg3
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 Py_INCREF(Py_None
); resultobj
= Py_None
;
11529 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_From_int((int)result
);
11555 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_From_int((int)result
);
11581 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "from",(char *) "to", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 arg2
= (long)SWIG_As_long(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11598 arg3
= (long)SWIG_As_long(obj2
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 (arg1
)->SetSelection(arg2
,arg3
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 Py_INCREF(Py_None
); resultobj
= Py_None
;
11614 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11617 wxVisualAttributes result
;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "variant", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11625 arg1
= (int)SWIG_As_int(obj0
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 if (!wxPyCheckForApp()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 wxVisualAttributes
* resultptr
;
11638 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11647 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11650 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11652 return Py_BuildValue((char *)"");
11654 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11657 int arg2
= (int) 0 ;
11658 wxSpinEvent
*result
;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 char *kwnames
[] = {
11662 (char *) "commandType",(char *) "winid", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11667 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 arg2
= (int)SWIG_As_int(obj1
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11676 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11688 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 char *kwnames
[] = {
11694 (char *) "self", NULL
11697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_From_int((int)result
);
11714 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "pos", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= (int)SWIG_As_int(obj1
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->SetPosition(arg2
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11748 return Py_BuildValue((char *)"");
11750 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11751 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11756 static PyObject
*_wrap_RadioBoxNameStr_get() {
11761 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11763 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11770 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11771 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11776 static PyObject
*_wrap_RadioButtonNameStr_get() {
11781 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11783 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11790 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxWindow
*arg1
= (wxWindow
*) 0 ;
11793 int arg2
= (int) -1 ;
11794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11796 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11797 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11798 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11799 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11800 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11801 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11802 int arg7
= (int) 0 ;
11803 long arg8
= (long) wxRA_HORIZONTAL
;
11804 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11805 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11806 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11807 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11808 wxRadioBox
*result
;
11809 bool temp3
= false ;
11812 bool temp6
= false ;
11813 bool temp10
= false ;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 PyObject
* obj2
= 0 ;
11817 PyObject
* obj3
= 0 ;
11818 PyObject
* obj4
= 0 ;
11819 PyObject
* obj5
= 0 ;
11820 PyObject
* obj6
= 0 ;
11821 PyObject
* obj7
= 0 ;
11822 PyObject
* obj8
= 0 ;
11823 PyObject
* obj9
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 arg2
= (int)SWIG_As_int(obj1
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11837 arg3
= wxString_in_helper(obj2
);
11838 if (arg3
== NULL
) SWIG_fail
;
11845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11856 if (! PySequence_Check(obj5
)) {
11857 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11860 arg6
= new wxArrayString
;
11862 int i
, len
=PySequence_Length(obj5
);
11863 for (i
=0; i
<len
; i
++) {
11864 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11866 PyObject
* str
= PyObject_Unicode(item
);
11868 PyObject
* str
= PyObject_Str(item
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11871 arg6
->Add(Py2wxString(str
));
11878 arg7
= (int)SWIG_As_int(obj6
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 arg8
= (long)SWIG_As_long(obj7
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11889 if (arg9
== NULL
) {
11890 PyErr_SetString(PyExc_TypeError
,"null reference");
11896 arg10
= wxString_in_helper(obj9
);
11897 if (arg10
== NULL
) SWIG_fail
;
11902 if (!wxPyCheckForApp()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 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
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11915 if (temp6
) delete arg6
;
11928 if (temp6
) delete arg6
;
11938 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxRadioBox
*result
;
11941 char *kwnames
[] = {
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11947 if (!wxPyCheckForApp()) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxRadioBox
*)new wxRadioBox();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11961 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11964 wxWindow
*arg2
= (wxWindow
*) 0 ;
11965 int arg3
= (int) -1 ;
11966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11972 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11973 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11974 int arg8
= (int) 0 ;
11975 long arg9
= (long) wxRA_HORIZONTAL
;
11976 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11977 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11978 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11979 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11981 bool temp4
= false ;
11984 bool temp7
= false ;
11985 bool temp11
= false ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 PyObject
* obj2
= 0 ;
11989 PyObject
* obj3
= 0 ;
11990 PyObject
* obj4
= 0 ;
11991 PyObject
* obj5
= 0 ;
11992 PyObject
* obj6
= 0 ;
11993 PyObject
* obj7
= 0 ;
11994 PyObject
* obj8
= 0 ;
11995 PyObject
* obj9
= 0 ;
11996 PyObject
* obj10
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 arg3
= (int)SWIG_As_int(obj2
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12012 arg4
= wxString_in_helper(obj3
);
12013 if (arg4
== NULL
) SWIG_fail
;
12020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12031 if (! PySequence_Check(obj6
)) {
12032 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12035 arg7
= new wxArrayString
;
12037 int i
, len
=PySequence_Length(obj6
);
12038 for (i
=0; i
<len
; i
++) {
12039 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12041 PyObject
* str
= PyObject_Unicode(item
);
12043 PyObject
* str
= PyObject_Str(item
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12046 arg7
->Add(Py2wxString(str
));
12053 arg8
= (int)SWIG_As_int(obj7
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 arg9
= (long)SWIG_As_long(obj8
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12064 if (arg10
== NULL
) {
12065 PyErr_SetString(PyExc_TypeError
,"null reference");
12071 arg11
= wxString_in_helper(obj10
);
12072 if (arg11
== NULL
) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 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
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12091 if (temp7
) delete arg7
;
12104 if (temp7
) delete arg7
;
12114 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 PyObject
* obj1
= 0 ;
12120 char *kwnames
[] = {
12121 (char *) "self",(char *) "n", NULL
12124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 arg2
= (int)SWIG_As_int(obj1
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->SetSelection(arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 Py_INCREF(Py_None
); resultobj
= Py_None
;
12143 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_From_int((int)result
);
12169 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12201 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12204 wxString
*arg2
= 0 ;
12206 bool temp2
= false ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self",(char *) "s", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 arg2
= wxString_in_helper(obj1
);
12218 if (arg2
== NULL
) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12245 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 char *kwnames
[] = {
12251 (char *) "self", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_From_int((int)result
);
12271 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12274 wxString
*arg2
= 0 ;
12276 bool temp2
= false ;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "s", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 arg2
= wxString_in_helper(obj1
);
12288 if (arg2
== NULL
) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= SWIG_From_int((int)result
);
12313 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "n", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 arg2
= (int)SWIG_As_int(obj1
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12349 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12353 wxString
*arg3
= 0 ;
12354 bool temp3
= false ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 PyObject
* obj2
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "n",(char *) "label", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 arg2
= (int)SWIG_As_int(obj1
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 arg3
= wxString_in_helper(obj2
);
12369 if (arg3
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12398 bool arg3
= (bool) true ;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self",(char *) "n",(char *) "enable", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 arg2
= (int)SWIG_As_int(obj1
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 arg3
= (bool)SWIG_As_bool(obj2
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->Enable(arg2
,arg3
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12433 bool arg3
= (bool) true ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 PyObject
* obj2
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "n",(char *) "show", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= (int)SWIG_As_int(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 arg3
= (bool)SWIG_As_bool(obj2
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 (arg1
)->Show(arg2
,arg3
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_From_int((int)result
);
12490 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= SWIG_From_int((int)result
);
12516 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 PyObject
* obj2
= 0 ;
12526 PyObject
* obj3
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 arg2
= (int)SWIG_As_int(obj1
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12536 arg3
= (int)SWIG_As_int(obj2
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12538 arg4
= (long)SWIG_As_long(obj3
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_From_int((int)result
);
12554 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12557 wxVisualAttributes result
;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "variant", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12565 arg1
= (int)SWIG_As_int(obj0
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 if (!wxPyCheckForApp()) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12577 wxVisualAttributes
* resultptr
;
12578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12587 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12590 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12592 return Py_BuildValue((char *)"");
12594 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxWindow
*arg1
= (wxWindow
*) 0 ;
12597 int arg2
= (int) -1 ;
12598 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12599 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12604 long arg6
= (long) 0 ;
12605 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12606 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12607 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12609 wxRadioButton
*result
;
12610 bool temp3
= false ;
12613 bool temp8
= false ;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 PyObject
* obj3
= 0 ;
12618 PyObject
* obj4
= 0 ;
12619 PyObject
* obj5
= 0 ;
12620 PyObject
* obj6
= 0 ;
12621 PyObject
* obj7
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 arg2
= (int)SWIG_As_int(obj1
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12635 arg3
= wxString_in_helper(obj2
);
12636 if (arg3
== NULL
) SWIG_fail
;
12643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12653 arg6
= (long)SWIG_As_long(obj5
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12660 if (arg7
== NULL
) {
12661 PyErr_SetString(PyExc_TypeError
,"null reference");
12667 arg8
= wxString_in_helper(obj7
);
12668 if (arg8
== NULL
) SWIG_fail
;
12673 if (!wxPyCheckForApp()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12703 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxRadioButton
*result
;
12706 char *kwnames
[] = {
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12712 if (!wxPyCheckForApp()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 result
= (wxRadioButton
*)new wxRadioButton();
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12726 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12729 wxWindow
*arg2
= (wxWindow
*) 0 ;
12730 int arg3
= (int) -1 ;
12731 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12733 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12734 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12735 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12736 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12737 long arg7
= (long) 0 ;
12738 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12739 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12740 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12741 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12743 bool temp4
= false ;
12746 bool temp9
= false ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 PyObject
* obj2
= 0 ;
12750 PyObject
* obj3
= 0 ;
12751 PyObject
* obj4
= 0 ;
12752 PyObject
* obj5
= 0 ;
12753 PyObject
* obj6
= 0 ;
12754 PyObject
* obj7
= 0 ;
12755 PyObject
* obj8
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 arg3
= (int)SWIG_As_int(obj2
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12771 arg4
= wxString_in_helper(obj3
);
12772 if (arg4
== NULL
) SWIG_fail
;
12779 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12785 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12789 arg7
= (long)SWIG_As_long(obj6
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12796 if (arg8
== NULL
) {
12797 PyErr_SetString(PyExc_TypeError
,"null reference");
12803 arg9
= wxString_in_helper(obj8
);
12804 if (arg9
== NULL
) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12840 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
;
12842 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (bool)(arg1
)->GetValue();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12868 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self",(char *) "value", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 arg2
= (bool)SWIG_As_bool(obj1
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetValue(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12900 wxVisualAttributes result
;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "variant", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12908 arg1
= (int)SWIG_As_int(obj0
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 if (!wxPyCheckForApp()) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12920 wxVisualAttributes
* resultptr
;
12921 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12930 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12933 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12935 return Py_BuildValue((char *)"");
12937 static int _wrap_SliderNameStr_set(PyObject
*) {
12938 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12943 static PyObject
*_wrap_SliderNameStr_get() {
12948 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12950 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12957 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxWindow
*arg1
= (wxWindow
*) 0 ;
12960 int arg2
= (int) -1 ;
12961 int arg3
= (int) 0 ;
12962 int arg4
= (int) 0 ;
12963 int arg5
= (int) 100 ;
12964 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12965 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12966 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12967 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12968 long arg8
= (long) wxSL_HORIZONTAL
;
12969 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12970 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12971 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12972 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12976 bool temp10
= false ;
12977 PyObject
* obj0
= 0 ;
12978 PyObject
* obj1
= 0 ;
12979 PyObject
* obj2
= 0 ;
12980 PyObject
* obj3
= 0 ;
12981 PyObject
* obj4
= 0 ;
12982 PyObject
* obj5
= 0 ;
12983 PyObject
* obj6
= 0 ;
12984 PyObject
* obj7
= 0 ;
12985 PyObject
* obj8
= 0 ;
12986 PyObject
* obj9
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 arg2
= (int)SWIG_As_int(obj1
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 arg3
= (int)SWIG_As_int(obj2
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 arg4
= (int)SWIG_As_int(obj3
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 arg5
= (int)SWIG_As_int(obj4
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13013 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13019 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13023 arg8
= (long)SWIG_As_long(obj7
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13027 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13030 if (arg9
== NULL
) {
13031 PyErr_SetString(PyExc_TypeError
,"null reference");
13037 arg10
= wxString_in_helper(obj9
);
13038 if (arg10
== NULL
) SWIG_fail
;
13043 if (!wxPyCheckForApp()) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13065 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13068 char *kwnames
[] = {
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13074 if (!wxPyCheckForApp()) SWIG_fail
;
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (wxSlider
*)new wxSlider();
13078 wxPyEndAllowThreads(__tstate
);
13079 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13088 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxSlider
*arg1
= (wxSlider
*) 0 ;
13091 wxWindow
*arg2
= (wxWindow
*) 0 ;
13092 int arg3
= (int) -1 ;
13093 int arg4
= (int) 0 ;
13094 int arg5
= (int) 0 ;
13095 int arg6
= (int) 100 ;
13096 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13097 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13098 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13099 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13100 long arg9
= (long) wxSL_HORIZONTAL
;
13101 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13102 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13103 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13104 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13108 bool temp11
= false ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 PyObject
* obj2
= 0 ;
13112 PyObject
* obj3
= 0 ;
13113 PyObject
* obj4
= 0 ;
13114 PyObject
* obj5
= 0 ;
13115 PyObject
* obj6
= 0 ;
13116 PyObject
* obj7
= 0 ;
13117 PyObject
* obj8
= 0 ;
13118 PyObject
* obj9
= 0 ;
13119 PyObject
* obj10
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13130 arg3
= (int)SWIG_As_int(obj2
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 arg4
= (int)SWIG_As_int(obj3
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 arg5
= (int)SWIG_As_int(obj4
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 arg6
= (int)SWIG_As_int(obj5
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13148 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13154 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13158 arg9
= (long)SWIG_As_long(obj8
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13165 if (arg10
== NULL
) {
13166 PyErr_SetString(PyExc_TypeError
,"null reference");
13172 arg11
= wxString_in_helper(obj10
);
13173 if (arg11
== NULL
) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxSlider
*arg1
= (wxSlider
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_From_int((int)result
);
13227 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxSlider
*arg1
= (wxSlider
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "value", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13240 arg2
= (int)SWIG_As_int(obj1
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetValue(arg2
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxSlider
*arg1
= (wxSlider
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int)SWIG_As_int(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13273 arg3
= (int)SWIG_As_int(obj2
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 (arg1
)->SetRange(arg2
,arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxSlider
*arg1
= (wxSlider
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_From_int((int)result
);
13315 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
;
13317 wxSlider
*arg1
= (wxSlider
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_From_int((int)result
);
13341 static PyObject
*_wrap_Slider_SetMin(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 *) "minValue", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",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
)->SetMin(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 Py_INCREF(Py_None
); resultobj
= Py_None
;
13370 static PyObject
*_wrap_Slider_SetMax(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 *) "maxValue", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",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
)->SetMax(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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
)->SetLineSize(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxSlider
*arg1
= (wxSlider
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self",(char *) "pageSize", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 arg2
= (int)SWIG_As_int(obj1
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetPageSize(arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxSlider
*arg1
= (wxSlider
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "self", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= SWIG_From_int((int)result
);
13483 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxSlider
*arg1
= (wxSlider
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= SWIG_From_int((int)result
);
13509 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 PyObject
* obj1
= 0 ;
13515 char *kwnames
[] = {
13516 (char *) "self",(char *) "lenPixels", NULL
13519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 arg2
= (int)SWIG_As_int(obj1
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 (arg1
)->SetThumbLength(arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 Py_INCREF(Py_None
); resultobj
= Py_None
;
13538 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxSlider
*arg1
= (wxSlider
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_From_int((int)result
);
13564 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxSlider
*arg1
= (wxSlider
*) 0 ;
13568 int arg3
= (int) 1 ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 char *kwnames
[] = {
13573 (char *) "self",(char *) "n",(char *) "pos", NULL
13576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13579 arg2
= (int)SWIG_As_int(obj1
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 arg3
= (int)SWIG_As_int(obj2
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 (arg1
)->SetTickFreq(arg2
,arg3
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 Py_INCREF(Py_None
); resultobj
= Py_None
;
13599 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
;
13601 wxSlider
*arg1
= (wxSlider
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_From_int((int)result
);
13625 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxSlider
*arg1
= (wxSlider
*) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->ClearTicks();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxSlider
*arg1
= (wxSlider
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "tickPos", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 arg2
= (int)SWIG_As_int(obj1
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 (arg1
)->SetTick(arg2
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 Py_INCREF(Py_None
); resultobj
= Py_None
;
13679 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxSlider
*arg1
= (wxSlider
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->ClearSel();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 Py_INCREF(Py_None
); resultobj
= Py_None
;
13704 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxSlider
*arg1
= (wxSlider
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_From_int((int)result
);
13730 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxSlider
*arg1
= (wxSlider
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_From_int((int)result
);
13756 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxSlider
*arg1
= (wxSlider
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 PyObject
* obj2
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self",(char *) "min",(char *) "max", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 arg2
= (int)SWIG_As_int(obj1
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13773 arg3
= (int)SWIG_As_int(obj2
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->SetSelection(arg2
,arg3
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 Py_INCREF(Py_None
); resultobj
= Py_None
;
13789 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13792 wxVisualAttributes result
;
13793 PyObject
* obj0
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "variant", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13800 arg1
= (int)SWIG_As_int(obj0
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 if (!wxPyCheckForApp()) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13812 wxVisualAttributes
* resultptr
;
13813 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13822 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13827 return Py_BuildValue((char *)"");
13829 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13835 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13849 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxWindow
*arg1
= (wxWindow
*) 0 ;
13852 int arg2
= (int) -1 ;
13853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13859 long arg6
= (long) 0 ;
13860 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13861 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13862 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13863 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13864 wxToggleButton
*result
;
13865 bool temp3
= false ;
13868 bool temp8
= false ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 PyObject
* obj2
= 0 ;
13872 PyObject
* obj3
= 0 ;
13873 PyObject
* obj4
= 0 ;
13874 PyObject
* obj5
= 0 ;
13875 PyObject
* obj6
= 0 ;
13876 PyObject
* obj7
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 arg2
= (int)SWIG_As_int(obj1
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13890 arg3
= wxString_in_helper(obj2
);
13891 if (arg3
== NULL
) SWIG_fail
;
13898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13908 arg6
= (long)SWIG_As_long(obj5
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13915 if (arg7
== NULL
) {
13916 PyErr_SetString(PyExc_TypeError
,"null reference");
13922 arg8
= wxString_in_helper(obj7
);
13923 if (arg8
== NULL
) SWIG_fail
;
13928 if (!wxPyCheckForApp()) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13958 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxToggleButton
*result
;
13961 char *kwnames
[] = {
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13967 if (!wxPyCheckForApp()) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxToggleButton
*)new wxToggleButton();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13981 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13984 wxWindow
*arg2
= (wxWindow
*) 0 ;
13985 int arg3
= (int) -1 ;
13986 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13987 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13988 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13989 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13990 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13991 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13992 long arg7
= (long) 0 ;
13993 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13994 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13995 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13996 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13998 bool temp4
= false ;
14001 bool temp9
= false ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 PyObject
* obj2
= 0 ;
14005 PyObject
* obj3
= 0 ;
14006 PyObject
* obj4
= 0 ;
14007 PyObject
* obj5
= 0 ;
14008 PyObject
* obj6
= 0 ;
14009 PyObject
* obj7
= 0 ;
14010 PyObject
* obj8
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14021 arg3
= (int)SWIG_As_int(obj2
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14026 arg4
= wxString_in_helper(obj3
);
14027 if (arg4
== NULL
) SWIG_fail
;
14034 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14040 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14044 arg7
= (long)SWIG_As_long(obj6
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14048 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14051 if (arg8
== NULL
) {
14052 PyErr_SetString(PyExc_TypeError
,"null reference");
14058 arg9
= wxString_in_helper(obj8
);
14059 if (arg9
== NULL
) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14095 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "value", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 arg2
= (bool)SWIG_As_bool(obj1
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 (arg1
)->SetValue(arg2
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 Py_INCREF(Py_None
); resultobj
= Py_None
;
14124 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14152 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14155 wxString
*arg2
= 0 ;
14156 bool temp2
= false ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 char *kwnames
[] = {
14160 (char *) "self",(char *) "label", NULL
14163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14167 arg2
= wxString_in_helper(obj1
);
14168 if (arg2
== NULL
) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 (arg1
)->SetLabel((wxString
const &)*arg2
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 Py_INCREF(Py_None
); resultobj
= Py_None
;
14193 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14196 wxVisualAttributes result
;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "variant", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14204 arg1
= (int)SWIG_As_int(obj0
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14208 if (!wxPyCheckForApp()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 wxVisualAttributes
* resultptr
;
14217 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14226 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14229 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14231 return Py_BuildValue((char *)"");
14233 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14234 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14239 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14244 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14246 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14253 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14279 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 PyObject
* obj1
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self",(char *) "n", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14293 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= wxPyMake_wxObject(result
, 0);
14311 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_From_int((int)result
);
14337 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14341 wxString
*arg3
= 0 ;
14343 bool temp3
= false ;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 PyObject
* obj2
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "self",(char *) "n",(char *) "strText", NULL
14351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14354 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 arg3
= wxString_in_helper(obj2
);
14358 if (arg3
== NULL
) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14385 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "n", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14421 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14424 wxImageList
*arg2
= (wxImageList
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "imageList", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetImageList(arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14453 wxImageList
*arg2
= (wxImageList
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self",(char *) "imageList", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14464 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->AssignImageList(arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14482 wxImageList
*result
;
14483 PyObject
* obj0
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= wxPyMake_wxObject(result
, 0);
14507 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self",(char *) "n", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14521 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_From_int((int)result
);
14537 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 PyObject
* obj2
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self",(char *) "n",(char *) "imageId", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14555 arg3
= (int)SWIG_As_int(obj2
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14573 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "size", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 Py_INCREF(Py_None
); resultobj
= Py_None
;
14605 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "sizePage", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 wxSize
* resultptr
;
14633 resultptr
= new wxSize((wxSize
&) result
);
14634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14642 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 PyObject
* obj1
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self",(char *) "n", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)(arg1
)->DeletePage(arg2
);
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 PyObject
* obj1
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self",(char *) "n", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14692 result
= (bool)(arg1
)->RemovePage(arg2
);
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14706 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (bool)(arg1
)->DeleteAllPages();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14734 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14737 wxWindow
*arg2
= (wxWindow
*) 0 ;
14738 wxString
*arg3
= 0 ;
14739 bool arg4
= (bool) false ;
14740 int arg5
= (int) -1 ;
14742 bool temp3
= false ;
14743 PyObject
* obj0
= 0 ;
14744 PyObject
* obj1
= 0 ;
14745 PyObject
* obj2
= 0 ;
14746 PyObject
* obj3
= 0 ;
14747 PyObject
* obj4
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 arg3
= wxString_in_helper(obj2
);
14759 if (arg3
== NULL
) SWIG_fail
;
14763 arg4
= (bool)SWIG_As_bool(obj3
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14767 arg5
= (int)SWIG_As_int(obj4
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14794 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14798 wxWindow
*arg3
= (wxWindow
*) 0 ;
14799 wxString
*arg4
= 0 ;
14800 bool arg5
= (bool) false ;
14801 int arg6
= (int) -1 ;
14803 bool temp4
= false ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 PyObject
* obj2
= 0 ;
14807 PyObject
* obj3
= 0 ;
14808 PyObject
* obj4
= 0 ;
14809 PyObject
* obj5
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14819 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg4
= wxString_in_helper(obj3
);
14823 if (arg4
== NULL
) SWIG_fail
;
14827 arg5
= (bool)SWIG_As_bool(obj4
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14831 arg6
= (int)SWIG_As_int(obj5
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14858 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "n", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (int)(arg1
)->SetSelection(arg2
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_From_int((int)result
);
14888 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14891 bool arg2
= (bool) true ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self",(char *) "forward", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (bool)SWIG_As_bool(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->AdvanceSelection(arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 Py_INCREF(Py_None
); resultobj
= Py_None
;
14919 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
;
14921 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14922 wxVisualAttributes result
;
14923 PyObject
* obj0
= 0 ;
14924 char *kwnames
[] = {
14925 (char *) "variant", NULL
14928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14930 arg1
= (int)SWIG_As_int(obj0
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 if (!wxPyCheckForApp()) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14942 wxVisualAttributes
* resultptr
;
14943 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14952 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14955 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14957 return Py_BuildValue((char *)"");
14959 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14962 int arg2
= (int) 0 ;
14963 int arg3
= (int) -1 ;
14964 int arg4
= (int) -1 ;
14965 wxBookCtrlEvent
*result
;
14966 PyObject
* obj0
= 0 ;
14967 PyObject
* obj1
= 0 ;
14968 PyObject
* obj2
= 0 ;
14969 PyObject
* obj3
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14976 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14980 arg2
= (int)SWIG_As_int(obj1
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 arg3
= (int)SWIG_As_int(obj2
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14988 arg4
= (int)SWIG_As_int(obj3
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15005 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_From_int((int)result
);
15031 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "nSel", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 arg2
= (int)SWIG_As_int(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->SetSelection(arg2
);
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_From_int((int)result
);
15086 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self",(char *) "nOldSel", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15099 arg2
= (int)SWIG_As_int(obj1
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 (arg1
)->SetOldSelection(arg2
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 Py_INCREF(Py_None
); resultobj
= Py_None
;
15115 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15118 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15120 return Py_BuildValue((char *)"");
15122 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxWindow
*arg1
= (wxWindow
*) 0 ;
15125 int arg2
= (int) -1 ;
15126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15130 long arg5
= (long) 0 ;
15131 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15132 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15133 wxNotebook
*result
;
15136 bool temp6
= false ;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 PyObject
* obj2
= 0 ;
15140 PyObject
* obj3
= 0 ;
15141 PyObject
* obj4
= 0 ;
15142 PyObject
* obj5
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 arg2
= (int)SWIG_As_int(obj1
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15157 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15163 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15167 arg5
= (long)SWIG_As_long(obj4
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15172 arg6
= wxString_in_helper(obj5
);
15173 if (arg6
== NULL
) SWIG_fail
;
15178 if (!wxPyCheckForApp()) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15200 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxNotebook
*result
;
15203 char *kwnames
[] = {
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15209 if (!wxPyCheckForApp()) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (wxNotebook
*)new wxNotebook();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15223 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15226 wxWindow
*arg2
= (wxWindow
*) 0 ;
15227 int arg3
= (int) -1 ;
15228 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15229 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15230 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15231 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15232 long arg6
= (long) 0 ;
15233 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15234 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15238 bool temp7
= false ;
15239 PyObject
* obj0
= 0 ;
15240 PyObject
* obj1
= 0 ;
15241 PyObject
* obj2
= 0 ;
15242 PyObject
* obj3
= 0 ;
15243 PyObject
* obj4
= 0 ;
15244 PyObject
* obj5
= 0 ;
15245 PyObject
* obj6
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15256 arg3
= (int)SWIG_As_int(obj2
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15272 arg6
= (long)SWIG_As_long(obj5
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15277 arg7
= wxString_in_helper(obj6
);
15278 if (arg7
== NULL
) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15306 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_int((int)result
);
15332 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "padding", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15369 PyObject
* obj0
= 0 ;
15370 PyObject
* obj1
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self",(char *) "sz", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 Py_INCREF(Py_None
); resultobj
= Py_None
;
15396 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15399 wxPoint
*arg2
= 0 ;
15400 long *arg3
= (long *) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 PyObject
* obj1
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self",(char *) "pt", NULL
15411 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_From_int((int)result
);
15427 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15428 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15435 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
;
15437 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15441 PyObject
* obj0
= 0 ;
15442 PyObject
* obj1
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self",(char *) "sizePage", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 wxSize
* resultptr
;
15463 resultptr
= new wxSize((wxSize
&) result
);
15464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15472 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15475 wxVisualAttributes result
;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "variant", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15483 arg1
= (int)SWIG_As_int(obj0
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15487 if (!wxPyCheckForApp()) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 wxVisualAttributes
* resultptr
;
15496 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15505 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15508 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15510 return Py_BuildValue((char *)"");
15512 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15515 int arg2
= (int) 0 ;
15516 int arg3
= (int) -1 ;
15517 int arg4
= (int) -1 ;
15518 wxNotebookEvent
*result
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 PyObject
* obj3
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15529 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15533 arg2
= (int)SWIG_As_int(obj1
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15537 arg3
= (int)SWIG_As_int(obj2
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15541 arg4
= (int)SWIG_As_int(obj3
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15558 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15561 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15563 return Py_BuildValue((char *)"");
15565 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxWindow
*arg1
= (wxWindow
*) 0 ;
15568 int arg2
= (int) -1 ;
15569 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15570 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15571 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15572 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15573 long arg5
= (long) 0 ;
15574 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15575 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15576 wxListbook
*result
;
15579 bool temp6
= false ;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 PyObject
* obj2
= 0 ;
15583 PyObject
* obj3
= 0 ;
15584 PyObject
* obj4
= 0 ;
15585 PyObject
* obj5
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 arg2
= (int)SWIG_As_int(obj1
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15600 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15606 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15610 arg5
= (long)SWIG_As_long(obj4
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15615 arg6
= wxString_in_helper(obj5
);
15616 if (arg6
== NULL
) SWIG_fail
;
15621 if (!wxPyCheckForApp()) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15643 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxListbook
*result
;
15646 char *kwnames
[] = {
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15652 if (!wxPyCheckForApp()) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (wxListbook
*)new wxListbook();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15666 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxListbook
*arg1
= (wxListbook
*) 0 ;
15669 wxWindow
*arg2
= (wxWindow
*) 0 ;
15670 int arg3
= (int) -1 ;
15671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15675 long arg6
= (long) 0 ;
15676 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15681 bool temp7
= false ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 PyObject
* obj3
= 0 ;
15686 PyObject
* obj4
= 0 ;
15687 PyObject
* obj5
= 0 ;
15688 PyObject
* obj6
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 arg3
= (int)SWIG_As_int(obj2
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15715 arg6
= (long)SWIG_As_long(obj5
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15720 arg7
= wxString_in_helper(obj6
);
15721 if (arg7
== NULL
) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxListbook
*arg1
= (wxListbook
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxListbook
*arg1
= (wxListbook
*) 0 ;
15780 wxListView
*result
;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (wxListView
*)(arg1
)->GetListView();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15803 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15806 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15808 return Py_BuildValue((char *)"");
15810 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15813 int arg2
= (int) 0 ;
15814 int arg3
= (int) -1 ;
15815 int arg4
= (int) -1 ;
15816 wxListbookEvent
*result
;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 PyObject
* obj3
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15827 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15831 arg2
= (int)SWIG_As_int(obj1
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 arg3
= (int)SWIG_As_int(obj2
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15839 arg4
= (int)SWIG_As_int(obj3
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15856 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15861 return Py_BuildValue((char *)"");
15863 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxWindow
*arg1
= (wxWindow
*) 0 ;
15867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15871 long arg5
= (long) 0 ;
15872 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15874 wxChoicebook
*result
;
15877 bool temp6
= false ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 PyObject
* obj2
= 0 ;
15881 PyObject
* obj3
= 0 ;
15882 PyObject
* obj4
= 0 ;
15883 PyObject
* obj5
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15891 arg2
= (int)SWIG_As_int(obj1
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15896 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15902 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15906 arg5
= (long)SWIG_As_long(obj4
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15911 arg6
= wxString_in_helper(obj5
);
15912 if (arg6
== NULL
) SWIG_fail
;
15917 if (!wxPyCheckForApp()) SWIG_fail
;
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15939 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxChoicebook
*result
;
15942 char *kwnames
[] = {
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
15948 if (!wxPyCheckForApp()) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (wxChoicebook
*)new wxChoicebook();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15962 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
15965 wxWindow
*arg2
= (wxWindow
*) 0 ;
15967 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15968 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15969 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15970 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15971 long arg6
= (long) 0 ;
15972 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15973 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15977 bool temp7
= false ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 PyObject
* obj2
= 0 ;
15981 PyObject
* obj3
= 0 ;
15982 PyObject
* obj4
= 0 ;
15983 PyObject
* obj5
= 0 ;
15984 PyObject
* obj6
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 arg3
= (int)SWIG_As_int(obj2
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16009 arg6
= (long)SWIG_As_long(obj5
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16014 arg7
= wxString_in_helper(obj6
);
16015 if (arg7
== NULL
) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16043 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "self", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16071 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16073 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char *kwnames
[] = {
16077 (char *) "self", NULL
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (bool)(arg1
)->DeleteAllPages();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16099 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
;
16108 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16109 int arg2
= (int) 0 ;
16110 int arg3
= (int) -1 ;
16111 int arg4
= (int) -1 ;
16112 wxChoicebookEvent
*result
;
16113 PyObject
* obj0
= 0 ;
16114 PyObject
* obj1
= 0 ;
16115 PyObject
* obj2
= 0 ;
16116 PyObject
* obj3
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16123 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 arg2
= (int)SWIG_As_int(obj1
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16131 arg3
= (int)SWIG_As_int(obj2
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 arg4
= (int)SWIG_As_int(obj3
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16152 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16155 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16157 return Py_BuildValue((char *)"");
16159 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
16162 wxBookCtrlSizer
*result
;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "nb", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16185 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 (arg1
)->RecalcSizes();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 Py_INCREF(Py_None
); resultobj
= Py_None
;
16210 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (arg1
)->CalcMin();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16230 wxSize
* resultptr
;
16231 resultptr
= new wxSize((wxSize
&) result
);
16232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16240 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16242 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16243 wxBookCtrl
*result
;
16244 PyObject
* obj0
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16266 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16271 return Py_BuildValue((char *)"");
16273 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16276 wxNotebookSizer
*result
;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "nb", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16299 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 (arg1
)->RecalcSizes();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= (arg1
)->CalcMin();
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16344 wxSize
* resultptr
;
16345 resultptr
= new wxSize((wxSize
&) result
);
16346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16354 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16357 wxNotebook
*result
;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= wxPyMake_wxObject(result
, 0);
16382 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16387 return Py_BuildValue((char *)"");
16389 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (int)(arg1
)->GetId();
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= SWIG_From_int((int)result
);
16415 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
;
16417 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16419 PyObject
* obj0
= 0 ;
16420 char *kwnames
[] = {
16421 (char *) "self", NULL
16424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (wxControl
*)(arg1
)->GetControl();
16431 wxPyEndAllowThreads(__tstate
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= wxPyMake_wxObject(result
, 0);
16443 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16446 wxToolBarBase
*result
;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= wxPyMake_wxObject(result
, 0);
16471 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (int)(arg1
)->IsButton();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= SWIG_From_int((int)result
);
16497 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (int)(arg1
)->IsControl();
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= SWIG_From_int((int)result
);
16523 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (int)(arg1
)->IsSeparator();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= SWIG_From_int((int)result
);
16549 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (int)(arg1
)->GetStyle();
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_From_int((int)result
);
16575 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (int)(arg1
)->GetKind();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_From_int((int)result
);
16601 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (bool)(arg1
)->IsEnabled();
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16629 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 result
= (bool)(arg1
)->IsToggled();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (bool)(arg1
)->CanBeToggled();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16685 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16701 result
= (wxBitmap
*) &_result_ref
;
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 wxBitmap
* resultptr
= new wxBitmap(*result
);
16709 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16717 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16733 result
= (wxBitmap
*) &_result_ref
;
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 wxBitmap
* resultptr
= new wxBitmap(*result
);
16741 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16749 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (arg1
)->GetBitmap();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 wxBitmap
* resultptr
;
16770 resultptr
= new wxBitmap((wxBitmap
&) result
);
16771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16779 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (arg1
)->GetLabel();
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16811 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (arg1
)->GetShortHelp();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16843 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (arg1
)->GetLongHelp();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16875 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self",(char *) "enable", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 arg2
= (bool)SWIG_As_bool(obj1
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)(arg1
)->Enable(arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16907 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16910 PyObject
* obj0
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self",(char *) "toggle", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16946 arg2
= (bool)SWIG_As_bool(obj1
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)(arg1
)->SetToggle(arg2
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16964 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
;
16966 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16967 wxString
*arg2
= 0 ;
16969 bool temp2
= false ;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self",(char *) "help", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 arg2
= wxString_in_helper(obj1
);
16981 if (arg2
== NULL
) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17008 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17011 wxString
*arg2
= 0 ;
17013 bool temp2
= false ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self",(char *) "help", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 arg2
= wxString_in_helper(obj1
);
17025 if (arg2
== NULL
) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17052 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
;
17054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17055 wxBitmap
*arg2
= 0 ;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "bmp", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17068 if (arg2
== NULL
) {
17069 PyErr_SetString(PyExc_TypeError
,"null reference");
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 Py_INCREF(Py_None
); resultobj
= Py_None
;
17086 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17089 wxBitmap
*arg2
= 0 ;
17090 PyObject
* obj0
= 0 ;
17091 PyObject
* obj1
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self",(char *) "bmp", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17102 if (arg2
== NULL
) {
17103 PyErr_SetString(PyExc_TypeError
,"null reference");
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17113 Py_INCREF(Py_None
); resultobj
= Py_None
;
17120 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17123 wxString
*arg2
= 0 ;
17124 bool temp2
= false ;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self",(char *) "label", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 arg2
= wxString_in_helper(obj1
);
17136 if (arg2
== NULL
) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 (arg1
)->SetLabel((wxString
const &)*arg2
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 Py_INCREF(Py_None
); resultobj
= Py_None
;
17161 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 Py_INCREF(Py_None
); resultobj
= Py_None
;
17186 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17189 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "tbar", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 (arg1
)->Attach(arg2
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 Py_INCREF(Py_None
); resultobj
= Py_None
;
17215 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
;
17241 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17244 PyObject
*arg2
= (PyObject
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self",(char *) "clientData", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 Py_INCREF(Py_None
); resultobj
= Py_None
;
17269 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17272 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17274 return Py_BuildValue((char *)"");
17276 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17280 wxString
*arg3
= 0 ;
17281 wxBitmap
*arg4
= 0 ;
17282 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17283 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17284 int arg6
= (int) wxITEM_NORMAL
;
17285 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17286 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17287 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17289 PyObject
*arg9
= (PyObject
*) NULL
;
17290 wxToolBarToolBase
*result
;
17291 bool temp3
= false ;
17292 bool temp7
= false ;
17293 bool temp8
= false ;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 PyObject
* obj3
= 0 ;
17298 PyObject
* obj4
= 0 ;
17299 PyObject
* obj5
= 0 ;
17300 PyObject
* obj6
= 0 ;
17301 PyObject
* obj7
= 0 ;
17302 PyObject
* obj8
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 arg2
= (int)SWIG_As_int(obj1
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 arg3
= wxString_in_helper(obj2
);
17314 if (arg3
== NULL
) SWIG_fail
;
17317 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17320 if (arg4
== NULL
) {
17321 PyErr_SetString(PyExc_TypeError
,"null reference");
17325 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17328 if (arg5
== NULL
) {
17329 PyErr_SetString(PyExc_TypeError
,"null reference");
17334 arg6
= (int)SWIG_As_int(obj5
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17339 arg7
= wxString_in_helper(obj6
);
17340 if (arg7
== NULL
) SWIG_fail
;
17346 arg8
= wxString_in_helper(obj7
);
17347 if (arg8
== NULL
) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= wxPyMake_wxObject(result
, 0);
17394 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17399 wxString
*arg4
= 0 ;
17400 wxBitmap
*arg5
= 0 ;
17401 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17402 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17403 int arg7
= (int) wxITEM_NORMAL
;
17404 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17405 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17406 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17407 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17408 PyObject
*arg10
= (PyObject
*) NULL
;
17409 wxToolBarToolBase
*result
;
17410 bool temp4
= false ;
17411 bool temp8
= false ;
17412 bool temp9
= false ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 PyObject
* obj2
= 0 ;
17416 PyObject
* obj3
= 0 ;
17417 PyObject
* obj4
= 0 ;
17418 PyObject
* obj5
= 0 ;
17419 PyObject
* obj6
= 0 ;
17420 PyObject
* obj7
= 0 ;
17421 PyObject
* obj8
= 0 ;
17422 PyObject
* obj9
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17432 arg3
= (int)SWIG_As_int(obj2
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 arg4
= wxString_in_helper(obj3
);
17436 if (arg4
== NULL
) SWIG_fail
;
17439 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17442 if (arg5
== NULL
) {
17443 PyErr_SetString(PyExc_TypeError
,"null reference");
17447 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17450 if (arg6
== NULL
) {
17451 PyErr_SetString(PyExc_TypeError
,"null reference");
17456 arg7
= (int)SWIG_As_int(obj6
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17461 arg8
= wxString_in_helper(obj7
);
17462 if (arg8
== NULL
) SWIG_fail
;
17468 arg9
= wxString_in_helper(obj8
);
17469 if (arg9
== NULL
) SWIG_fail
;
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 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
);
17480 wxPyEndAllowThreads(__tstate
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= wxPyMake_wxObject(result
, 0);
17516 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17519 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17520 wxToolBarToolBase
*result
;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char *kwnames
[] = {
17524 (char *) "self",(char *) "tool", NULL
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17540 resultobj
= wxPyMake_wxObject(result
, 0);
17548 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17552 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17553 wxToolBarToolBase
*result
;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 PyObject
* obj2
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "pos",(char *) "tool", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17566 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= wxPyMake_wxObject(result
, 0);
17584 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17587 wxControl
*arg2
= (wxControl
*) 0 ;
17588 wxToolBarToolBase
*result
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 char *kwnames
[] = {
17592 (char *) "self",(char *) "control", NULL
17595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= wxPyMake_wxObject(result
, 0);
17616 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17620 wxControl
*arg3
= (wxControl
*) 0 ;
17621 wxToolBarToolBase
*result
;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "pos",(char *) "control", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17634 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= wxPyMake_wxObject(result
, 0);
17652 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 PyObject
* obj1
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self",(char *) "id", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17666 arg2
= (int)SWIG_As_int(obj1
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= wxPyMake_wxObject(result
, 0);
17684 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17687 wxToolBarToolBase
*result
;
17688 PyObject
* obj0
= 0 ;
17689 char *kwnames
[] = {
17690 (char *) "self", NULL
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= wxPyMake_wxObject(result
, 0);
17712 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17716 wxToolBarToolBase
*result
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self",(char *) "pos", NULL
17723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17726 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= wxPyMake_wxObject(result
, 0);
17744 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17748 wxToolBarToolBase
*result
;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self",(char *) "id", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17758 arg2
= (int)SWIG_As_int(obj1
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= wxPyMake_wxObject(result
, 0);
17776 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "pos", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17808 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self",(char *) "id", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17822 arg2
= (int)SWIG_As_int(obj1
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (bool)(arg1
)->DeleteTool(arg2
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17840 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 char *kwnames
[] = {
17845 (char *) "self", NULL
17848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 (arg1
)->ClearTools();
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (bool)(arg1
)->Realize();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17893 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 PyObject
* obj2
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "id",(char *) "enable", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (int)SWIG_As_int(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17910 arg3
= (bool)SWIG_As_bool(obj2
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 (arg1
)->EnableTool(arg2
,arg3
);
17916 wxPyEndAllowThreads(__tstate
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17919 Py_INCREF(Py_None
); resultobj
= Py_None
;
17926 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 PyObject
* obj1
= 0 ;
17933 PyObject
* obj2
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "id",(char *) "toggle", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17941 arg2
= (int)SWIG_As_int(obj1
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17943 arg3
= (bool)SWIG_As_bool(obj2
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 (arg1
)->ToggleTool(arg2
,arg3
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 char *kwnames
[] = {
17968 (char *) "self",(char *) "id",(char *) "toggle", NULL
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= (int)SWIG_As_int(obj1
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17976 arg3
= (bool)SWIG_As_bool(obj2
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->SetToggle(arg2
,arg3
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17992 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17993 PyObject
*resultobj
;
17994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self",(char *) "id", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 arg2
= (int)SWIG_As_int(obj1
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
;
18022 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18026 PyObject
*arg3
= (PyObject
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "id",(char *) "clientData", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 arg2
= (int)SWIG_As_int(obj1
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "id", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 arg2
= (int)SWIG_As_int(obj1
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_From_int((int)result
);
18084 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
;
18086 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 PyObject
* obj1
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self",(char *) "id", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= (int)SWIG_As_int(obj1
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (bool)(arg1
)->GetToolState(arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18116 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "id", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= (int)SWIG_As_int(obj1
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18148 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18152 wxString
*arg3
= 0 ;
18153 bool temp3
= false ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 PyObject
* obj2
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self",(char *) "id",(char *) "helpString", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18164 arg2
= (int)SWIG_As_int(obj1
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 arg3
= wxString_in_helper(obj2
);
18168 if (arg3
== NULL
) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18193 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "id", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 arg2
= (int)SWIG_As_int(obj1
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= (arg1
)->GetToolShortHelp(arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18229 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18233 wxString
*arg3
= 0 ;
18234 bool temp3
= false ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 PyObject
* obj2
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "id",(char *) "helpString", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (int)SWIG_As_int(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 arg3
= wxString_in_helper(obj2
);
18249 if (arg3
== NULL
) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 Py_INCREF(Py_None
); resultobj
= Py_None
;
18274 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "id", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 arg2
= (int)SWIG_As_int(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 result
= (arg1
)->GetToolLongHelp(arg2
);
18294 wxPyEndAllowThreads(__tstate
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18310 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 PyObject
* obj2
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "x",(char *) "y", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (int)SWIG_As_int(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18327 arg3
= (int)SWIG_As_int(obj2
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 (arg1
)->SetMargins(arg2
,arg3
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18336 Py_INCREF(Py_None
); resultobj
= Py_None
;
18343 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18348 PyObject
* obj0
= 0 ;
18349 PyObject
* obj1
= 0 ;
18350 char *kwnames
[] = {
18351 (char *) "self",(char *) "size", NULL
18354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self",(char *) "packing", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 arg2
= (int)SWIG_As_int(obj1
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->SetToolPacking(arg2
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "separation", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 arg2
= (int)SWIG_As_int(obj1
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 (arg1
)->SetToolSeparation(arg2
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 Py_INCREF(Py_None
); resultobj
= Py_None
;
18433 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (arg1
)->GetToolMargins();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 wxSize
* resultptr
;
18454 resultptr
= new wxSize((wxSize
&) result
);
18455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18463 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (arg1
)->GetMargins();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 wxSize
* resultptr
;
18484 resultptr
= new wxSize((wxSize
&) result
);
18485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18493 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18497 PyObject
* obj0
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (int)(arg1
)->GetToolPacking();
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_From_int((int)result
);
18519 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (int)(arg1
)->GetToolSeparation();
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_From_int((int)result
);
18545 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self",(char *) "nRows", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 arg2
= (int)SWIG_As_int(obj1
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18562 (arg1
)->SetRows(arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 Py_INCREF(Py_None
); resultobj
= Py_None
;
18574 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
;
18576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self",(char *) "rows",(char *) "cols", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 arg2
= (int)SWIG_As_int(obj1
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18591 arg3
= (int)SWIG_As_int(obj2
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 Py_INCREF(Py_None
); resultobj
= Py_None
;
18607 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (int)(arg1
)->GetMaxRows();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_From_int((int)result
);
18633 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18637 PyObject
* obj0
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (int)(arg1
)->GetMaxCols();
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= SWIG_From_int((int)result
);
18659 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18664 PyObject
* obj0
= 0 ;
18665 PyObject
* obj1
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self",(char *) "size", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 Py_INCREF(Py_None
); resultobj
= Py_None
;
18691 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (arg1
)->GetToolBitmapSize();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 wxSize
* resultptr
;
18712 resultptr
= new wxSize((wxSize
&) result
);
18713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18721 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "self", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (arg1
)->GetToolSize();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 wxSize
* resultptr
;
18742 resultptr
= new wxSize((wxSize
&) result
);
18743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18751 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
;
18753 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18756 wxToolBarToolBase
*result
;
18757 PyObject
* obj0
= 0 ;
18758 PyObject
* obj1
= 0 ;
18759 PyObject
* obj2
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self",(char *) "x",(char *) "y", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 arg2
= (int)SWIG_As_int(obj1
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18769 arg3
= (int)SWIG_As_int(obj2
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= wxPyMake_wxObject(result
, 0);
18787 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18791 wxToolBarToolBase
*result
;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "toolid", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 arg2
= (int)SWIG_As_int(obj1
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= wxPyMake_wxObject(result
, 0);
18819 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18820 PyObject
*resultobj
;
18821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18823 PyObject
* obj0
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (bool)(arg1
)->IsVertical();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18847 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18850 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18852 return Py_BuildValue((char *)"");
18854 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxWindow
*arg1
= (wxWindow
*) 0 ;
18857 int arg2
= (int) -1 ;
18858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18862 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18863 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18864 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18868 bool temp6
= false ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 PyObject
* obj3
= 0 ;
18873 PyObject
* obj4
= 0 ;
18874 PyObject
* obj5
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 arg2
= (int)SWIG_As_int(obj1
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18899 arg5
= (long)SWIG_As_long(obj4
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18904 arg6
= wxString_in_helper(obj5
);
18905 if (arg6
== NULL
) SWIG_fail
;
18910 if (!wxPyCheckForApp()) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18932 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18935 char *kwnames
[] = {
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18941 if (!wxPyCheckForApp()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (wxToolBar
*)new wxToolBar();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18955 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18958 wxWindow
*arg2
= (wxWindow
*) 0 ;
18959 int arg3
= (int) -1 ;
18960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18964 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18965 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18970 bool temp7
= false ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 PyObject
* obj2
= 0 ;
18974 PyObject
* obj3
= 0 ;
18975 PyObject
* obj4
= 0 ;
18976 PyObject
* obj5
= 0 ;
18977 PyObject
* obj6
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 arg3
= (int)SWIG_As_int(obj2
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18994 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19000 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19004 arg6
= (long)SWIG_As_long(obj5
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19009 arg7
= wxString_in_helper(obj6
);
19010 if (arg7
== NULL
) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19038 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19043 wxToolBarToolBase
*result
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "x",(char *) "y", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19054 arg2
= (int)SWIG_As_int(obj1
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19056 arg3
= (int)SWIG_As_int(obj2
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= wxPyMake_wxObject(result
, 0);
19074 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19077 wxVisualAttributes result
;
19078 PyObject
* obj0
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "variant", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19085 arg1
= (int)SWIG_As_int(obj0
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 if (!wxPyCheckForApp()) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 wxVisualAttributes
* resultptr
;
19098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19107 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19110 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19112 return Py_BuildValue((char *)"");
19114 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19115 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19120 static PyObject
*_wrap_ListCtrlNameStr_get() {
19125 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19127 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19134 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
;
19136 wxColour
const &arg1_defvalue
= wxNullColour
;
19137 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19138 wxColour
const &arg2_defvalue
= wxNullColour
;
19139 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19140 wxFont
const &arg3_defvalue
= wxNullFont
;
19141 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19142 wxListItemAttr
*result
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 PyObject
* obj2
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19156 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19169 if (arg3
== NULL
) {
19170 PyErr_SetString(PyExc_TypeError
,"null reference");
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19188 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19191 wxColour
*arg2
= 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char *kwnames
[] = {
19196 (char *) "self",(char *) "colText", NULL
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19204 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19223 wxColour
*arg2
= 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "colBack", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19254 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self",(char *) "font", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19268 if (arg2
== NULL
) {
19269 PyErr_SetString(PyExc_TypeError
,"null reference");
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->SetFont((wxFont
const &)*arg2
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (bool)(arg1
)->HasTextColour();
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19314 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
;
19316 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19318 PyObject
* obj0
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (bool)(arg1
)->HasBackgroundColour();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19342 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (bool)(arg1
)->HasFont();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19370 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= (arg1
)->GetTextColour();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 wxColour
* resultptr
;
19391 resultptr
= new wxColour((wxColour
&) result
);
19392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19400 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (arg1
)->GetBackgroundColour();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 wxColour
* resultptr
;
19421 resultptr
= new wxColour((wxColour
&) result
);
19422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19430 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (arg1
)->GetFont();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 wxFont
* resultptr
;
19451 resultptr
= new wxFont((wxFont
&) result
);
19452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19460 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 wxListItemAttr_Destroy(arg1
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19488 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19490 return Py_BuildValue((char *)"");
19492 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxListItem
*result
;
19495 char *kwnames
[] = {
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (wxListItem
*)new wxListItem();
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= wxPyMake_wxObject(result
, 1);
19516 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxListItem
*arg1
= (wxListItem
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 char *kwnames
[] = {
19521 (char *) "self", NULL
19524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 Py_INCREF(Py_None
); resultobj
= Py_None
;
19541 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxListItem
*arg1
= (wxListItem
*) 0 ;
19544 PyObject
* obj0
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 Py_INCREF(Py_None
); resultobj
= Py_None
;
19566 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
;
19568 wxListItem
*arg1
= (wxListItem
*) 0 ;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->ClearAttributes();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListItem
*arg1
= (wxListItem
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "mask", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= (long)SWIG_As_long(obj1
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetMask(arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxListItem
*arg1
= (wxListItem
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "id", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 arg2
= (long)SWIG_As_long(obj1
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->SetId(arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 Py_INCREF(Py_None
); resultobj
= Py_None
;
19649 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListItem
*arg1
= (wxListItem
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "col", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 arg2
= (int)SWIG_As_int(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->SetColumn(arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxListItem
*arg1
= (wxListItem
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "state", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 arg2
= (long)SWIG_As_long(obj1
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetState(arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxListItem
*arg1
= (wxListItem
*) 0 ;
19711 PyObject
* obj0
= 0 ;
19712 PyObject
* obj1
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self",(char *) "stateMask", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19720 arg2
= (long)SWIG_As_long(obj1
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 (arg1
)->SetStateMask(arg2
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 Py_INCREF(Py_None
); resultobj
= Py_None
;
19736 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxListItem
*arg1
= (wxListItem
*) 0 ;
19739 wxString
*arg2
= 0 ;
19740 bool temp2
= false ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "text", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 arg2
= wxString_in_helper(obj1
);
19752 if (arg2
== NULL
) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->SetText((wxString
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19762 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxListItem
*arg1
= (wxListItem
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "image", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 arg2
= (int)SWIG_As_int(obj1
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 (arg1
)->SetImage(arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 Py_INCREF(Py_None
); resultobj
= Py_None
;
19806 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxListItem
*arg1
= (wxListItem
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "data", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 arg2
= (long)SWIG_As_long(obj1
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 (arg1
)->SetData(arg2
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 Py_INCREF(Py_None
); resultobj
= Py_None
;
19835 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxListItem
*arg1
= (wxListItem
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "width", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 arg2
= (int)SWIG_As_int(obj1
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->SetWidth(arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxListItem
*arg1
= (wxListItem
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char *kwnames
[] = {
19871 (char *) "self",(char *) "align", NULL
19874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19877 arg2
= (int)SWIG_As_int(obj1
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 Py_INCREF(Py_None
); resultobj
= Py_None
;
19893 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
;
19895 wxListItem
*arg1
= (wxListItem
*) 0 ;
19896 wxColour
*arg2
= 0 ;
19898 PyObject
* obj0
= 0 ;
19899 PyObject
* obj1
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "colText", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 Py_INCREF(Py_None
); resultobj
= Py_None
;
19925 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxListItem
*arg1
= (wxListItem
*) 0 ;
19928 wxColour
*arg2
= 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "colBack", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxListItem
*arg1
= (wxListItem
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 PyObject
* obj1
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "font", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19973 if (arg2
== NULL
) {
19974 PyErr_SetString(PyExc_TypeError
,"null reference");
19978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19979 (arg1
)->SetFont((wxFont
const &)*arg2
);
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19984 Py_INCREF(Py_None
); resultobj
= Py_None
;
19991 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19992 PyObject
*resultobj
;
19993 wxListItem
*arg1
= (wxListItem
*) 0 ;
19995 PyObject
* obj0
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= (long)(arg1
)->GetMask();
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 resultobj
= SWIG_From_long((long)result
);
20017 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxListItem
*arg1
= (wxListItem
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (long)(arg1
)->GetId();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_From_long((long)result
);
20043 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxListItem
*arg1
= (wxListItem
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 result
= (int)(arg1
)->GetColumn();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= SWIG_From_int((int)result
);
20069 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxListItem
*arg1
= (wxListItem
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (long)(arg1
)->GetState();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_From_long((long)result
);
20095 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxListItem
*arg1
= (wxListItem
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 wxString
const &_result_ref
= (arg1
)->GetText();
20111 result
= (wxString
*) &_result_ref
;
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20121 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20130 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxListItem
*arg1
= (wxListItem
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)(arg1
)->GetImage();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_From_int((int)result
);
20156 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxListItem
*arg1
= (wxListItem
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (long)(arg1
)->GetData();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_From_long((long)result
);
20182 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (int)(arg1
)->GetWidth();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_From_int((int)result
);
20208 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
;
20210 wxListItem
*arg1
= (wxListItem
*) 0 ;
20212 PyObject
* obj0
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (int)(arg1
)->GetAlign();
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_From_int((int)result
);
20234 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxListItem
*arg1
= (wxListItem
*) 0 ;
20237 wxListItemAttr
*result
;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20260 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxListItem
*arg1
= (wxListItem
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)(arg1
)->HasAttributes();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxListItem
*arg1
= (wxListItem
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 char *kwnames
[] = {
20294 (char *) "self", NULL
20297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 wxColour
* resultptr
;
20309 resultptr
= new wxColour((wxColour
&) result
);
20310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20318 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
;
20320 wxListItem
*arg1
= (wxListItem
*) 0 ;
20322 PyObject
* obj0
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 wxColour
* resultptr
;
20339 resultptr
= new wxColour((wxColour
&) result
);
20340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20348 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20350 wxListItem
*arg1
= (wxListItem
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 result
= ((wxListItem
const *)arg1
)->GetFont();
20364 wxPyEndAllowThreads(__tstate
);
20365 if (PyErr_Occurred()) SWIG_fail
;
20368 wxFont
* resultptr
;
20369 resultptr
= new wxFont((wxFont
&) result
);
20370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20378 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxListItem
*arg1
= (wxListItem
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self",(char *) "m_mask", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20391 arg2
= (long)SWIG_As_long(obj1
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20393 if (arg1
) (arg1
)->m_mask
= arg2
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20402 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxListItem
*arg1
= (wxListItem
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 result
= (long) ((arg1
)->m_mask
);
20416 resultobj
= SWIG_From_long((long)result
);
20423 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxListItem
*arg1
= (wxListItem
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self",(char *) "m_itemId", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20436 arg2
= (long)SWIG_As_long(obj1
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20438 if (arg1
) (arg1
)->m_itemId
= arg2
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20447 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
;
20449 wxListItem
*arg1
= (wxListItem
*) 0 ;
20451 PyObject
* obj0
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20459 result
= (long) ((arg1
)->m_itemId
);
20461 resultobj
= SWIG_From_long((long)result
);
20468 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxListItem
*arg1
= (wxListItem
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self",(char *) "m_col", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 arg2
= (int)SWIG_As_int(obj1
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20483 if (arg1
) (arg1
)->m_col
= arg2
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxListItem
*arg1
= (wxListItem
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20504 result
= (int) ((arg1
)->m_col
);
20506 resultobj
= SWIG_From_int((int)result
);
20513 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxListItem
*arg1
= (wxListItem
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self",(char *) "m_state", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20526 arg2
= (long)SWIG_As_long(obj1
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20528 if (arg1
) (arg1
)->m_state
= arg2
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxListItem
*arg1
= (wxListItem
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20549 result
= (long) ((arg1
)->m_state
);
20551 resultobj
= SWIG_From_long((long)result
);
20558 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxListItem
*arg1
= (wxListItem
*) 0 ;
20562 PyObject
* obj0
= 0 ;
20563 PyObject
* obj1
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self",(char *) "m_stateMask", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20571 arg2
= (long)SWIG_As_long(obj1
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20573 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20575 Py_INCREF(Py_None
); resultobj
= Py_None
;
20582 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxListItem
*arg1
= (wxListItem
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 result
= (long) ((arg1
)->m_stateMask
);
20596 resultobj
= SWIG_From_long((long)result
);
20603 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxListItem
*arg1
= (wxListItem
*) 0 ;
20606 wxString
*arg2
= (wxString
*) 0 ;
20607 bool temp2
= false ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self",(char *) "m_text", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 arg2
= wxString_in_helper(obj1
);
20619 if (arg2
== NULL
) SWIG_fail
;
20622 if (arg1
) (arg1
)->m_text
= *arg2
;
20624 Py_INCREF(Py_None
); resultobj
= Py_None
;
20639 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxListItem
*arg1
= (wxListItem
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 result
= (wxString
*)& ((arg1
)->m_text
);
20655 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20657 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20666 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxListItem
*arg1
= (wxListItem
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "m_image", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 arg2
= (int)SWIG_As_int(obj1
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20681 if (arg1
) (arg1
)->m_image
= arg2
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxListItem
*arg1
= (wxListItem
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 result
= (int) ((arg1
)->m_image
);
20704 resultobj
= SWIG_From_int((int)result
);
20711 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxListItem
*arg1
= (wxListItem
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self",(char *) "m_data", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 arg2
= (long)SWIG_As_long(obj1
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20726 if (arg1
) (arg1
)->m_data
= arg2
;
20728 Py_INCREF(Py_None
); resultobj
= Py_None
;
20735 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxListItem
*arg1
= (wxListItem
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20747 result
= (long) ((arg1
)->m_data
);
20749 resultobj
= SWIG_From_long((long)result
);
20756 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxListItem
*arg1
= (wxListItem
*) 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "m_format", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20769 arg2
= (int)SWIG_As_int(obj1
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20771 if (arg1
) (arg1
)->m_format
= arg2
;
20773 Py_INCREF(Py_None
); resultobj
= Py_None
;
20780 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxListItem
*arg1
= (wxListItem
*) 0 ;
20784 PyObject
* obj0
= 0 ;
20785 char *kwnames
[] = {
20786 (char *) "self", NULL
20789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20792 result
= (int) ((arg1
)->m_format
);
20794 resultobj
= SWIG_From_int((int)result
);
20801 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20803 wxListItem
*arg1
= (wxListItem
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self",(char *) "m_width", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 arg2
= (int)SWIG_As_int(obj1
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20816 if (arg1
) (arg1
)->m_width
= arg2
;
20818 Py_INCREF(Py_None
); resultobj
= Py_None
;
20825 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20827 wxListItem
*arg1
= (wxListItem
*) 0 ;
20829 PyObject
* obj0
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "self", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20837 result
= (int) ((arg1
)->m_width
);
20839 resultobj
= SWIG_From_int((int)result
);
20846 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20849 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20851 return Py_BuildValue((char *)"");
20853 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20856 int arg2
= (int) 0 ;
20857 wxListEvent
*result
;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "commandType",(char *) "id", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20866 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 arg2
= (int)SWIG_As_int(obj1
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20887 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
;
20889 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20891 PyObject
* obj0
= 0 ;
20892 PyObject
* obj1
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self",(char *) "m_code", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20900 arg2
= (int)SWIG_As_int(obj1
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20902 if (arg1
) (arg1
)->m_code
= arg2
;
20904 Py_INCREF(Py_None
); resultobj
= Py_None
;
20911 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 result
= (int) ((arg1
)->m_code
);
20925 resultobj
= SWIG_From_int((int)result
);
20932 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self",(char *) "m_oldItemIndex", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20945 arg2
= (long)SWIG_As_long(obj1
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20947 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20949 Py_INCREF(Py_None
); resultobj
= Py_None
;
20956 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 result
= (long) ((arg1
)->m_oldItemIndex
);
20970 resultobj
= SWIG_From_long((long)result
);
20977 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self",(char *) "m_itemIndex", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 arg2
= (long)SWIG_As_long(obj1
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20992 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20994 Py_INCREF(Py_None
); resultobj
= Py_None
;
21001 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21013 result
= (long) ((arg1
)->m_itemIndex
);
21015 resultobj
= SWIG_From_long((long)result
);
21022 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 PyObject
* obj1
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "m_col", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 arg2
= (int)SWIG_As_int(obj1
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21037 if (arg1
) (arg1
)->m_col
= arg2
;
21039 Py_INCREF(Py_None
); resultobj
= Py_None
;
21046 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21058 result
= (int) ((arg1
)->m_col
);
21060 resultobj
= SWIG_From_int((int)result
);
21067 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21070 wxPoint
*arg2
= (wxPoint
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self",(char *) "m_pointDrag", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21082 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21084 Py_INCREF(Py_None
); resultobj
= Py_None
;
21091 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
;
21093 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 char *kwnames
[] = {
21097 (char *) "self", NULL
21100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21103 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21112 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21115 wxListItem
*result
;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 result
= (wxListItem
*)& ((arg1
)->m_item
);
21127 resultobj
= wxPyMake_wxObject(result
, 0);
21135 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (int)(arg1
)->GetKeyCode();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_From_int((int)result
);
21161 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (long)(arg1
)->GetIndex();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_From_long((long)result
);
21187 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (int)(arg1
)->GetColumn();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_From_int((int)result
);
21213 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21217 PyObject
* obj0
= 0 ;
21218 char *kwnames
[] = {
21219 (char *) "self", NULL
21222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= (arg1
)->GetPoint();
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21233 wxPoint
* resultptr
;
21234 resultptr
= new wxPoint((wxPoint
&) result
);
21235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21243 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 wxString
const &_result_ref
= (arg1
)->GetLabel();
21259 result
= (wxString
*) &_result_ref
;
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21269 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21278 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 wxString
const &_result_ref
= (arg1
)->GetText();
21294 result
= (wxString
*) &_result_ref
;
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21313 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (int)(arg1
)->GetImage();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_From_int((int)result
);
21339 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (long)(arg1
)->GetData();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= SWIG_From_long((long)result
);
21365 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (long)(arg1
)->GetMask();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_From_long((long)result
);
21391 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21394 wxListItem
*result
;
21395 PyObject
* obj0
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21407 result
= (wxListItem
*) &_result_ref
;
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21420 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (long)(arg1
)->GetCacheFrom();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 resultobj
= SWIG_From_long((long)result
);
21446 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21447 PyObject
*resultobj
;
21448 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21450 PyObject
* obj0
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (long)(arg1
)->GetCacheTo();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_From_long((long)result
);
21472 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "editCancelled", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 arg2
= (bool)SWIG_As_bool(obj1
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 (arg1
)->SetEditCanceled(arg2
);
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 Py_INCREF(Py_None
); resultobj
= Py_None
;
21529 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21532 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21534 return Py_BuildValue((char *)"");
21536 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxWindow
*arg1
= (wxWindow
*) 0 ;
21539 int arg2
= (int) -1 ;
21540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21544 long arg5
= (long) wxLC_ICON
;
21545 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21546 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21547 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21549 wxPyListCtrl
*result
;
21552 bool temp7
= false ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 PyObject
* obj3
= 0 ;
21557 PyObject
* obj4
= 0 ;
21558 PyObject
* obj5
= 0 ;
21559 PyObject
* obj6
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 arg2
= (int)SWIG_As_int(obj1
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21580 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21584 arg5
= (long)SWIG_As_long(obj4
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21591 if (arg6
== NULL
) {
21592 PyErr_SetString(PyExc_TypeError
,"null reference");
21598 arg7
= wxString_in_helper(obj6
);
21599 if (arg7
== NULL
) SWIG_fail
;
21604 if (!wxPyCheckForApp()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21626 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
;
21628 wxPyListCtrl
*result
;
21629 char *kwnames
[] = {
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21635 if (!wxPyCheckForApp()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21649 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21652 wxWindow
*arg2
= (wxWindow
*) 0 ;
21653 int arg3
= (int) -1 ;
21654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21658 long arg6
= (long) wxLC_ICON
;
21659 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21660 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21661 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21666 bool temp8
= false ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 PyObject
* obj2
= 0 ;
21670 PyObject
* obj3
= 0 ;
21671 PyObject
* obj4
= 0 ;
21672 PyObject
* obj5
= 0 ;
21673 PyObject
* obj6
= 0 ;
21674 PyObject
* obj7
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21685 arg3
= (int)SWIG_As_int(obj2
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21697 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21701 arg6
= (long)SWIG_As_long(obj5
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21708 if (arg7
== NULL
) {
21709 PyErr_SetString(PyExc_TypeError
,"null reference");
21715 arg8
= wxString_in_helper(obj7
);
21716 if (arg8
== NULL
) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21746 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21747 PyObject
*arg2
= (PyObject
*) 0 ;
21748 PyObject
*arg3
= (PyObject
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 PyObject
* obj2
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "self",(char *) "_class", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21778 wxColour
*arg2
= 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "col", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21810 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21813 wxColour
*arg2
= 0 ;
21816 PyObject
* obj0
= 0 ;
21817 PyObject
* obj1
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self",(char *) "col", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21845 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21849 wxListItem
*result
;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "col", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 arg2
= (int)SWIG_As_int(obj1
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= wxPyMake_wxObject(result
, 0);
21877 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21881 wxListItem
*arg3
= 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "col",(char *) "item", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 arg2
= (int)SWIG_As_int(obj1
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21895 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21898 if (arg3
== NULL
) {
21899 PyErr_SetString(PyExc_TypeError
,"null reference");
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21918 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "col", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 arg2
= (int)SWIG_As_int(obj1
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_From_int((int)result
);
21948 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "col",(char *) "width", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 arg2
= (int)SWIG_As_int(obj1
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21966 arg3
= (int)SWIG_As_int(obj2
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21984 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21988 PyObject
* obj0
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= SWIG_From_int((int)result
);
22010 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 wxRect
* resultptr
;
22031 resultptr
= new wxRect((wxRect
&) result
);
22032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22040 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22044 int arg3
= (int) 0 ;
22045 wxListItem
*result
;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 PyObject
* obj2
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "itemId",(char *) "col", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 arg2
= (long)SWIG_As_long(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 arg3
= (int)SWIG_As_int(obj2
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= wxPyMake_wxObject(result
, 0);
22078 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22081 wxListItem
*arg2
= 0 ;
22083 PyObject
* obj0
= 0 ;
22084 PyObject
* obj1
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "info", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22095 if (arg2
== NULL
) {
22096 PyErr_SetString(PyExc_TypeError
,"null reference");
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)(arg1
)->SetItem(*arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22115 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22120 wxString
*arg4
= 0 ;
22121 int arg5
= (int) -1 ;
22123 bool temp4
= false ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 PyObject
* obj3
= 0 ;
22128 PyObject
* obj4
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 arg2
= (long)SWIG_As_long(obj1
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22138 arg3
= (int)SWIG_As_int(obj2
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 arg4
= wxString_in_helper(obj3
);
22142 if (arg4
== NULL
) SWIG_fail
;
22146 arg5
= (int)SWIG_As_int(obj4
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= SWIG_From_long((long)result
);
22171 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 PyObject
* obj2
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 arg2
= (long)SWIG_As_long(obj1
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22189 arg3
= (long)SWIG_As_long(obj2
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_From_int((int)result
);
22205 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 PyObject
* obj2
= 0 ;
22215 PyObject
* obj3
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 arg2
= (long)SWIG_As_long(obj1
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22225 arg3
= (long)SWIG_As_long(obj2
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22227 arg4
= (long)SWIG_As_long(obj3
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22245 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
;
22247 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22250 int arg4
= (int) -1 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22255 PyObject
* obj3
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 arg2
= (long)SWIG_As_long(obj1
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22265 arg3
= (int)SWIG_As_int(obj2
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 arg4
= (int)SWIG_As_int(obj3
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22287 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char *kwnames
[] = {
22295 (char *) "self",(char *) "item", NULL
22298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22301 arg2
= (long)SWIG_As_long(obj1
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22323 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22327 wxString
*arg3
= 0 ;
22328 bool temp3
= false ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "item",(char *) "str", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 arg2
= (long)SWIG_As_long(obj1
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 arg3
= wxString_in_helper(obj2
);
22343 if (arg3
== NULL
) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "item", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 arg2
= (long)SWIG_As_long(obj1
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_From_long((long)result
);
22398 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 PyObject
* obj2
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "item",(char *) "data", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22414 arg2
= (long)SWIG_As_long(obj1
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22416 arg3
= (long)SWIG_As_long(obj2
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22434 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22435 PyObject
*resultobj
;
22436 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self",(char *) "item", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 arg2
= (long)SWIG_As_long(obj1
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 wxPoint
* resultptr
;
22459 resultptr
= new wxPoint((wxPoint
&) result
);
22460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22468 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22472 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 char *kwnames
[] = {
22478 (char *) "self",(char *) "item",(char *) "code", NULL
22481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22484 arg2
= (long)SWIG_As_long(obj1
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 arg3
= (int)SWIG_As_int(obj2
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22498 wxRect
* resultptr
;
22499 resultptr
= new wxRect((wxRect
&) result
);
22500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22508 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22512 wxPoint
*arg3
= 0 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 PyObject
* obj2
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "item",(char *) "pos", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 arg2
= (long)SWIG_As_long(obj1
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22529 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22547 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
;
22549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_From_int((int)result
);
22573 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22577 PyObject
* obj0
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_From_int((int)result
);
22599 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22619 wxSize
* resultptr
;
22620 resultptr
= new wxSize((wxSize
&) result
);
22621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22629 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22633 bool arg3
= (bool) false ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 PyObject
* obj2
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 arg2
= (int)SWIG_As_int(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 arg3
= (bool)SWIG_As_bool(obj2
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->SetItemSpacing(arg2
,arg3
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22668 PyObject
* obj0
= 0 ;
22669 char *kwnames
[] = {
22670 (char *) "self", NULL
22673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_From_int((int)result
);
22690 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 wxColour
* resultptr
;
22711 resultptr
= new wxColour((wxColour
&) result
);
22712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22720 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22723 wxColour
*arg2
= 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "col", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22771 resultobj
= SWIG_From_long((long)result
);
22778 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
;
22780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22782 bool arg3
= (bool) true ;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 PyObject
* obj2
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "style",(char *) "add", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 arg2
= (long)SWIG_As_long(obj1
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 arg3
= (bool)SWIG_As_bool(obj2
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->SetSingleStyle(arg2
,arg3
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 PyObject
* obj1
= 0 ;
22819 char *kwnames
[] = {
22820 (char *) "self",(char *) "style", NULL
22823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 arg2
= (long)SWIG_As_long(obj1
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 (arg1
)->SetWindowStyleFlag(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 Py_INCREF(Py_None
); resultobj
= Py_None
;
22842 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
;
22844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22846 int arg3
= (int) wxLIST_NEXT_ALL
;
22847 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22849 PyObject
* obj0
= 0 ;
22850 PyObject
* obj1
= 0 ;
22851 PyObject
* obj2
= 0 ;
22852 PyObject
* obj3
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 arg2
= (long)SWIG_As_long(obj1
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 arg3
= (int)SWIG_As_int(obj2
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 arg4
= (int)SWIG_As_int(obj3
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_From_long((long)result
);
22884 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
;
22886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22888 wxImageList
*result
;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self",(char *) "which", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22898 arg2
= (int)SWIG_As_int(obj1
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= wxPyMake_wxObject(result
, 0);
22916 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22919 wxImageList
*arg2
= (wxImageList
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 PyObject
* obj2
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "imageList",(char *) "which", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 arg3
= (int)SWIG_As_int(obj2
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 (arg1
)->SetImageList(arg2
,arg3
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22952 wxImageList
*arg2
= (wxImageList
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "imageList",(char *) "which", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22965 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22966 arg3
= (int)SWIG_As_int(obj2
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 (arg1
)->AssignImageList(arg2
,arg3
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 Py_INCREF(Py_None
); resultobj
= Py_None
;
22982 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22986 PyObject
* obj0
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23038 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "item", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 arg2
= (long)SWIG_As_long(obj1
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 (arg1
)->RefreshItem(arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 Py_INCREF(Py_None
); resultobj
= Py_None
;
23067 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23072 PyObject
* obj0
= 0 ;
23073 PyObject
* obj1
= 0 ;
23074 PyObject
* obj2
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 arg2
= (long)SWIG_As_long(obj1
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23084 arg3
= (long)SWIG_As_long(obj2
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->RefreshItems(arg2
,arg3
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 Py_INCREF(Py_None
); resultobj
= Py_None
;
23100 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23103 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "flag", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 arg2
= (int)SWIG_As_int(obj1
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (bool)(arg1
)->Arrange(arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23134 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self",(char *) "item", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23148 arg2
= (long)SWIG_As_long(obj1
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (bool)(arg1
)->DeleteItem(arg2
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23166 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->DeleteAllItems();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "col", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 arg2
= (int)SWIG_As_int(obj1
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23226 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23230 PyObject
* obj0
= 0 ;
23231 char *kwnames
[] = {
23232 (char *) "self", NULL
23235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (bool)(arg1
)->DeleteAllColumns();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23254 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->ClearAll();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self",(char *) "item", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 arg2
= (long)SWIG_As_long(obj1
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 (arg1
)->EditLabel(arg2
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self",(char *) "item", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 arg2
= (long)SWIG_As_long(obj1
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23340 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23344 wxString
*arg3
= 0 ;
23345 bool arg4
= (bool) false ;
23347 bool temp3
= false ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 PyObject
* obj2
= 0 ;
23351 PyObject
* obj3
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23359 arg2
= (long)SWIG_As_long(obj1
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 arg3
= wxString_in_helper(obj2
);
23363 if (arg3
== NULL
) SWIG_fail
;
23367 arg4
= (bool)SWIG_As_bool(obj3
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_From_long((long)result
);
23392 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 PyObject
* obj2
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self",(char *) "start",(char *) "data", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 arg2
= (long)SWIG_As_long(obj1
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23410 arg3
= (long)SWIG_As_long(obj2
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_From_long((long)result
);
23426 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23430 wxPoint
*arg3
= 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 PyObject
* obj2
= 0 ;
23437 PyObject
* obj3
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23445 arg2
= (long)SWIG_As_long(obj1
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23451 arg4
= (int)SWIG_As_int(obj3
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_long((long)result
);
23467 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23470 wxPoint
*arg2
= 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "point", NULL
23482 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_From_long((long)result
);
23498 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23499 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23506 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23509 wxListItem
*arg2
= 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char *kwnames
[] = {
23514 (char *) "self",(char *) "info", NULL
23517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23523 if (arg2
== NULL
) {
23524 PyErr_SetString(PyExc_TypeError
,"null reference");
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (long)(arg1
)->InsertItem(*arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_From_long((long)result
);
23541 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23545 wxString
*arg3
= 0 ;
23547 bool temp3
= false ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 PyObject
* obj2
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "index",(char *) "label", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23558 arg2
= (long)SWIG_As_long(obj1
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 arg3
= wxString_in_helper(obj2
);
23562 if (arg3
== NULL
) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_From_long((long)result
);
23587 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 PyObject
* obj2
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 arg2
= (long)SWIG_As_long(obj1
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23605 arg3
= (int)SWIG_As_int(obj2
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_From_long((long)result
);
23621 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23625 wxString
*arg3
= 0 ;
23628 bool temp3
= false ;
23629 PyObject
* obj0
= 0 ;
23630 PyObject
* obj1
= 0 ;
23631 PyObject
* obj2
= 0 ;
23632 PyObject
* obj3
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 arg2
= (long)SWIG_As_long(obj1
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 arg3
= wxString_in_helper(obj2
);
23644 if (arg3
== NULL
) SWIG_fail
;
23647 arg4
= (int)SWIG_As_int(obj3
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_From_long((long)result
);
23671 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23675 wxListItem
*arg3
= 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 PyObject
* obj2
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self",(char *) "col",(char *) "info", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 arg2
= (long)SWIG_As_long(obj1
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23689 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23692 if (arg3
== NULL
) {
23693 PyErr_SetString(PyExc_TypeError
,"null reference");
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_From_long((long)result
);
23710 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23711 PyObject
*resultobj
;
23712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23714 wxString
*arg3
= 0 ;
23715 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23716 int arg5
= (int) -1 ;
23718 bool temp3
= false ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 PyObject
* obj2
= 0 ;
23722 PyObject
* obj3
= 0 ;
23723 PyObject
* obj4
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 arg2
= (long)SWIG_As_long(obj1
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 arg3
= wxString_in_helper(obj2
);
23735 if (arg3
== NULL
) SWIG_fail
;
23739 arg4
= (int)SWIG_As_int(obj3
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 arg5
= (int)SWIG_As_int(obj4
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_From_long((long)result
);
23768 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 char *kwnames
[] = {
23775 (char *) "self",(char *) "count", NULL
23778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23781 arg2
= (long)SWIG_As_long(obj1
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 (arg1
)->SetItemCount(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 Py_INCREF(Py_None
); resultobj
= Py_None
;
23797 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 PyObject
* obj2
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self",(char *) "dx",(char *) "dy", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 arg2
= (int)SWIG_As_int(obj1
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23815 arg3
= (int)SWIG_As_int(obj2
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23833 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
;
23835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23837 wxColour
*arg3
= 0 ;
23839 PyObject
* obj0
= 0 ;
23840 PyObject
* obj1
= 0 ;
23841 PyObject
* obj2
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "item",(char *) "col", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 arg2
= (long)SWIG_As_long(obj1
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23853 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 Py_INCREF(Py_None
); resultobj
= Py_None
;
23869 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "item", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 arg2
= (long)SWIG_As_long(obj1
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23889 wxPyEndAllowThreads(__tstate
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23893 wxColour
* resultptr
;
23894 resultptr
= new wxColour((wxColour
&) result
);
23895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23903 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23907 wxColour
*arg3
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "item",(char *) "col", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 arg2
= (long)SWIG_As_long(obj1
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 Py_INCREF(Py_None
); resultobj
= Py_None
;
23939 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 char *kwnames
[] = {
23947 (char *) "self",(char *) "item", NULL
23950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 arg2
= (long)SWIG_As_long(obj1
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23963 wxColour
* resultptr
;
23964 resultptr
= new wxColour((wxColour
&) result
);
23965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23973 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23976 PyObject
*arg2
= (PyObject
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "func", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= wxPyMake_wxObject(result
, 0);
24032 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24035 wxVisualAttributes result
;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "variant", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24043 arg1
= (int)SWIG_As_int(obj0
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 if (!wxPyCheckForApp()) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 wxVisualAttributes
* resultptr
;
24056 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24065 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24068 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24070 return Py_BuildValue((char *)"");
24072 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24075 int arg2
= (int) -1 ;
24076 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24077 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24078 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24079 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24080 long arg5
= (long) wxLC_REPORT
;
24081 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24082 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24083 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24085 wxListView
*result
;
24088 bool temp7
= false ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 PyObject
* obj2
= 0 ;
24092 PyObject
* obj3
= 0 ;
24093 PyObject
* obj4
= 0 ;
24094 PyObject
* obj5
= 0 ;
24095 PyObject
* obj6
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24104 arg2
= (int)SWIG_As_int(obj1
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24110 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24116 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24120 arg5
= (long)SWIG_As_long(obj4
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24127 if (arg6
== NULL
) {
24128 PyErr_SetString(PyExc_TypeError
,"null reference");
24134 arg7
= wxString_in_helper(obj6
);
24135 if (arg7
== NULL
) SWIG_fail
;
24140 if (!wxPyCheckForApp()) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24162 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxListView
*result
;
24165 char *kwnames
[] = {
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24171 if (!wxPyCheckForApp()) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (wxListView
*)new wxListView();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24185 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxListView
*arg1
= (wxListView
*) 0 ;
24188 wxWindow
*arg2
= (wxWindow
*) 0 ;
24189 int arg3
= (int) -1 ;
24190 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24191 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24192 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24193 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24194 long arg6
= (long) wxLC_REPORT
;
24195 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24196 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24197 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24198 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24202 bool temp8
= false ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 PyObject
* obj2
= 0 ;
24206 PyObject
* obj3
= 0 ;
24207 PyObject
* obj4
= 0 ;
24208 PyObject
* obj5
= 0 ;
24209 PyObject
* obj6
= 0 ;
24210 PyObject
* obj7
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg3
= (int)SWIG_As_int(obj2
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24237 arg6
= (long)SWIG_As_long(obj5
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24241 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24244 if (arg7
== NULL
) {
24245 PyErr_SetString(PyExc_TypeError
,"null reference");
24251 arg8
= wxString_in_helper(obj7
);
24252 if (arg8
== NULL
) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24280 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxListView
*arg1
= (wxListView
*) 0 ;
24284 bool arg3
= (bool) true ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 PyObject
* obj2
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "n",(char *) "on", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 arg2
= (long)SWIG_As_long(obj1
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 arg3
= (bool)SWIG_As_bool(obj2
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->Select(arg2
,arg3
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 Py_INCREF(Py_None
); resultobj
= Py_None
;
24315 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxListView
*arg1
= (wxListView
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "index", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 arg2
= (long)SWIG_As_long(obj1
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 (arg1
)->Focus(arg2
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 Py_INCREF(Py_None
); resultobj
= Py_None
;
24344 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxListView
*arg1
= (wxListView
*) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_From_long((long)result
);
24370 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxListView
*arg1
= (wxListView
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self",(char *) "item", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 arg2
= (long)SWIG_As_long(obj1
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_From_long((long)result
);
24400 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxListView
*arg1
= (wxListView
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_From_long((long)result
);
24426 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxListView
*arg1
= (wxListView
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "index", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24440 arg2
= (long)SWIG_As_long(obj1
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (bool)(arg1
)->IsSelected(arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24458 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxListView
*arg1
= (wxListView
*) 0 ;
24463 PyObject
* obj0
= 0 ;
24464 PyObject
* obj1
= 0 ;
24465 PyObject
* obj2
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "col",(char *) "image", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 arg2
= (int)SWIG_As_int(obj1
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24475 arg3
= (int)SWIG_As_int(obj2
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->SetColumnImage(arg2
,arg3
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24491 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxListView
*arg1
= (wxListView
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "col", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 arg2
= (int)SWIG_As_int(obj1
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 (arg1
)->ClearColumnImage(arg2
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 Py_INCREF(Py_None
); resultobj
= Py_None
;
24520 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24523 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24525 return Py_BuildValue((char *)"");
24527 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24528 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24533 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24538 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24540 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24547 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxTreeItemId
*result
;
24550 char *kwnames
[] = {
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (wxTreeItemId
*)new wxTreeItemId();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24569 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24622 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24625 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 PyObject
* obj1
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self",(char *) "other", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24654 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24657 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "other", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24689 void *arg2
= (void *) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "m_pItem", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24700 if (arg1
) (arg1
)->m_pItem
= arg2
;
24702 Py_INCREF(Py_None
); resultobj
= Py_None
;
24709 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 result
= (void *) ((arg1
)->m_pItem
);
24723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24730 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24733 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24735 return Py_BuildValue((char *)"");
24737 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 PyObject
*arg1
= (PyObject
*) NULL
;
24740 wxPyTreeItemData
*result
;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "obj", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24764 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24765 PyObject
*resultobj
;
24766 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (PyObject
*)(arg1
)->GetData();
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= result
;
24790 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24793 PyObject
*arg2
= (PyObject
*) 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "obj", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 (arg1
)->SetData(arg2
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 Py_INCREF(Py_None
); resultobj
= Py_None
;
24818 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24821 wxTreeItemId
*result
;
24822 PyObject
* obj0
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24834 result
= (wxTreeItemId
*) &_result_ref
;
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24847 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24850 wxTreeItemId
*arg2
= 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 char *kwnames
[] = {
24854 (char *) "self",(char *) "id", NULL
24857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24863 if (arg2
== NULL
) {
24864 PyErr_SetString(PyExc_TypeError
,"null reference");
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 wxPyTreeItemData_Destroy(arg1
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24911 return Py_BuildValue((char *)"");
24913 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24916 int arg2
= (int) 0 ;
24917 wxTreeEvent
*result
;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "commandType",(char *) "id", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24926 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24930 arg2
= (int)SWIG_As_int(obj1
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24947 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
;
24949 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24950 wxTreeItemId result
;
24951 PyObject
* obj0
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24967 wxTreeItemId
* resultptr
;
24968 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24977 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24980 wxTreeItemId
*arg2
= 0 ;
24981 PyObject
* obj0
= 0 ;
24982 PyObject
* obj1
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self",(char *) "item", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24993 if (arg2
== NULL
) {
24994 PyErr_SetString(PyExc_TypeError
,"null reference");
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 Py_INCREF(Py_None
); resultobj
= Py_None
;
25011 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25014 wxTreeItemId result
;
25015 PyObject
* obj0
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25031 wxTreeItemId
* resultptr
;
25032 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25041 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
;
25043 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25044 wxTreeItemId
*arg2
= 0 ;
25045 PyObject
* obj0
= 0 ;
25046 PyObject
* obj1
= 0 ;
25047 char *kwnames
[] = {
25048 (char *) "self",(char *) "item", NULL
25051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25057 if (arg2
== NULL
) {
25058 PyErr_SetString(PyExc_TypeError
,"null reference");
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25075 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 char *kwnames
[] = {
25081 (char *) "self", NULL
25084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 wxPoint
* resultptr
;
25096 resultptr
= new wxPoint((wxPoint
&) result
);
25097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25105 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25108 wxPoint
*arg2
= 0 ;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "pt", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 Py_INCREF(Py_None
); resultobj
= Py_None
;
25137 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25140 wxKeyEvent
*result
;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25153 result
= (wxKeyEvent
*) &_result_ref
;
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25166 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int((int)result
);
25192 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25195 wxKeyEvent
*arg2
= 0 ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 char *kwnames
[] = {
25199 (char *) "self",(char *) "evt", NULL
25202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25208 if (arg2
== NULL
) {
25209 PyErr_SetString(PyExc_TypeError
,"null reference");
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 Py_INCREF(Py_None
); resultobj
= Py_None
;
25226 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "self", NULL
25235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25242 result
= (wxString
*) &_result_ref
;
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25261 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25264 wxString
*arg2
= 0 ;
25265 bool temp2
= false ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "label", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 arg2
= wxString_in_helper(obj1
);
25277 if (arg2
== NULL
) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->SetLabel((wxString
const &)*arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25302 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25330 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "editCancelled", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 arg2
= (bool)SWIG_As_bool(obj1
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->SetEditCanceled(arg2
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25362 wxString
*arg2
= 0 ;
25363 bool temp2
= false ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self",(char *) "toolTip", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 arg2
= wxString_in_helper(obj1
);
25375 if (arg2
== NULL
) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 Py_INCREF(Py_None
); resultobj
= Py_None
;
25400 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25403 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25405 return Py_BuildValue((char *)"");
25407 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25409 wxWindow
*arg1
= (wxWindow
*) 0 ;
25410 int arg2
= (int) -1 ;
25411 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25412 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25413 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25414 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25415 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25416 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25417 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25418 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25420 wxPyTreeCtrl
*result
;
25423 bool temp7
= false ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 PyObject
* obj2
= 0 ;
25427 PyObject
* obj3
= 0 ;
25428 PyObject
* obj4
= 0 ;
25429 PyObject
* obj5
= 0 ;
25430 PyObject
* obj6
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25439 arg2
= (int)SWIG_As_int(obj1
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25455 arg5
= (long)SWIG_As_long(obj4
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25459 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25462 if (arg6
== NULL
) {
25463 PyErr_SetString(PyExc_TypeError
,"null reference");
25469 arg7
= wxString_in_helper(obj6
);
25470 if (arg7
== NULL
) SWIG_fail
;
25475 if (!wxPyCheckForApp()) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25497 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxPyTreeCtrl
*result
;
25500 char *kwnames
[] = {
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25506 if (!wxPyCheckForApp()) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25520 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25523 wxWindow
*arg2
= (wxWindow
*) 0 ;
25524 int arg3
= (int) -1 ;
25525 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25526 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25527 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25528 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25529 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25530 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25531 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25532 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25537 bool temp8
= false ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 PyObject
* obj2
= 0 ;
25541 PyObject
* obj3
= 0 ;
25542 PyObject
* obj4
= 0 ;
25543 PyObject
* obj5
= 0 ;
25544 PyObject
* obj6
= 0 ;
25545 PyObject
* obj7
= 0 ;
25546 char *kwnames
[] = {
25547 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25556 arg3
= (int)SWIG_As_int(obj2
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25572 arg6
= (long)SWIG_As_long(obj5
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25579 if (arg7
== NULL
) {
25580 PyErr_SetString(PyExc_TypeError
,"null reference");
25586 arg8
= wxString_in_helper(obj7
);
25587 if (arg8
== NULL
) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25615 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25618 PyObject
*arg2
= (PyObject
*) 0 ;
25619 PyObject
*arg3
= (PyObject
*) 0 ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 PyObject
* obj2
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "self",(char *) "_class", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 Py_INCREF(Py_None
); resultobj
= Py_None
;
25646 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25650 PyObject
* obj0
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25672 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25675 unsigned int result
;
25676 PyObject
* obj0
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25698 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25701 unsigned int arg2
;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "indent", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25711 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->SetIndent(arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25730 unsigned int result
;
25731 PyObject
* obj0
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25753 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25756 unsigned int arg2
;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self",(char *) "spacing", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 (arg1
)->SetSpacing(arg2
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 Py_INCREF(Py_None
); resultobj
= Py_None
;
25782 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
;
25784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25785 wxImageList
*result
;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= wxPyMake_wxObject(result
, 0);
25810 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25813 wxImageList
*result
;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= wxPyMake_wxObject(result
, 0);
25838 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25841 wxImageList
*arg2
= (wxImageList
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "imageList", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->SetImageList(arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 Py_INCREF(Py_None
); resultobj
= Py_None
;
25867 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxImageList
*arg2
= (wxImageList
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "imageList", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 (arg1
)->SetStateImageList(arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 Py_INCREF(Py_None
); resultobj
= Py_None
;
25896 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25899 wxImageList
*arg2
= (wxImageList
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "imageList", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25910 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 (arg1
)->AssignImageList(arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 Py_INCREF(Py_None
); resultobj
= Py_None
;
25925 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25928 wxImageList
*arg2
= (wxImageList
*) 0 ;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "imageList", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25939 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 (arg1
)->AssignStateImageList(arg2
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 Py_INCREF(Py_None
); resultobj
= Py_None
;
25954 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25955 PyObject
*resultobj
;
25956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25957 wxTreeItemId
*arg2
= 0 ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self",(char *) "item", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25971 if (arg2
== NULL
) {
25972 PyErr_SetString(PyExc_TypeError
,"null reference");
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25995 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25998 wxTreeItemId
*arg2
= 0 ;
25999 int arg3
= (int) wxTreeItemIcon_Normal
;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 PyObject
* obj2
= 0 ;
26004 char *kwnames
[] = {
26005 (char *) "self",(char *) "item",(char *) "which", NULL
26008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26014 if (arg2
== NULL
) {
26015 PyErr_SetString(PyExc_TypeError
,"null reference");
26019 arg3
= (int)SWIG_As_int(obj2
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_From_int((int)result
);
26036 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
;
26038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26039 wxTreeItemId
*arg2
= 0 ;
26040 wxPyTreeItemData
*result
;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char *kwnames
[] = {
26044 (char *) "self",(char *) "item", NULL
26047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26053 if (arg2
== NULL
) {
26054 PyErr_SetString(PyExc_TypeError
,"null reference");
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26071 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26074 wxTreeItemId
*arg2
= 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 char *kwnames
[] = {
26079 (char *) "self",(char *) "item", NULL
26082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26088 if (arg2
== NULL
) {
26089 PyErr_SetString(PyExc_TypeError
,"null reference");
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
;
26106 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26109 wxTreeItemId
*arg2
= 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "item", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26123 if (arg2
== NULL
) {
26124 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26135 wxColour
* resultptr
;
26136 resultptr
= new wxColour((wxColour
&) result
);
26137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26145 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26148 wxTreeItemId
*arg2
= 0 ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char *kwnames
[] = {
26153 (char *) "self",(char *) "item", NULL
26156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26162 if (arg2
== NULL
) {
26163 PyErr_SetString(PyExc_TypeError
,"null reference");
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26174 wxColour
* resultptr
;
26175 resultptr
= new wxColour((wxColour
&) result
);
26176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26184 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26187 wxTreeItemId
*arg2
= 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "item", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26201 if (arg2
== NULL
) {
26202 PyErr_SetString(PyExc_TypeError
,"null reference");
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 wxFont
* resultptr
;
26214 resultptr
= new wxFont((wxFont
&) result
);
26215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26223 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26226 wxTreeItemId
*arg2
= 0 ;
26227 wxString
*arg3
= 0 ;
26228 bool temp3
= false ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 PyObject
* obj2
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "item",(char *) "text", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26242 if (arg2
== NULL
) {
26243 PyErr_SetString(PyExc_TypeError
,"null reference");
26247 arg3
= wxString_in_helper(obj2
);
26248 if (arg3
== NULL
) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26276 wxTreeItemId
*arg2
= 0 ;
26278 int arg4
= (int) wxTreeItemIcon_Normal
;
26279 PyObject
* obj0
= 0 ;
26280 PyObject
* obj1
= 0 ;
26281 PyObject
* obj2
= 0 ;
26282 PyObject
* obj3
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26293 if (arg2
== NULL
) {
26294 PyErr_SetString(PyExc_TypeError
,"null reference");
26297 arg3
= (int)SWIG_As_int(obj2
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 arg4
= (int)SWIG_As_int(obj3
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26320 wxTreeItemId
*arg2
= 0 ;
26321 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 PyObject
* obj2
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "item",(char *) "data", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26335 if (arg2
== NULL
) {
26336 PyErr_SetString(PyExc_TypeError
,"null reference");
26339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 Py_INCREF(Py_None
); resultobj
= Py_None
;
26355 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26358 wxTreeItemId
*arg2
= 0 ;
26359 PyObject
*arg3
= (PyObject
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 PyObject
* obj2
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "item",(char *) "obj", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26373 if (arg2
== NULL
) {
26374 PyErr_SetString(PyExc_TypeError
,"null reference");
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 Py_INCREF(Py_None
); resultobj
= Py_None
;
26392 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26395 wxTreeItemId
*arg2
= 0 ;
26396 bool arg3
= (bool) true ;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 PyObject
* obj2
= 0 ;
26400 char *kwnames
[] = {
26401 (char *) "self",(char *) "item",(char *) "has", NULL
26404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26410 if (arg2
== NULL
) {
26411 PyErr_SetString(PyExc_TypeError
,"null reference");
26415 arg3
= (bool)SWIG_As_bool(obj2
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26422 wxPyEndAllowThreads(__tstate
);
26423 if (PyErr_Occurred()) SWIG_fail
;
26425 Py_INCREF(Py_None
); resultobj
= Py_None
;
26432 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
;
26434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26435 wxTreeItemId
*arg2
= 0 ;
26436 bool arg3
= (bool) true ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self",(char *) "item",(char *) "bold", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26450 if (arg2
== NULL
) {
26451 PyErr_SetString(PyExc_TypeError
,"null reference");
26455 arg3
= (bool)SWIG_As_bool(obj2
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26460 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 Py_INCREF(Py_None
); resultobj
= Py_None
;
26472 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26475 wxTreeItemId
*arg2
= 0 ;
26476 wxColour
*arg3
= 0 ;
26478 PyObject
* obj0
= 0 ;
26479 PyObject
* obj1
= 0 ;
26480 PyObject
* obj2
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "item",(char *) "col", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26491 if (arg2
== NULL
) {
26492 PyErr_SetString(PyExc_TypeError
,"null reference");
26497 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 Py_INCREF(Py_None
); resultobj
= Py_None
;
26513 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26516 wxTreeItemId
*arg2
= 0 ;
26517 wxColour
*arg3
= 0 ;
26519 PyObject
* obj0
= 0 ;
26520 PyObject
* obj1
= 0 ;
26521 PyObject
* obj2
= 0 ;
26522 char *kwnames
[] = {
26523 (char *) "self",(char *) "item",(char *) "col", NULL
26526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26532 if (arg2
== NULL
) {
26533 PyErr_SetString(PyExc_TypeError
,"null reference");
26538 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26542 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 Py_INCREF(Py_None
); resultobj
= Py_None
;
26554 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
;
26556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26557 wxTreeItemId
*arg2
= 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 char *kwnames
[] = {
26563 (char *) "self",(char *) "item",(char *) "font", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26572 if (arg2
== NULL
) {
26573 PyErr_SetString(PyExc_TypeError
,"null reference");
26576 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26579 if (arg3
== NULL
) {
26580 PyErr_SetString(PyExc_TypeError
,"null reference");
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 Py_INCREF(Py_None
); resultobj
= Py_None
;
26597 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
;
26599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26600 wxTreeItemId
*arg2
= 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "item", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26614 if (arg2
== NULL
) {
26615 PyErr_SetString(PyExc_TypeError
,"null reference");
26619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26620 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26634 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26637 wxTreeItemId
*arg2
= 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "item", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26651 if (arg2
== NULL
) {
26652 PyErr_SetString(PyExc_TypeError
,"null reference");
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26671 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
;
26673 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26674 wxTreeItemId
*arg2
= 0 ;
26676 PyObject
* obj0
= 0 ;
26677 PyObject
* obj1
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self",(char *) "item", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26688 if (arg2
== NULL
) {
26689 PyErr_SetString(PyExc_TypeError
,"null reference");
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26708 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
;
26710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26711 wxTreeItemId
*arg2
= 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self",(char *) "item", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26725 if (arg2
== NULL
) {
26726 PyErr_SetString(PyExc_TypeError
,"null reference");
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26745 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26746 PyObject
*resultobj
;
26747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26748 wxTreeItemId
*arg2
= 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self",(char *) "item", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26762 if (arg2
== NULL
) {
26763 PyErr_SetString(PyExc_TypeError
,"null reference");
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26782 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
;
26784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26785 wxTreeItemId
*arg2
= 0 ;
26786 bool arg3
= (bool) true ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self",(char *) "item",(char *) "recursively", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26801 if (arg2
== NULL
) {
26802 PyErr_SetString(PyExc_TypeError
,"null reference");
26806 arg3
= (bool)SWIG_As_bool(obj2
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26823 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
;
26825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26826 wxTreeItemId result
;
26827 PyObject
* obj0
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26843 wxTreeItemId
* resultptr
;
26844 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26853 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
;
26855 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26856 wxTreeItemId result
;
26857 PyObject
* obj0
= 0 ;
26858 char *kwnames
[] = {
26859 (char *) "self", NULL
26862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26873 wxTreeItemId
* resultptr
;
26874 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26883 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= result
;
26909 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26912 wxTreeItemId
*arg2
= 0 ;
26913 wxTreeItemId result
;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "item", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26926 if (arg2
== NULL
) {
26927 PyErr_SetString(PyExc_TypeError
,"null reference");
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 wxTreeItemId
* resultptr
;
26939 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26948 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26951 wxTreeItemId
*arg2
= 0 ;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "item", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26965 if (arg2
== NULL
) {
26966 PyErr_SetString(PyExc_TypeError
,"null reference");
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
;
26983 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26986 wxTreeItemId
*arg2
= 0 ;
26987 void *arg3
= (void *) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 PyObject
* obj2
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "item",(char *) "cookie", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27002 if (arg2
== NULL
) {
27003 PyErr_SetString(PyExc_TypeError
,"null reference");
27006 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
;
27021 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27024 wxTreeItemId
*arg2
= 0 ;
27025 wxTreeItemId result
;
27026 PyObject
* obj0
= 0 ;
27027 PyObject
* obj1
= 0 ;
27028 char *kwnames
[] = {
27029 (char *) "self",(char *) "item", NULL
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27038 if (arg2
== NULL
) {
27039 PyErr_SetString(PyExc_TypeError
,"null reference");
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 wxTreeItemId
* resultptr
;
27051 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27060 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27063 wxTreeItemId
*arg2
= 0 ;
27064 wxTreeItemId result
;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "item", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27077 if (arg2
== NULL
) {
27078 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27089 wxTreeItemId
* resultptr
;
27090 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27099 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27102 wxTreeItemId
*arg2
= 0 ;
27103 wxTreeItemId result
;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "item", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27116 if (arg2
== NULL
) {
27117 PyErr_SetString(PyExc_TypeError
,"null reference");
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27128 wxTreeItemId
* resultptr
;
27129 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27138 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27141 wxTreeItemId result
;
27142 PyObject
* obj0
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27158 wxTreeItemId
* resultptr
;
27159 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27168 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27171 wxTreeItemId
*arg2
= 0 ;
27172 wxTreeItemId result
;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "item", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27182 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27185 if (arg2
== NULL
) {
27186 PyErr_SetString(PyExc_TypeError
,"null reference");
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27197 wxTreeItemId
* resultptr
;
27198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27207 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27210 wxTreeItemId
*arg2
= 0 ;
27211 wxTreeItemId result
;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "item", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27224 if (arg2
== NULL
) {
27225 PyErr_SetString(PyExc_TypeError
,"null reference");
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 wxTreeItemId
* resultptr
;
27237 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27246 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27249 wxString
*arg2
= 0 ;
27250 int arg3
= (int) -1 ;
27251 int arg4
= (int) -1 ;
27252 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27253 wxTreeItemId result
;
27254 bool temp2
= false ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 PyObject
* obj2
= 0 ;
27258 PyObject
* obj3
= 0 ;
27259 PyObject
* obj4
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 arg2
= wxString_in_helper(obj1
);
27269 if (arg2
== NULL
) SWIG_fail
;
27273 arg3
= (int)SWIG_As_int(obj2
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 arg4
= (int)SWIG_As_int(obj3
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 wxTreeItemId
* resultptr
;
27293 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27310 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27313 wxTreeItemId
*arg2
= 0 ;
27314 wxString
*arg3
= 0 ;
27315 int arg4
= (int) -1 ;
27316 int arg5
= (int) -1 ;
27317 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27318 wxTreeItemId result
;
27319 bool temp3
= false ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 PyObject
* obj2
= 0 ;
27323 PyObject
* obj3
= 0 ;
27324 PyObject
* obj4
= 0 ;
27325 PyObject
* obj5
= 0 ;
27326 char *kwnames
[] = {
27327 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27336 if (arg2
== NULL
) {
27337 PyErr_SetString(PyExc_TypeError
,"null reference");
27341 arg3
= wxString_in_helper(obj2
);
27342 if (arg3
== NULL
) SWIG_fail
;
27346 arg4
= (int)SWIG_As_int(obj3
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 arg5
= (int)SWIG_As_int(obj4
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27354 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 wxTreeItemId
* resultptr
;
27366 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27383 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27386 wxTreeItemId
*arg2
= 0 ;
27387 wxTreeItemId
*arg3
= 0 ;
27388 wxString
*arg4
= 0 ;
27389 int arg5
= (int) -1 ;
27390 int arg6
= (int) -1 ;
27391 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27392 wxTreeItemId result
;
27393 bool temp4
= false ;
27394 PyObject
* obj0
= 0 ;
27395 PyObject
* obj1
= 0 ;
27396 PyObject
* obj2
= 0 ;
27397 PyObject
* obj3
= 0 ;
27398 PyObject
* obj4
= 0 ;
27399 PyObject
* obj5
= 0 ;
27400 PyObject
* obj6
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27411 if (arg2
== NULL
) {
27412 PyErr_SetString(PyExc_TypeError
,"null reference");
27415 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27418 if (arg3
== NULL
) {
27419 PyErr_SetString(PyExc_TypeError
,"null reference");
27423 arg4
= wxString_in_helper(obj3
);
27424 if (arg4
== NULL
) SWIG_fail
;
27428 arg5
= (int)SWIG_As_int(obj4
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 arg6
= (int)SWIG_As_int(obj5
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 wxTreeItemId
* resultptr
;
27448 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27465 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27468 wxTreeItemId
*arg2
= 0 ;
27470 wxString
*arg4
= 0 ;
27471 int arg5
= (int) -1 ;
27472 int arg6
= (int) -1 ;
27473 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27474 wxTreeItemId result
;
27475 bool temp4
= false ;
27476 PyObject
* obj0
= 0 ;
27477 PyObject
* obj1
= 0 ;
27478 PyObject
* obj2
= 0 ;
27479 PyObject
* obj3
= 0 ;
27480 PyObject
* obj4
= 0 ;
27481 PyObject
* obj5
= 0 ;
27482 PyObject
* obj6
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27493 if (arg2
== NULL
) {
27494 PyErr_SetString(PyExc_TypeError
,"null reference");
27497 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27500 arg4
= wxString_in_helper(obj3
);
27501 if (arg4
== NULL
) SWIG_fail
;
27505 arg5
= (int)SWIG_As_int(obj4
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 arg6
= (int)SWIG_As_int(obj5
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27513 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 wxTreeItemId
* resultptr
;
27525 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27542 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
;
27544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27545 wxTreeItemId
*arg2
= 0 ;
27546 wxString
*arg3
= 0 ;
27547 int arg4
= (int) -1 ;
27548 int arg5
= (int) -1 ;
27549 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27550 wxTreeItemId result
;
27551 bool temp3
= false ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 PyObject
* obj2
= 0 ;
27555 PyObject
* obj3
= 0 ;
27556 PyObject
* obj4
= 0 ;
27557 PyObject
* obj5
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27568 if (arg2
== NULL
) {
27569 PyErr_SetString(PyExc_TypeError
,"null reference");
27573 arg3
= wxString_in_helper(obj2
);
27574 if (arg3
== NULL
) SWIG_fail
;
27578 arg4
= (int)SWIG_As_int(obj3
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27582 arg5
= (int)SWIG_As_int(obj4
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 wxTreeItemId
* resultptr
;
27598 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27615 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27618 wxTreeItemId
*arg2
= 0 ;
27619 PyObject
* obj0
= 0 ;
27620 PyObject
* obj1
= 0 ;
27621 char *kwnames
[] = {
27622 (char *) "self",(char *) "item", NULL
27625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27631 if (arg2
== NULL
) {
27632 PyErr_SetString(PyExc_TypeError
,"null reference");
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 Py_INCREF(Py_None
); resultobj
= Py_None
;
27649 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27652 wxTreeItemId
*arg2
= 0 ;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "item", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27665 if (arg2
== NULL
) {
27666 PyErr_SetString(PyExc_TypeError
,"null reference");
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27683 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27686 PyObject
* obj0
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 (arg1
)->DeleteAllItems();
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 Py_INCREF(Py_None
); resultobj
= Py_None
;
27708 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27709 PyObject
*resultobj
;
27710 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27711 wxTreeItemId
*arg2
= 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self",(char *) "item", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27724 if (arg2
== NULL
) {
27725 PyErr_SetString(PyExc_TypeError
,"null reference");
27729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27730 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27732 wxPyEndAllowThreads(__tstate
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27735 Py_INCREF(Py_None
); resultobj
= Py_None
;
27742 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27745 wxTreeItemId
*arg2
= 0 ;
27746 PyObject
* obj0
= 0 ;
27747 PyObject
* obj1
= 0 ;
27748 char *kwnames
[] = {
27749 (char *) "self",(char *) "item", NULL
27752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27758 if (arg2
== NULL
) {
27759 PyErr_SetString(PyExc_TypeError
,"null reference");
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 Py_INCREF(Py_None
); resultobj
= Py_None
;
27776 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
;
27778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27779 wxTreeItemId
*arg2
= 0 ;
27780 PyObject
* obj0
= 0 ;
27781 PyObject
* obj1
= 0 ;
27782 char *kwnames
[] = {
27783 (char *) "self",(char *) "item", NULL
27786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27792 if (arg2
== NULL
) {
27793 PyErr_SetString(PyExc_TypeError
,"null reference");
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 Py_INCREF(Py_None
); resultobj
= Py_None
;
27810 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27813 wxTreeItemId
*arg2
= 0 ;
27814 PyObject
* obj0
= 0 ;
27815 PyObject
* obj1
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self",(char *) "item", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27826 if (arg2
== NULL
) {
27827 PyErr_SetString(PyExc_TypeError
,"null reference");
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 Py_INCREF(Py_None
); resultobj
= Py_None
;
27844 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27847 PyObject
* obj0
= 0 ;
27848 char *kwnames
[] = {
27849 (char *) "self", NULL
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 (arg1
)->Unselect();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 Py_INCREF(Py_None
); resultobj
= Py_None
;
27869 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27872 wxTreeItemId
*arg2
= 0 ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self",(char *) "item", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27885 if (arg2
== NULL
) {
27886 PyErr_SetString(PyExc_TypeError
,"null reference");
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27903 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27904 PyObject
*resultobj
;
27905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 (arg1
)->UnselectAll();
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 Py_INCREF(Py_None
); resultobj
= Py_None
;
27928 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
;
27930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27931 wxTreeItemId
*arg2
= 0 ;
27932 bool arg3
= (bool) true ;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 PyObject
* obj2
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "self",(char *) "item",(char *) "select", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27946 if (arg2
== NULL
) {
27947 PyErr_SetString(PyExc_TypeError
,"null reference");
27951 arg3
= (bool)SWIG_As_bool(obj2
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 Py_INCREF(Py_None
); resultobj
= Py_None
;
27968 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27971 wxTreeItemId
*arg2
= 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "self",(char *) "item", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27984 if (arg2
== NULL
) {
27985 PyErr_SetString(PyExc_TypeError
,"null reference");
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28005 wxTreeItemId
*arg2
= 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "self",(char *) "item", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28018 if (arg2
== NULL
) {
28019 PyErr_SetString(PyExc_TypeError
,"null reference");
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28039 wxTreeItemId
*arg2
= 0 ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self",(char *) "item", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28052 if (arg2
== NULL
) {
28053 PyErr_SetString(PyExc_TypeError
,"null reference");
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 Py_INCREF(Py_None
); resultobj
= Py_None
;
28070 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28073 wxTreeItemId
*arg2
= 0 ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 char *kwnames
[] = {
28077 (char *) "self",(char *) "item", NULL
28080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28086 if (arg2
== NULL
) {
28087 PyErr_SetString(PyExc_TypeError
,"null reference");
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28097 Py_INCREF(Py_None
); resultobj
= Py_None
;
28104 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28105 PyObject
*resultobj
;
28106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28107 wxTextCtrl
*result
;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28118 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= wxPyMake_wxObject(result
, 0);
28132 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28135 wxTreeItemId
*arg2
= 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "item", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28146 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28148 if (arg2
== NULL
) {
28149 PyErr_SetString(PyExc_TypeError
,"null reference");
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 Py_INCREF(Py_None
); resultobj
= Py_None
;
28166 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
;
28168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28169 wxPoint
*arg2
= 0 ;
28171 wxTreeItemId result
;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 char *kwnames
[] = {
28178 (char *) "self",(char *) "point", NULL
28181 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28197 wxTreeItemId
* resultptr
;
28198 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28201 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28202 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28209 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28212 wxTreeItemId
*arg2
= 0 ;
28213 bool arg3
= (bool) false ;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 PyObject
* obj2
= 0 ;
28218 char *kwnames
[] = {
28219 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28228 if (arg2
== NULL
) {
28229 PyErr_SetString(PyExc_TypeError
,"null reference");
28233 arg3
= (bool)SWIG_As_bool(obj2
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= result
;
28250 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28253 wxVisualAttributes result
;
28254 PyObject
* obj0
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "variant", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28261 arg1
= (int)SWIG_As_int(obj0
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 if (!wxPyCheckForApp()) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28267 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28273 wxVisualAttributes
* resultptr
;
28274 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28283 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28286 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28288 return Py_BuildValue((char *)"");
28290 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28291 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28296 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28301 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28303 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28310 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28313 int arg2
= (int) (int)-1 ;
28314 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28320 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28321 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28323 int arg8
= (int) 0 ;
28324 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28326 wxGenericDirCtrl
*result
;
28327 bool temp3
= false ;
28330 bool temp7
= false ;
28331 bool temp9
= false ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 PyObject
* obj2
= 0 ;
28335 PyObject
* obj3
= 0 ;
28336 PyObject
* obj4
= 0 ;
28337 PyObject
* obj5
= 0 ;
28338 PyObject
* obj6
= 0 ;
28339 PyObject
* obj7
= 0 ;
28340 PyObject
* obj8
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28349 arg2
= (int)SWIG_As_int(obj1
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28354 arg3
= wxString_in_helper(obj2
);
28355 if (arg3
== NULL
) SWIG_fail
;
28362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28372 arg6
= (long)SWIG_As_long(obj5
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28377 arg7
= wxString_in_helper(obj6
);
28378 if (arg7
== NULL
) SWIG_fail
;
28383 arg8
= (int)SWIG_As_int(obj7
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28388 arg9
= wxString_in_helper(obj8
);
28389 if (arg9
== NULL
) SWIG_fail
;
28394 if (!wxPyCheckForApp()) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28432 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
;
28434 wxGenericDirCtrl
*result
;
28435 char *kwnames
[] = {
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28441 if (!wxPyCheckForApp()) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28455 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28458 wxWindow
*arg2
= (wxWindow
*) 0 ;
28459 int arg3
= (int) (int)-1 ;
28460 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28462 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28463 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28464 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28465 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28466 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28467 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28469 int arg9
= (int) 0 ;
28470 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28471 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28473 bool temp4
= false ;
28476 bool temp8
= false ;
28477 bool temp10
= false ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 PyObject
* obj2
= 0 ;
28481 PyObject
* obj3
= 0 ;
28482 PyObject
* obj4
= 0 ;
28483 PyObject
* obj5
= 0 ;
28484 PyObject
* obj6
= 0 ;
28485 PyObject
* obj7
= 0 ;
28486 PyObject
* obj8
= 0 ;
28487 PyObject
* obj9
= 0 ;
28488 char *kwnames
[] = {
28489 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28498 arg3
= (int)SWIG_As_int(obj2
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28503 arg4
= wxString_in_helper(obj3
);
28504 if (arg4
== NULL
) SWIG_fail
;
28511 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28517 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28521 arg7
= (long)SWIG_As_long(obj6
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28526 arg8
= wxString_in_helper(obj7
);
28527 if (arg8
== NULL
) SWIG_fail
;
28532 arg9
= (int)SWIG_As_int(obj8
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28537 arg10
= wxString_in_helper(obj9
);
28538 if (arg10
== NULL
) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
;
28584 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28585 wxString
*arg2
= 0 ;
28587 bool temp2
= false ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "path", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28598 arg2
= wxString_in_helper(obj1
);
28599 if (arg2
== NULL
) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28626 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
;
28628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28630 PyObject
* obj0
= 0 ;
28631 char *kwnames
[] = {
28632 (char *) "self", NULL
28635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28640 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28658 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28661 wxString
*arg2
= 0 ;
28662 bool temp2
= false ;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "path", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 arg2
= wxString_in_helper(obj1
);
28674 if (arg2
== NULL
) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28699 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28703 PyObject
* obj0
= 0 ;
28704 char *kwnames
[] = {
28705 (char *) "self", NULL
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28731 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28735 PyObject
* obj0
= 0 ;
28736 char *kwnames
[] = {
28737 (char *) "self", NULL
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28754 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28763 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28766 wxString
*arg2
= 0 ;
28767 bool temp2
= false ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self",(char *) "path", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28778 arg2
= wxString_in_helper(obj1
);
28779 if (arg2
== NULL
) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->SetPath((wxString
const &)*arg2
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char *kwnames
[] = {
28811 (char *) "self",(char *) "show", NULL
28814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28817 arg2
= (bool)SWIG_As_bool(obj1
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->ShowHidden(arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 Py_INCREF(Py_None
); resultobj
= Py_None
;
28833 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)(arg1
)->GetShowHidden();
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28893 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28896 wxString
*arg2
= 0 ;
28897 bool temp2
= false ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "filter", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28908 arg2
= wxString_in_helper(obj1
);
28909 if (arg2
== NULL
) SWIG_fail
;
28913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28914 (arg1
)->SetFilter((wxString
const &)*arg2
);
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 Py_INCREF(Py_None
); resultobj
= Py_None
;
28934 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28935 PyObject
*resultobj
;
28936 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28938 PyObject
* obj0
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_From_int((int)result
);
28960 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "n", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28973 arg2
= (int)SWIG_As_int(obj1
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 (arg1
)->SetFilterIndex(arg2
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 Py_INCREF(Py_None
); resultobj
= Py_None
;
28989 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
;
28991 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28992 wxTreeItemId result
;
28993 PyObject
* obj0
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "self", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29003 result
= (arg1
)->GetRootId();
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29009 wxTreeItemId
* resultptr
;
29010 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29019 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29022 wxPyTreeCtrl
*result
;
29023 PyObject
* obj0
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29033 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29035 wxPyEndAllowThreads(__tstate
);
29036 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= wxPyMake_wxObject(result
, 0);
29047 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
;
29049 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29050 wxDirFilterListCtrl
*result
;
29051 PyObject
* obj0
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29073 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
;
29075 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29076 wxTreeItemId arg2
;
29077 wxString
*arg3
= 0 ;
29079 wxTreeItemId result
;
29080 wxTreeItemId
*argp2
;
29081 bool temp3
= false ;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "parentId",(char *) "path", NULL
29091 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29096 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29099 arg3
= wxString_in_helper(obj2
);
29100 if (arg3
== NULL
) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29111 wxTreeItemId
* resultptr
;
29112 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29115 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29116 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29131 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29132 PyObject
*resultobj
;
29133 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 char *kwnames
[] = {
29136 (char *) "self", NULL
29139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->DoResize();
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29149 Py_INCREF(Py_None
); resultobj
= Py_None
;
29156 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29157 PyObject
*resultobj
;
29158 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->ReCreateTree();
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 Py_INCREF(Py_None
); resultobj
= Py_None
;
29181 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29184 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29186 return Py_BuildValue((char *)"");
29188 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
;
29190 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29191 int arg2
= (int) (int)-1 ;
29192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29196 long arg5
= (long) 0 ;
29197 wxDirFilterListCtrl
*result
;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 PyObject
* obj2
= 0 ;
29203 PyObject
* obj3
= 0 ;
29204 PyObject
* obj4
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 arg2
= (int)SWIG_As_int(obj1
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29229 arg5
= (long)SWIG_As_long(obj4
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29233 if (!wxPyCheckForApp()) SWIG_fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29247 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxDirFilterListCtrl
*result
;
29250 char *kwnames
[] = {
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29256 if (!wxPyCheckForApp()) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29270 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29273 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29274 int arg3
= (int) (int)-1 ;
29275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29279 long arg6
= (long) 0 ;
29283 PyObject
* obj0
= 0 ;
29284 PyObject
* obj1
= 0 ;
29285 PyObject
* obj2
= 0 ;
29286 PyObject
* obj3
= 0 ;
29287 PyObject
* obj4
= 0 ;
29288 PyObject
* obj5
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29299 arg3
= (int)SWIG_As_int(obj2
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29315 arg6
= (long)SWIG_As_long(obj5
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29322 wxPyEndAllowThreads(__tstate
);
29323 if (PyErr_Occurred()) SWIG_fail
;
29326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29334 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
;
29336 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29337 wxString
*arg2
= 0 ;
29339 bool temp2
= false ;
29340 PyObject
* obj0
= 0 ;
29341 PyObject
* obj1
= 0 ;
29342 PyObject
* obj2
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29351 arg2
= wxString_in_helper(obj1
);
29352 if (arg2
== NULL
) SWIG_fail
;
29355 arg3
= (int)SWIG_As_int(obj2
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 Py_INCREF(Py_None
); resultobj
= Py_None
;
29379 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29382 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29384 return Py_BuildValue((char *)"");
29386 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxWindow
*arg1
= (wxWindow
*) 0 ;
29389 int arg2
= (int) (int)-1 ;
29390 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29391 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29392 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29393 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29394 long arg5
= (long) 0 ;
29395 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29396 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29397 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29398 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29399 wxPyControl
*result
;
29402 bool temp7
= false ;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 PyObject
* obj2
= 0 ;
29406 PyObject
* obj3
= 0 ;
29407 PyObject
* obj4
= 0 ;
29408 PyObject
* obj5
= 0 ;
29409 PyObject
* obj6
= 0 ;
29410 char *kwnames
[] = {
29411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29418 arg2
= (int)SWIG_As_int(obj1
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29434 arg5
= (long)SWIG_As_long(obj4
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29438 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29441 if (arg6
== NULL
) {
29442 PyErr_SetString(PyExc_TypeError
,"null reference");
29448 arg7
= wxString_in_helper(obj6
);
29449 if (arg7
== NULL
) SWIG_fail
;
29454 if (!wxPyCheckForApp()) SWIG_fail
;
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29458 wxPyEndAllowThreads(__tstate
);
29459 if (PyErr_Occurred()) SWIG_fail
;
29461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29476 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29477 PyObject
*resultobj
;
29478 wxPyControl
*result
;
29479 char *kwnames
[] = {
29483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29485 if (!wxPyCheckForApp()) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxPyControl
*)new wxPyControl();
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29499 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29502 PyObject
*arg2
= (PyObject
*) 0 ;
29503 PyObject
*arg3
= (PyObject
*) 0 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 PyObject
* obj2
= 0 ;
29507 char *kwnames
[] = {
29508 (char *) "self",(char *) "self",(char *) "_class", NULL
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29520 wxPyEndAllowThreads(__tstate
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29523 Py_INCREF(Py_None
); resultobj
= Py_None
;
29530 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
;
29532 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj1
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self",(char *) "size", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29550 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 Py_INCREF(Py_None
); resultobj
= Py_None
;
29562 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 PyObject
* obj3
= 0 ;
29573 PyObject
* obj4
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29581 arg2
= (int)SWIG_As_int(obj1
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29583 arg3
= (int)SWIG_As_int(obj2
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29585 arg4
= (int)SWIG_As_int(obj3
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29587 arg5
= (int)SWIG_As_int(obj4
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 Py_INCREF(Py_None
); resultobj
= Py_None
;
29603 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29610 int arg6
= (int) wxSIZE_AUTO
;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 PyObject
* obj3
= 0 ;
29615 PyObject
* obj4
= 0 ;
29616 PyObject
* obj5
= 0 ;
29617 char *kwnames
[] = {
29618 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29624 arg2
= (int)SWIG_As_int(obj1
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29626 arg3
= (int)SWIG_As_int(obj2
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29628 arg4
= (int)SWIG_As_int(obj3
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29630 arg5
= (int)SWIG_As_int(obj4
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 arg6
= (int)SWIG_As_int(obj5
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 Py_INCREF(Py_None
); resultobj
= Py_None
;
29650 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
;
29652 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 char *kwnames
[] = {
29659 (char *) "self",(char *) "width",(char *) "height", NULL
29662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29665 arg2
= (int)SWIG_As_int(obj1
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29667 arg3
= (int)SWIG_As_int(obj2
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29673 wxPyEndAllowThreads(__tstate
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 Py_INCREF(Py_None
); resultobj
= Py_None
;
29683 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
;
29685 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 PyObject
* obj2
= 0 ;
29691 char *kwnames
[] = {
29692 (char *) "self",(char *) "x",(char *) "y", NULL
29695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29698 arg2
= (int)SWIG_As_int(obj1
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29700 arg3
= (int)SWIG_As_int(obj2
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 Py_INCREF(Py_None
); resultobj
= Py_None
;
29716 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
;
29718 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29719 int *arg2
= (int *) 0 ;
29720 int *arg3
= (int *) 0 ;
29725 PyObject
* obj0
= 0 ;
29726 char *kwnames
[] = {
29727 (char *) "self", NULL
29730 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29731 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 Py_INCREF(Py_None
); resultobj
= Py_None
;
29743 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29744 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29745 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29746 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29753 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29756 int *arg2
= (int *) 0 ;
29757 int *arg3
= (int *) 0 ;
29762 PyObject
* obj0
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self", NULL
29767 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29768 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 Py_INCREF(Py_None
); resultobj
= Py_None
;
29780 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29781 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29782 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29783 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29790 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
;
29792 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29793 int *arg2
= (int *) 0 ;
29794 int *arg3
= (int *) 0 ;
29799 PyObject
* obj0
= 0 ;
29800 char *kwnames
[] = {
29801 (char *) "self", NULL
29804 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29805 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29811 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 Py_INCREF(Py_None
); resultobj
= Py_None
;
29817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29818 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29819 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29820 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29827 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 wxSize
* resultptr
;
29848 resultptr
= new wxSize((wxSize
&) result
);
29849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29857 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29861 PyObject
* obj0
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29877 wxSize
* resultptr
;
29878 resultptr
= new wxSize((wxSize
&) result
);
29879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29887 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
;
29889 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 (arg1
)->base_InitDialog();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 Py_INCREF(Py_None
); resultobj
= Py_None
;
29912 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29913 PyObject
*resultobj
;
29914 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 char *kwnames
[] = {
29918 (char *) "self", NULL
29921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 result
= (bool)(arg1
)->base_TransferDataToWindow();
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29940 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
;
29942 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29944 PyObject
* obj0
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29968 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29972 PyObject
* obj0
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)(arg1
)->base_Validate();
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29996 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30024 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30052 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 wxSize
* resultptr
;
30073 resultptr
= new wxSize((wxSize
&) result
);
30074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30082 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30085 wxWindow
*arg2
= (wxWindow
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "child", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->base_AddChild(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 Py_INCREF(Py_None
); resultobj
= Py_None
;
30111 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30114 wxWindow
*arg2
= (wxWindow
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 char *kwnames
[] = {
30118 (char *) "self",(char *) "child", NULL
30121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->base_RemoveChild(arg2
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 Py_INCREF(Py_None
); resultobj
= Py_None
;
30140 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30168 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30171 wxColour
*arg2
= 0 ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "c", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 Py_INCREF(Py_None
); resultobj
= Py_None
;
30200 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30203 wxVisualAttributes result
;
30204 PyObject
* obj0
= 0 ;
30205 char *kwnames
[] = {
30206 (char *) "self", NULL
30209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (arg1
)->base_GetDefaultAttributes();
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30220 wxVisualAttributes
* resultptr
;
30221 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30230 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30233 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30235 return Py_BuildValue((char *)"");
30237 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
;
30239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30240 int arg2
= (int) 0 ;
30241 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30242 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30243 wxHelpEvent
*result
;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 PyObject
* obj2
= 0 ;
30248 char *kwnames
[] = {
30249 (char *) "type",(char *) "winid",(char *) "pt", NULL
30252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30254 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30258 arg2
= (int)SWIG_As_int(obj1
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30281 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
;
30283 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30285 PyObject
* obj0
= 0 ;
30286 char *kwnames
[] = {
30287 (char *) "self", NULL
30290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30295 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30297 wxPyEndAllowThreads(__tstate
);
30298 if (PyErr_Occurred()) SWIG_fail
;
30301 wxPoint
* resultptr
;
30302 resultptr
= new wxPoint((wxPoint
&) result
);
30303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30311 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30314 wxPoint
*arg2
= 0 ;
30316 PyObject
* obj0
= 0 ;
30317 PyObject
* obj1
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self",(char *) "pos", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 Py_INCREF(Py_None
); resultobj
= Py_None
;
30343 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30359 result
= (wxString
*) &_result_ref
;
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30378 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30381 wxString
*arg2
= 0 ;
30382 bool temp2
= false ;
30383 PyObject
* obj0
= 0 ;
30384 PyObject
* obj1
= 0 ;
30385 char *kwnames
[] = {
30386 (char *) "self",(char *) "link", NULL
30389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30393 arg2
= wxString_in_helper(obj1
);
30394 if (arg2
== NULL
) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->SetLink((wxString
const &)*arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30419 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30423 PyObject
* obj0
= 0 ;
30424 char *kwnames
[] = {
30425 (char *) "self", NULL
30428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30435 result
= (wxString
*) &_result_ref
;
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30443 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30445 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30454 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
;
30456 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30457 wxString
*arg2
= 0 ;
30458 bool temp2
= false ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self",(char *) "target", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30469 arg2
= wxString_in_helper(obj1
);
30470 if (arg2
== NULL
) SWIG_fail
;
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->SetTarget((wxString
const &)*arg2
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 Py_INCREF(Py_None
); resultobj
= Py_None
;
30495 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30498 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30500 return Py_BuildValue((char *)"");
30502 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
;
30504 wxWindow
*arg1
= (wxWindow
*) NULL
;
30505 bool arg2
= (bool) true ;
30506 wxContextHelp
*result
;
30507 PyObject
* obj0
= 0 ;
30508 PyObject
* obj1
= 0 ;
30509 char *kwnames
[] = {
30510 (char *) "window",(char *) "doNow", NULL
30513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30519 arg2
= (bool)SWIG_As_bool(obj1
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30523 if (!wxPyCheckForApp()) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30537 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
;
30539 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30540 PyObject
* obj0
= 0 ;
30541 char *kwnames
[] = {
30542 (char *) "self", NULL
30545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 Py_INCREF(Py_None
); resultobj
= Py_None
;
30562 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30565 wxWindow
*arg2
= (wxWindow
*) NULL
;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "window", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30596 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
;
30598 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30600 PyObject
* obj0
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "self", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 result
= (bool)(arg1
)->EndContextHelp();
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30627 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30629 return Py_BuildValue((char *)"");
30631 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
;
30633 wxWindow
*arg1
= (wxWindow
*) 0 ;
30634 int arg2
= (int) wxID_CONTEXT_HELP
;
30635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30639 long arg5
= (long) wxBU_AUTODRAW
;
30640 wxContextHelpButton
*result
;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 PyObject
* obj2
= 0 ;
30646 PyObject
* obj3
= 0 ;
30647 PyObject
* obj4
= 0 ;
30648 char *kwnames
[] = {
30649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30656 arg2
= (int)SWIG_As_int(obj1
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30672 arg5
= (long)SWIG_As_long(obj4
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30676 if (!wxPyCheckForApp()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30678 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30690 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30693 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30695 return Py_BuildValue((char *)"");
30697 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30698 PyObject
*resultobj
;
30699 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30700 wxHelpProvider
*result
;
30701 PyObject
* obj0
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "helpProvider", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30723 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
;
30725 wxHelpProvider
*result
;
30726 char *kwnames
[] = {
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30745 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30746 PyObject
*resultobj
;
30747 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30748 wxWindow
*arg2
= (wxWindow
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "window", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30781 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
;
30783 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30784 wxWindow
*arg2
= (wxWindow
*) 0 ;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 char *kwnames
[] = {
30789 (char *) "self",(char *) "window", NULL
30792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (bool)(arg1
)->ShowHelp(arg2
);
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30813 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
;
30815 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30816 wxWindow
*arg2
= (wxWindow
*) 0 ;
30817 wxString
*arg3
= 0 ;
30818 bool temp3
= false ;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 char *kwnames
[] = {
30823 (char *) "self",(char *) "window",(char *) "text", NULL
30826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30832 arg3
= wxString_in_helper(obj2
);
30833 if (arg3
== NULL
) SWIG_fail
;
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30843 Py_INCREF(Py_None
); resultobj
= Py_None
;
30858 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
;
30860 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30862 wxString
*arg3
= 0 ;
30863 bool temp3
= false ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 PyObject
* obj2
= 0 ;
30867 char *kwnames
[] = {
30868 (char *) "self",(char *) "id",(char *) "text", NULL
30871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30874 arg2
= (int)SWIG_As_int(obj1
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 arg3
= wxString_in_helper(obj2
);
30878 if (arg3
== NULL
) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 Py_INCREF(Py_None
); resultobj
= Py_None
;
30903 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30906 wxWindow
*arg2
= (wxWindow
*) 0 ;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "window", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->RemoveHelp(arg2
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 Py_INCREF(Py_None
); resultobj
= Py_None
;
30932 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 wxHelpProvider_Destroy(arg1
);
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 Py_INCREF(Py_None
); resultobj
= Py_None
;
30957 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30962 return Py_BuildValue((char *)"");
30964 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxSimpleHelpProvider
*result
;
30967 char *kwnames
[] = {
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30986 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30989 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30991 return Py_BuildValue((char *)"");
30993 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30994 PyObject
*resultobj
;
30995 wxBitmap
*arg1
= 0 ;
30996 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30997 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30998 wxGenericDragImage
*result
;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "image",(char *) "cursor", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31009 if (arg1
== NULL
) {
31010 PyErr_SetString(PyExc_TypeError
,"null reference");
31014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31017 if (arg2
== NULL
) {
31018 PyErr_SetString(PyExc_TypeError
,"null reference");
31023 if (!wxPyCheckForApp()) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31037 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31038 PyObject
*resultobj
;
31040 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31041 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31042 wxGenericDragImage
*result
;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 char *kwnames
[] = {
31046 (char *) "image",(char *) "cursor", NULL
31049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31053 if (arg1
== NULL
) {
31054 PyErr_SetString(PyExc_TypeError
,"null reference");
31058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31061 if (arg2
== NULL
) {
31062 PyErr_SetString(PyExc_TypeError
,"null reference");
31067 if (!wxPyCheckForApp()) SWIG_fail
;
31068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31069 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31081 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31082 PyObject
*resultobj
;
31083 wxString
*arg1
= 0 ;
31084 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31085 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31086 wxGenericDragImage
*result
;
31087 bool temp1
= false ;
31088 PyObject
* obj0
= 0 ;
31089 PyObject
* obj1
= 0 ;
31090 char *kwnames
[] = {
31091 (char *) "str",(char *) "cursor", NULL
31094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31096 arg1
= wxString_in_helper(obj0
);
31097 if (arg1
== NULL
) SWIG_fail
;
31101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31104 if (arg2
== NULL
) {
31105 PyErr_SetString(PyExc_TypeError
,"null reference");
31110 if (!wxPyCheckForApp()) SWIG_fail
;
31111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31132 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31133 PyObject
*resultobj
;
31134 wxPyTreeCtrl
*arg1
= 0 ;
31135 wxTreeItemId
*arg2
= 0 ;
31136 wxGenericDragImage
*result
;
31137 PyObject
* obj0
= 0 ;
31138 PyObject
* obj1
= 0 ;
31139 char *kwnames
[] = {
31140 (char *) "treeCtrl",(char *) "id", NULL
31143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31147 if (arg1
== NULL
) {
31148 PyErr_SetString(PyExc_TypeError
,"null reference");
31151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31154 if (arg2
== NULL
) {
31155 PyErr_SetString(PyExc_TypeError
,"null reference");
31159 if (!wxPyCheckForApp()) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31173 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxPyListCtrl
*arg1
= 0 ;
31177 wxGenericDragImage
*result
;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "listCtrl",(char *) "id", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31188 if (arg1
== NULL
) {
31189 PyErr_SetString(PyExc_TypeError
,"null reference");
31192 arg2
= (long)SWIG_As_long(obj1
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31195 if (!wxPyCheckForApp()) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31209 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 Py_INCREF(Py_None
); resultobj
= Py_None
;
31234 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
;
31236 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31237 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "self",(char *) "bitmap", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 (arg1
)->SetBackingBitmap(arg2
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 Py_INCREF(Py_None
); resultobj
= Py_None
;
31263 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31264 PyObject
*resultobj
;
31265 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31266 wxPoint
*arg2
= 0 ;
31267 wxWindow
*arg3
= (wxWindow
*) 0 ;
31268 bool arg4
= (bool) false ;
31269 wxRect
*arg5
= (wxRect
*) NULL
;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 PyObject
* obj2
= 0 ;
31275 PyObject
* obj3
= 0 ;
31276 PyObject
* obj4
= 0 ;
31277 char *kwnames
[] = {
31278 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31288 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31291 arg4
= (bool)SWIG_As_bool(obj3
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31295 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31314 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
;
31316 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31317 wxPoint
*arg2
= 0 ;
31318 wxWindow
*arg3
= (wxWindow
*) 0 ;
31319 wxWindow
*arg4
= (wxWindow
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 PyObject
* obj2
= 0 ;
31325 PyObject
* obj3
= 0 ;
31326 char *kwnames
[] = {
31327 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31337 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31339 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31361 PyObject
* obj0
= 0 ;
31362 char *kwnames
[] = {
31363 (char *) "self", NULL
31366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)(arg1
)->EndDrag();
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31385 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31388 wxPoint
*arg2
= 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self",(char *) "pt", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31420 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
;
31422 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31424 PyObject
* obj0
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (bool)(arg1
)->Show();
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31448 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
;
31450 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31452 PyObject
* obj0
= 0 ;
31453 char *kwnames
[] = {
31454 (char *) "self", NULL
31457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= (bool)(arg1
)->Hide();
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31476 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31479 wxPoint
*arg2
= 0 ;
31482 PyObject
* obj0
= 0 ;
31483 PyObject
* obj1
= 0 ;
31484 char *kwnames
[] = {
31485 (char *) "self",(char *) "pos", NULL
31488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31503 wxRect
* resultptr
;
31504 resultptr
= new wxRect((wxRect
&) result
);
31505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31513 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31514 PyObject
*resultobj
;
31515 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31517 wxPoint
*arg3
= 0 ;
31520 PyObject
* obj0
= 0 ;
31521 PyObject
* obj1
= 0 ;
31522 PyObject
* obj2
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "self",(char *) "dc",(char *) "pos", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31533 if (arg2
== NULL
) {
31534 PyErr_SetString(PyExc_TypeError
,"null reference");
31539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31557 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
;
31559 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31561 wxMemoryDC
*arg3
= 0 ;
31567 PyObject
* obj0
= 0 ;
31568 PyObject
* obj1
= 0 ;
31569 PyObject
* obj2
= 0 ;
31570 PyObject
* obj3
= 0 ;
31571 PyObject
* obj4
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31582 if (arg2
== NULL
) {
31583 PyErr_SetString(PyExc_TypeError
,"null reference");
31586 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31589 if (arg3
== NULL
) {
31590 PyErr_SetString(PyExc_TypeError
,"null reference");
31595 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31599 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31617 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31618 PyObject
*resultobj
;
31619 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31620 wxPoint
*arg2
= 0 ;
31621 wxPoint
*arg3
= 0 ;
31627 PyObject
* obj0
= 0 ;
31628 PyObject
* obj1
= 0 ;
31629 PyObject
* obj2
= 0 ;
31630 PyObject
* obj3
= 0 ;
31631 PyObject
* obj4
= 0 ;
31632 char *kwnames
[] = {
31633 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31647 arg4
= (bool)SWIG_As_bool(obj3
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31649 arg5
= (bool)SWIG_As_bool(obj4
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31667 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31670 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31672 return Py_BuildValue((char *)"");
31674 static PyMethodDef SwigMethods
[] = {
31675 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31697 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31709 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31738 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31752 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31764 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31777 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31800 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31809 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31840 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31896 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31901 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31913 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31960 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31993 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32001 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
32022 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32046 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32054 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32056 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32061 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32066 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32096 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32147 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32159 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32211 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32238 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32309 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32321 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32329 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32336 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32352 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32427 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32449 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32454 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32480 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32488 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32493 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32495 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32504 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32506 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32524 { NULL
, NULL
, 0, NULL
}
32528 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32530 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32531 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32533 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32534 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32536 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) {
32537 return (void *)((wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32539 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32540 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32542 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32543 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32545 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32546 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32548 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32549 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32551 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32552 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32554 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32555 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32557 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32558 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32560 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32561 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32563 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32564 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32566 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32567 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32569 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32570 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32572 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32573 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32575 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32576 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32578 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32579 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32581 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32582 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32584 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32585 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32587 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32590 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32593 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32594 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32596 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32597 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32599 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32600 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32602 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32603 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32605 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32606 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32608 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32609 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32611 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32612 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32614 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32617 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32618 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32620 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32621 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32623 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32624 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32626 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32627 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32629 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32630 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32632 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32635 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32638 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32641 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32644 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32647 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32650 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32653 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32656 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32659 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32662 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32663 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32665 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32666 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32668 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32669 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32671 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32672 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32674 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32675 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32677 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32680 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32683 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32684 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32686 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32687 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32689 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32690 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32692 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32693 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32695 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32696 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32698 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32699 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32701 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32702 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32704 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32705 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32707 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32708 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32710 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32711 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32713 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32714 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32716 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32717 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32719 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32720 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32722 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32723 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32725 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32726 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32728 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32729 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32731 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32732 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32734 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32735 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32737 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32738 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32740 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32741 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32743 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32744 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32746 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32747 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32749 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32750 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32752 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32753 return (void *)((wxControl
*) ((wxGauge
*) x
));
32755 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32756 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32758 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
32759 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxChoicebook
*) x
));
32761 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32762 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32764 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32765 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32767 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32768 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32770 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32771 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32773 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32774 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32776 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32777 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32779 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32780 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32782 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32783 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32785 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32786 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32788 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32789 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32791 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32792 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32794 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32795 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32797 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32798 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32800 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32801 return (void *)((wxControl
*) ((wxSlider
*) x
));
32803 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32804 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32806 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32807 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32809 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32810 return (void *)((wxControl
*) ((wxButton
*) x
));
32812 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32813 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32815 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32816 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32818 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32819 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32821 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32822 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32824 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32825 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32827 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32828 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32830 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32831 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32833 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32834 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32836 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32837 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32839 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32840 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32842 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
32843 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32845 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32848 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32851 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32852 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32854 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32855 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32857 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32860 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32863 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32866 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32869 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32872 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32875 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32878 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32881 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32884 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32887 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32890 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32891 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32893 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32896 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32899 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32902 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32905 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32908 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
32909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
32911 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32914 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32917 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32920 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32923 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32926 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32929 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32932 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32935 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32938 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32939 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32941 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32942 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32944 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32947 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32948 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32950 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32951 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32953 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32954 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32956 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32957 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32959 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32960 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32962 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32963 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32965 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32966 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32968 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32969 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32971 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) {
32972 return (void *)((wxBookCtrl
*) ((wxChoicebook
*) x
));
32974 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32975 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32977 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32978 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32980 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32981 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32983 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32984 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32986 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32987 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32989 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32990 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32992 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32995 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32998 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33001 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33004 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33007 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33010 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33013 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33016 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33019 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) ((wxSizer
*) x
));
33022 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33025 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33028 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33031 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33034 static void *_p_wxEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) ((wxEvent
*) x
));
33037 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33040 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33043 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33046 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33049 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33052 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33055 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33058 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33061 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33064 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33067 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33070 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33073 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33076 static void *_p_wxControlTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33079 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33082 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33085 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33088 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33091 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33094 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33097 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33100 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33103 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33106 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33109 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33112 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33115 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33118 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33121 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33124 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33127 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33130 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33133 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33136 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33139 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33142 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33145 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33148 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33151 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33154 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33157 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33160 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33163 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33166 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33169 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33172 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33175 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33178 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33181 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33184 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33187 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33190 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33193 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33196 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33199 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33202 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33205 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33208 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33211 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33214 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33217 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33220 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33223 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33226 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33229 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33232 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33235 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33238 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33241 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33244 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33247 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) ((wxListItem
*) x
));
33250 static void *_p_wxImageTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) ((wxImage
*) x
));
33253 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33256 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33259 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33262 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33265 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33268 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33271 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33274 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33277 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33280 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33283 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33286 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33289 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33292 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33295 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33298 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33301 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33304 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33307 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33310 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33313 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33316 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33319 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33322 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33325 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33328 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33329 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33331 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33332 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33334 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33337 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33340 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33341 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33343 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33344 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33346 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33347 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33349 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33352 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33353 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33355 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33356 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33358 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33359 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33361 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33362 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33364 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33365 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33367 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33368 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33370 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33371 return (void *)((wxWindow
*) ((wxControl
*) x
));
33373 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33374 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33376 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33377 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33379 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33380 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33382 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33383 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33385 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33386 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33388 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33389 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33391 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33392 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33394 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33395 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33397 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33398 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33400 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33401 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33403 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33404 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33406 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33407 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33409 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33410 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33412 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33413 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33415 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33416 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33418 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33419 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33421 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33422 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33424 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33425 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33427 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33428 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33430 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33431 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33433 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33434 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33436 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33437 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33439 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33440 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33442 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33443 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33445 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33446 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33448 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33449 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33451 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33452 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33454 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33455 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33457 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33458 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33460 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33461 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33463 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33464 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33466 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33467 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33469 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33470 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33472 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33473 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33475 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33476 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33478 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33479 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33481 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33482 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33484 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33485 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33487 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33488 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33490 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33491 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33493 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33494 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33496 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33497 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33499 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33500 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33502 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33503 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33505 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33506 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33508 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33509 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33511 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33512 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33514 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33515 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33517 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33518 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33520 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33521 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33523 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33524 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33526 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33527 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33529 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}};
33530 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}};
33531 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}};
33532 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}};
33533 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}};
33534 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}};
33535 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}};
33536 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}};
33537 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}};
33538 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}};
33539 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}};
33540 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}};
33541 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}};
33542 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}};
33543 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}};
33544 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}};
33545 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}};
33546 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}};
33547 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}};
33548 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}};
33549 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}};
33550 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}};
33551 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}};
33552 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}};
33553 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}};
33554 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}};
33555 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}};
33556 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}};
33557 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}};
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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}};
33563 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}};
33564 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}};
33565 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}};
33566 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}};
33567 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}};
33568 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}};
33569 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}};
33570 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}};
33571 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}};
33572 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}};
33573 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}};
33574 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}};
33575 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}};
33576 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}};
33577 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}};
33578 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}};
33579 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}};
33580 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}};
33581 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}};
33582 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}};
33583 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}};
33584 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}};
33585 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}};
33586 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}};
33587 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}};
33588 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}};
33589 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}};
33590 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}};
33591 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}};
33592 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}};
33593 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}};
33594 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}};
33595 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}};
33596 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}};
33597 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}};
33598 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}};
33599 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}};
33600 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}};
33601 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}};
33602 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}};
33603 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}};
33604 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}};
33605 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}};
33606 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}};
33607 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}};
33608 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}};
33609 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}};
33610 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}};
33611 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}};
33612 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}};
33613 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}};
33614 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}};
33615 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}};
33617 static swig_type_info
*swig_types_initial
[] = {
33618 _swigt__p_wxTextUrlEvent
,
33619 _swigt__p_wxBookCtrlEvent
,
33621 _swigt__p_wxCheckBox
,
33622 _swigt__p_wxPyTreeCtrl
,
33624 _swigt__p_wxGenericDirCtrl
,
33626 _swigt__p_wxPyTreeItemData
,
33627 _swigt__p_wxItemContainer
,
33628 _swigt__p_wxPyListCtrl
,
33629 _swigt__p_wxDirFilterListCtrl
,
33630 _swigt__p_wxStaticLine
,
33631 _swigt__p_wxControl
,
33632 _swigt__p_wxPyControl
,
33634 _swigt__p_wxToolBarBase
,
33636 _swigt__p_wxToggleButton
,
33637 _swigt__p_wxRadioButton
,
33638 _swigt__p_wxChoice
,
33639 _swigt__p_wxMemoryDC
,
33640 _swigt__p_wxListItemAttr
,
33645 _swigt__p_wxListView
,
33647 _swigt__p_wxVisualAttributes
,
33648 _swigt__p_wxTextCtrl
,
33649 _swigt__p_wxNotebook
,
33650 _swigt__p_wxChoicebook
,
33651 _swigt__p_wxNotifyEvent
,
33652 _swigt__p_wxArrayString
,
33653 _swigt__p_wxListbook
,
33654 _swigt__p_wxStaticBitmap
,
33655 _swigt__p_wxSlider
,
33656 _swigt__p_wxStaticBox
,
33657 _swigt__p_wxArrayInt
,
33658 _swigt__p_wxContextHelp
,
33660 _swigt__p_wxEvtHandler
,
33661 _swigt__p_wxListEvent
,
33662 _swigt__p_wxCheckListBox
,
33663 _swigt__p_wxListBox
,
33664 _swigt__p_wxBookCtrl
,
33665 _swigt__p_wxSpinButton
,
33666 _swigt__p_wxButton
,
33667 _swigt__p_wxBitmapButton
,
33669 _swigt__p_wxContextHelpButton
,
33670 _swigt__p_wxRadioBox
,
33671 _swigt__p_wxScrollBar
,
33673 _swigt__p_wxTreeItemId
,
33674 _swigt__p_wxComboBox
,
33675 _swigt__p_wxHelpEvent
,
33676 _swigt__p_wxListItem
,
33677 _swigt__p_wxNotebookSizer
,
33678 _swigt__p_wxSpinEvent
,
33679 _swigt__p_wxGenericDragImage
,
33680 _swigt__p_wxSpinCtrl
,
33681 _swigt__p_wxImageList
,
33682 _swigt__p_wxHelpProvider
,
33683 _swigt__p_wxTextAttr
,
33684 _swigt__p_wxSimpleHelpProvider
,
33686 _swigt__p_wxChoicebookEvent
,
33687 _swigt__p_wxListbookEvent
,
33688 _swigt__p_wxNotebookEvent
,
33689 _swigt__p_wxObject
,
33690 _swigt__p_wxCursor
,
33691 _swigt__p_wxKeyEvent
,
33692 _swigt__p_wxWindow
,
33693 _swigt__p_wxString
,
33694 _swigt__p_wxBitmap
,
33695 _swigt__p_wxTreeEvent
,
33696 _swigt__p_wxMouseEvent
,
33697 _swigt__p_wxCommandEvent
,
33698 _swigt__p_wxStaticText
,
33699 _swigt__p_wxControlWithItems
,
33700 _swigt__p_wxToolBarToolBase
,
33701 _swigt__p_wxColour
,
33702 _swigt__p_wxToolBar
,
33703 _swigt__p_wxBookCtrlSizer
,
33704 _swigt__p_wxValidator
,
33709 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33711 static swig_const_info swig_const_table
[] = {
33712 {0, 0, 0, 0.0, 0, 0}};
33721 SWIGEXPORT(void) SWIG_init(void) {
33722 static PyObject
*SWIG_globals
= 0;
33723 static int typeinit
= 0;
33726 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33727 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33728 d
= PyModule_GetDict(m
);
33731 for (i
= 0; swig_types_initial
[i
]; i
++) {
33732 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33736 SWIG_InstallConstants(d
,swig_const_table
);
33738 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33739 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33740 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33741 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33742 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33743 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
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");