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_wxSizer swig_types[1]
213 #define SWIGTYPE_p_wxCheckBox swig_types[2]
214 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
215 #define SWIGTYPE_p_wxEvent swig_types[4]
216 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
217 #define SWIGTYPE_p_bool swig_types[6]
218 #define SWIGTYPE_p_wxPyTreeItemData swig_types[7]
219 #define SWIGTYPE_p_wxItemContainer swig_types[8]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[9]
221 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxStaticLine swig_types[11]
223 #define SWIGTYPE_p_wxControl swig_types[12]
224 #define SWIGTYPE_p_wxPyControl swig_types[13]
225 #define SWIGTYPE_p_wxGauge swig_types[14]
226 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
227 #define SWIGTYPE_p_wxFont swig_types[16]
228 #define SWIGTYPE_p_wxToggleButton swig_types[17]
229 #define SWIGTYPE_p_wxRadioButton swig_types[18]
230 #define SWIGTYPE_p_wxChoice swig_types[19]
231 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
232 #define SWIGTYPE_p_wxListItemAttr swig_types[21]
233 #define SWIGTYPE_p_void swig_types[22]
234 #define SWIGTYPE_p_int swig_types[23]
235 #define SWIGTYPE_p_wxSize swig_types[24]
236 #define SWIGTYPE_p_wxDC swig_types[25]
237 #define SWIGTYPE_p_wxListView swig_types[26]
238 #define SWIGTYPE_p_wxIcon swig_types[27]
239 #define SWIGTYPE_p_wxVisualAttributes swig_types[28]
240 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
241 #define SWIGTYPE_p_wxNotebook swig_types[30]
242 #define SWIGTYPE_p_wxChoicebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxBookCtrlBase 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_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_char swig_types[53]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
266 #define SWIGTYPE_p_wxComboBox swig_types[55]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
268 #define SWIGTYPE_p_wxListItem swig_types[57]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273 #define SWIGTYPE_p_wxImageList swig_types[62]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxTextAttr swig_types[64]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277 #define SWIGTYPE_p_wxPoint swig_types[66]
278 #define SWIGTYPE_p_wxChoicebookEvent swig_types[67]
279 #define SWIGTYPE_p_wxListbookEvent swig_types[68]
280 #define SWIGTYPE_p_wxNotebookEvent swig_types[69]
281 #define SWIGTYPE_p_wxObject swig_types[70]
282 #define SWIGTYPE_p_wxCursor swig_types[71]
283 #define SWIGTYPE_p_wxKeyEvent swig_types[72]
284 #define SWIGTYPE_p_wxWindow swig_types[73]
285 #define SWIGTYPE_p_wxString swig_types[74]
286 #define SWIGTYPE_p_wxBitmap swig_types[75]
287 #define SWIGTYPE_p_wxTreeEvent swig_types[76]
288 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
289 #define SWIGTYPE_p_wxBookCtrlBaseEvent 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_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 char *kwnames
[] = {
14259 (char *) "self", NULL
14262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
14263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (size_t)((wxBookCtrlBase
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_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14280 PyObject
*resultobj
;
14281 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 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:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
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_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= wxPyMake_wxObject(result
, 0);
14339 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
14349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_From_int((int)result
);
14365 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14369 wxString
*arg3
= 0 ;
14371 bool temp3
= false ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 PyObject
* obj2
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "n",(char *) "strText", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 arg3
= wxString_in_helper(obj2
);
14386 if (arg3
== NULL
) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
;
14415 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "n", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14449 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14452 wxImageList
*arg2
= (wxImageList
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "imageList", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 (arg1
)->SetImageList(arg2
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 Py_INCREF(Py_None
); resultobj
= Py_None
;
14478 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14481 wxImageList
*arg2
= (wxImageList
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "imageList", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14492 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->AssignImageList(arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14507 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14510 wxImageList
*result
;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= wxPyMake_wxObject(result
, 0);
14535 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self",(char *) "n", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14549 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_From_int((int)result
);
14565 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 PyObject
* obj2
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "n",(char *) "imageId", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14581 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14583 arg3
= (int)SWIG_As_int(obj2
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14601 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj1
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self",(char *) "size", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "sizePage", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14650 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 wxSize
* resultptr
;
14661 resultptr
= new wxSize((wxSize
&) result
);
14662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14670 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "n", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (bool)(arg1
)->DeletePage(arg2
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14702 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "n", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (bool)(arg1
)->RemovePage(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14734 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 char *kwnames
[] = {
14740 (char *) "self", NULL
14743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= (bool)(arg1
)->DeleteAllPages();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14762 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14765 wxWindow
*arg2
= (wxWindow
*) 0 ;
14766 wxString
*arg3
= 0 ;
14767 bool arg4
= (bool) false ;
14768 int arg5
= (int) -1 ;
14770 bool temp3
= false ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 PyObject
* obj3
= 0 ;
14775 PyObject
* obj4
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14786 arg3
= wxString_in_helper(obj2
);
14787 if (arg3
== NULL
) SWIG_fail
;
14791 arg4
= (bool)SWIG_As_bool(obj3
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 arg5
= (int)SWIG_As_int(obj4
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
;
14824 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14826 wxWindow
*arg3
= (wxWindow
*) 0 ;
14827 wxString
*arg4
= 0 ;
14828 bool arg5
= (bool) false ;
14829 int arg6
= (int) -1 ;
14831 bool temp4
= false ;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 PyObject
* obj2
= 0 ;
14835 PyObject
* obj3
= 0 ;
14836 PyObject
* obj4
= 0 ;
14837 PyObject
* obj5
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14850 arg4
= wxString_in_helper(obj3
);
14851 if (arg4
== NULL
) SWIG_fail
;
14855 arg5
= (bool)SWIG_As_bool(obj4
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14859 arg6
= (int)SWIG_As_int(obj5
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14886 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "n", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (int)(arg1
)->SetSelection(arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= SWIG_From_int((int)result
);
14916 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14919 bool arg2
= (bool) true ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "forward", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 arg2
= (bool)SWIG_As_bool(obj1
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 (arg1
)->AdvanceSelection(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 Py_INCREF(Py_None
); resultobj
= Py_None
;
14947 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14950 wxVisualAttributes result
;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "variant", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14958 arg1
= (int)SWIG_As_int(obj0
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14962 if (!wxPyCheckForApp()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 wxVisualAttributes
* resultptr
;
14971 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14980 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
14982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14983 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
14985 return Py_BuildValue((char *)"");
14987 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14990 int arg2
= (int) 0 ;
14991 int arg3
= (int) -1 ;
14992 int arg4
= (int) -1 ;
14993 wxBookCtrlBaseEvent
*result
;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 PyObject
* obj2
= 0 ;
14997 PyObject
* obj3
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15004 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 arg2
= (int)SWIG_As_int(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15012 arg3
= (int)SWIG_As_int(obj2
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15016 arg4
= (int)SWIG_As_int(obj3
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
15033 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "self", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_From_int((int)result
);
15059 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self",(char *) "nSel", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 arg2
= (int)SWIG_As_int(obj1
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 (arg1
)->SetSelection(arg2
);
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 Py_INCREF(Py_None
); resultobj
= Py_None
;
15088 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= SWIG_From_int((int)result
);
15114 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self",(char *) "nOldSel", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 arg2
= (int)SWIG_As_int(obj1
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->SetOldSelection(arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxWindow
*arg1
= (wxWindow
*) 0 ;
15153 int arg2
= (int) -1 ;
15154 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15155 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15156 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15157 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15158 long arg5
= (long) 0 ;
15159 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15160 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15161 wxNotebook
*result
;
15164 bool temp6
= false ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 PyObject
* obj2
= 0 ;
15168 PyObject
* obj3
= 0 ;
15169 PyObject
* obj4
= 0 ;
15170 PyObject
* obj5
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15179 arg2
= (int)SWIG_As_int(obj1
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15195 arg5
= (long)SWIG_As_long(obj4
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15200 arg6
= wxString_in_helper(obj5
);
15201 if (arg6
== NULL
) SWIG_fail
;
15206 if (!wxPyCheckForApp()) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15228 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxNotebook
*result
;
15231 char *kwnames
[] = {
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15237 if (!wxPyCheckForApp()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxNotebook
*)new wxNotebook();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15251 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15254 wxWindow
*arg2
= (wxWindow
*) 0 ;
15255 int arg3
= (int) -1 ;
15256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15260 long arg6
= (long) 0 ;
15261 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15266 bool temp7
= false ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 PyObject
* obj2
= 0 ;
15270 PyObject
* obj3
= 0 ;
15271 PyObject
* obj4
= 0 ;
15272 PyObject
* obj5
= 0 ;
15273 PyObject
* obj6
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 arg3
= (int)SWIG_As_int(obj2
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15290 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15296 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15300 arg6
= (long)SWIG_As_long(obj5
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15305 arg7
= wxString_in_helper(obj6
);
15306 if (arg7
== NULL
) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_From_int((int)result
);
15360 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "padding", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 Py_INCREF(Py_None
); resultobj
= Py_None
;
15392 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char *kwnames
[] = {
15400 (char *) "self",(char *) "sz", NULL
15403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 Py_INCREF(Py_None
); resultobj
= Py_None
;
15424 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15427 wxPoint
*arg2
= 0 ;
15428 long *arg3
= (long *) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "pt", NULL
15439 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_From_int((int)result
);
15455 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15456 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15463 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "sizePage", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 wxSize
* resultptr
;
15491 resultptr
= new wxSize((wxSize
&) result
);
15492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15500 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15503 wxVisualAttributes result
;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "variant", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15511 arg1
= (int)SWIG_As_int(obj0
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 if (!wxPyCheckForApp()) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 wxVisualAttributes
* resultptr
;
15524 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15533 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15536 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15538 return Py_BuildValue((char *)"");
15540 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15543 int arg2
= (int) 0 ;
15544 int arg3
= (int) -1 ;
15545 int arg4
= (int) -1 ;
15546 wxNotebookEvent
*result
;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 PyObject
* obj3
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15557 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 arg2
= (int)SWIG_As_int(obj1
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 arg3
= (int)SWIG_As_int(obj2
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15569 arg4
= (int)SWIG_As_int(obj3
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15586 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15589 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15591 return Py_BuildValue((char *)"");
15593 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15594 PyObject
*resultobj
;
15595 wxWindow
*arg1
= (wxWindow
*) 0 ;
15596 int arg2
= (int) -1 ;
15597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15601 long arg5
= (long) 0 ;
15602 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15604 wxListbook
*result
;
15607 bool temp6
= false ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 PyObject
* obj2
= 0 ;
15611 PyObject
* obj3
= 0 ;
15612 PyObject
* obj4
= 0 ;
15613 PyObject
* obj5
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 arg2
= (int)SWIG_As_int(obj1
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15638 arg5
= (long)SWIG_As_long(obj4
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15643 arg6
= wxString_in_helper(obj5
);
15644 if (arg6
== NULL
) SWIG_fail
;
15649 if (!wxPyCheckForApp()) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15671 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxListbook
*result
;
15674 char *kwnames
[] = {
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15680 if (!wxPyCheckForApp()) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (wxListbook
*)new wxListbook();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15694 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15695 PyObject
*resultobj
;
15696 wxListbook
*arg1
= (wxListbook
*) 0 ;
15697 wxWindow
*arg2
= (wxWindow
*) 0 ;
15698 int arg3
= (int) -1 ;
15699 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15700 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15701 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15702 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15703 long arg6
= (long) 0 ;
15704 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15705 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15709 bool temp7
= false ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 PyObject
* obj2
= 0 ;
15713 PyObject
* obj3
= 0 ;
15714 PyObject
* obj4
= 0 ;
15715 PyObject
* obj5
= 0 ;
15716 PyObject
* obj6
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 arg3
= (int)SWIG_As_int(obj2
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15743 arg6
= (long)SWIG_As_long(obj5
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15748 arg7
= wxString_in_helper(obj6
);
15749 if (arg7
== NULL
) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxListbook
*arg1
= (wxListbook
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",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
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15805 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxListbook
*arg1
= (wxListbook
*) 0 ;
15808 wxListView
*result
;
15809 PyObject
* obj0
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (wxListView
*)(arg1
)->GetListView();
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15831 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15834 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15836 return Py_BuildValue((char *)"");
15838 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15841 int arg2
= (int) 0 ;
15842 int arg3
= (int) -1 ;
15843 int arg4
= (int) -1 ;
15844 wxListbookEvent
*result
;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 PyObject
* obj2
= 0 ;
15848 PyObject
* obj3
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15855 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 arg2
= (int)SWIG_As_int(obj1
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15863 arg3
= (int)SWIG_As_int(obj2
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15867 arg4
= (int)SWIG_As_int(obj3
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15884 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15887 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15889 return Py_BuildValue((char *)"");
15891 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxWindow
*arg1
= (wxWindow
*) 0 ;
15895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15899 long arg5
= (long) 0 ;
15900 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15901 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15902 wxChoicebook
*result
;
15905 bool temp6
= false ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 PyObject
* obj2
= 0 ;
15909 PyObject
* obj3
= 0 ;
15910 PyObject
* obj4
= 0 ;
15911 PyObject
* obj5
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 arg2
= (int)SWIG_As_int(obj1
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15934 arg5
= (long)SWIG_As_long(obj4
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15939 arg6
= wxString_in_helper(obj5
);
15940 if (arg6
== NULL
) SWIG_fail
;
15945 if (!wxPyCheckForApp()) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15967 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxChoicebook
*result
;
15970 char *kwnames
[] = {
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
15976 if (!wxPyCheckForApp()) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (wxChoicebook
*)new wxChoicebook();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15990 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
15993 wxWindow
*arg2
= (wxWindow
*) 0 ;
15995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15999 long arg6
= (long) 0 ;
16000 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16001 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16005 bool temp7
= false ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 PyObject
* obj3
= 0 ;
16010 PyObject
* obj4
= 0 ;
16011 PyObject
* obj5
= 0 ;
16012 PyObject
* obj6
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 arg3
= (int)SWIG_As_int(obj2
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16037 arg6
= (long)SWIG_As_long(obj5
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16042 arg7
= wxString_in_helper(obj6
);
16043 if (arg7
== NULL
) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16071 static PyObject
*_wrap_Choicebook_IsVertical(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_IsVertical",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)((wxChoicebook
const *)arg1
)->IsVertical();
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16099 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 result
= (bool)(arg1
)->DeleteAllPages();
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16127 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16130 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16132 return Py_BuildValue((char *)"");
16134 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16137 int arg2
= (int) 0 ;
16138 int arg3
= (int) -1 ;
16139 int arg4
= (int) -1 ;
16140 wxChoicebookEvent
*result
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 PyObject
* obj3
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16151 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 arg2
= (int)SWIG_As_int(obj1
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16159 arg3
= (int)SWIG_As_int(obj2
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 arg4
= (int)SWIG_As_int(obj3
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16180 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16183 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16185 return Py_BuildValue((char *)"");
16187 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16190 wxBookCtrlSizer
*result
;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "nb", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16213 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 char *kwnames
[] = {
16218 (char *) "self", NULL
16221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->RecalcSizes();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
;
16240 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 char *kwnames
[] = {
16244 (char *) "self", NULL
16247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (arg1
)->CalcMin();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16258 wxSize
* resultptr
;
16259 resultptr
= new wxSize((wxSize
&) result
);
16260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16268 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16271 wxBookCtrlBase
*result
;
16272 PyObject
* obj0
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
16294 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16297 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16299 return Py_BuildValue((char *)"");
16301 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16304 wxNotebookSizer
*result
;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "nb", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16327 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->RecalcSizes();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (arg1
)->CalcMin();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 wxSize
* resultptr
;
16373 resultptr
= new wxSize((wxSize
&) result
);
16374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16382 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16385 wxNotebook
*result
;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= wxPyMake_wxObject(result
, 0);
16410 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16413 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16415 return Py_BuildValue((char *)"");
16417 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
;
16419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "self", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (int)(arg1
)->GetId();
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= SWIG_From_int((int)result
);
16443 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
;
16445 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",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
= (wxControl
*)(arg1
)->GetControl();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= wxPyMake_wxObject(result
, 0);
16471 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16474 wxToolBarBase
*result
;
16475 PyObject
* obj0
= 0 ;
16476 char *kwnames
[] = {
16477 (char *) "self", NULL
16480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",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
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= wxPyMake_wxObject(result
, 0);
16499 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (int)(arg1
)->IsButton();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_From_int((int)result
);
16525 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (int)(arg1
)->IsControl();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 resultobj
= SWIG_From_int((int)result
);
16551 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
;
16553 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (int)(arg1
)->IsSeparator();
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= SWIG_From_int((int)result
);
16577 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "self", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (int)(arg1
)->GetStyle();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_From_int((int)result
);
16603 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (int)(arg1
)->GetKind();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_From_int((int)result
);
16629 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled",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
)->IsEnabled();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 static PyObject
*_wrap_ToolBarToolBase_IsToggled(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_IsToggled",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
)->IsToggled();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16685 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(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_CanBeToggled",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();
16699 result
= (bool)(arg1
)->CanBeToggled();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16713 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16729 result
= (wxBitmap
*) &_result_ref
;
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 wxBitmap
* resultptr
= new wxBitmap(*result
);
16737 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16745 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16761 result
= (wxBitmap
*) &_result_ref
;
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 wxBitmap
* resultptr
= new wxBitmap(*result
);
16769 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16777 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16781 PyObject
* obj0
= 0 ;
16782 char *kwnames
[] = {
16783 (char *) "self", NULL
16786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (arg1
)->GetBitmap();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 wxBitmap
* resultptr
;
16798 resultptr
= new wxBitmap((wxBitmap
&) result
);
16799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16807 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
;
16809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (arg1
)->GetLabel();
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16839 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16843 PyObject
* obj0
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (arg1
)->GetShortHelp();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16871 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (arg1
)->GetLongHelp();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16903 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self",(char *) "enable", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16917 arg2
= (bool)SWIG_As_bool(obj1
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)(arg1
)->Enable(arg2
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16935 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "self", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self",(char *) "toggle", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16974 arg2
= (bool)SWIG_As_bool(obj1
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (bool)(arg1
)->SetToggle(arg2
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
;
16994 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16995 wxString
*arg2
= 0 ;
16997 bool temp2
= false ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "help", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17008 arg2
= wxString_in_helper(obj1
);
17009 if (arg2
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17036 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
;
17038 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17039 wxString
*arg2
= 0 ;
17041 bool temp2
= false ;
17042 PyObject
* obj0
= 0 ;
17043 PyObject
* obj1
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "help", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17052 arg2
= wxString_in_helper(obj1
);
17053 if (arg2
== NULL
) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17080 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17083 wxBitmap
*arg2
= 0 ;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self",(char *) "bmp", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17096 if (arg2
== NULL
) {
17097 PyErr_SetString(PyExc_TypeError
,"null reference");
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17114 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17117 wxBitmap
*arg2
= 0 ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self",(char *) "bmp", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17130 if (arg2
== NULL
) {
17131 PyErr_SetString(PyExc_TypeError
,"null reference");
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17141 Py_INCREF(Py_None
); resultobj
= Py_None
;
17148 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17151 wxString
*arg2
= 0 ;
17152 bool temp2
= false ;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self",(char *) "label", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 arg2
= wxString_in_helper(obj1
);
17164 if (arg2
== NULL
) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->SetLabel((wxString
const &)*arg2
);
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 Py_INCREF(Py_None
); resultobj
= Py_None
;
17189 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17217 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self",(char *) "tbar", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->Attach(arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= result
;
17269 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
;
17271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17272 PyObject
*arg2
= (PyObject
*) 0 ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self",(char *) "clientData", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17290 Py_INCREF(Py_None
); resultobj
= Py_None
;
17297 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17300 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17302 return Py_BuildValue((char *)"");
17304 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17308 wxString
*arg3
= 0 ;
17309 wxBitmap
*arg4
= 0 ;
17310 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17311 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17312 int arg6
= (int) wxITEM_NORMAL
;
17313 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17314 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17315 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17317 PyObject
*arg9
= (PyObject
*) NULL
;
17318 wxToolBarToolBase
*result
;
17319 bool temp3
= false ;
17320 bool temp7
= false ;
17321 bool temp8
= false ;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 PyObject
* obj2
= 0 ;
17325 PyObject
* obj3
= 0 ;
17326 PyObject
* obj4
= 0 ;
17327 PyObject
* obj5
= 0 ;
17328 PyObject
* obj6
= 0 ;
17329 PyObject
* obj7
= 0 ;
17330 PyObject
* obj8
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (int)SWIG_As_int(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 arg3
= wxString_in_helper(obj2
);
17342 if (arg3
== NULL
) SWIG_fail
;
17345 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17348 if (arg4
== NULL
) {
17349 PyErr_SetString(PyExc_TypeError
,"null reference");
17353 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17356 if (arg5
== NULL
) {
17357 PyErr_SetString(PyExc_TypeError
,"null reference");
17362 arg6
= (int)SWIG_As_int(obj5
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17367 arg7
= wxString_in_helper(obj6
);
17368 if (arg7
== NULL
) SWIG_fail
;
17374 arg8
= wxString_in_helper(obj7
);
17375 if (arg8
== NULL
) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= wxPyMake_wxObject(result
, 0);
17422 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
;
17424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17427 wxString
*arg4
= 0 ;
17428 wxBitmap
*arg5
= 0 ;
17429 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17430 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17431 int arg7
= (int) wxITEM_NORMAL
;
17432 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17433 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17434 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17435 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17436 PyObject
*arg10
= (PyObject
*) NULL
;
17437 wxToolBarToolBase
*result
;
17438 bool temp4
= false ;
17439 bool temp8
= false ;
17440 bool temp9
= false ;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 PyObject
* obj2
= 0 ;
17444 PyObject
* obj3
= 0 ;
17445 PyObject
* obj4
= 0 ;
17446 PyObject
* obj5
= 0 ;
17447 PyObject
* obj6
= 0 ;
17448 PyObject
* obj7
= 0 ;
17449 PyObject
* obj8
= 0 ;
17450 PyObject
* obj9
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17458 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17460 arg3
= (int)SWIG_As_int(obj2
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 arg4
= wxString_in_helper(obj3
);
17464 if (arg4
== NULL
) SWIG_fail
;
17467 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17470 if (arg5
== NULL
) {
17471 PyErr_SetString(PyExc_TypeError
,"null reference");
17475 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17478 if (arg6
== NULL
) {
17479 PyErr_SetString(PyExc_TypeError
,"null reference");
17484 arg7
= (int)SWIG_As_int(obj6
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17489 arg8
= wxString_in_helper(obj7
);
17490 if (arg8
== NULL
) SWIG_fail
;
17496 arg9
= wxString_in_helper(obj8
);
17497 if (arg9
== NULL
) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 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
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= wxPyMake_wxObject(result
, 0);
17544 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17547 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17548 wxToolBarToolBase
*result
;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "tool", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= wxPyMake_wxObject(result
, 0);
17576 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17580 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17581 wxToolBarToolBase
*result
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 PyObject
* obj2
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "pos",(char *) "tool", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17594 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= wxPyMake_wxObject(result
, 0);
17612 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17615 wxControl
*arg2
= (wxControl
*) 0 ;
17616 wxToolBarToolBase
*result
;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "control", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= wxPyMake_wxObject(result
, 0);
17644 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17648 wxControl
*arg3
= (wxControl
*) 0 ;
17649 wxToolBarToolBase
*result
;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 PyObject
* obj2
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "pos",(char *) "control", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17660 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17662 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 resultobj
= wxPyMake_wxObject(result
, 0);
17680 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "id", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17694 arg2
= (int)SWIG_As_int(obj1
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= wxPyMake_wxObject(result
, 0);
17712 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17713 PyObject
*resultobj
;
17714 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17715 wxToolBarToolBase
*result
;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= wxPyMake_wxObject(result
, 0);
17740 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17744 wxToolBarToolBase
*result
;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "pos", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17754 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= wxPyMake_wxObject(result
, 0);
17772 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17776 wxToolBarToolBase
*result
;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "id", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17786 arg2
= (int)SWIG_As_int(obj1
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= wxPyMake_wxObject(result
, 0);
17804 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "pos", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17836 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "id", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (int)SWIG_As_int(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (bool)(arg1
)->DeleteTool(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17868 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17871 PyObject
* obj0
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 (arg1
)->ClearTools();
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 Py_INCREF(Py_None
); resultobj
= Py_None
;
17893 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (bool)(arg1
)->Realize();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17921 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "id",(char *) "enable", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17936 arg2
= (int)SWIG_As_int(obj1
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17938 arg3
= (bool)SWIG_As_bool(obj2
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->EnableTool(arg2
,arg3
);
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17947 Py_INCREF(Py_None
); resultobj
= Py_None
;
17954 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 PyObject
* obj2
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self",(char *) "id",(char *) "toggle", NULL
17966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17969 arg2
= (int)SWIG_As_int(obj1
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17971 arg3
= (bool)SWIG_As_bool(obj2
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->ToggleTool(arg2
,arg3
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 Py_INCREF(Py_None
); resultobj
= Py_None
;
17987 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 char *kwnames
[] = {
17996 (char *) "self",(char *) "id",(char *) "toggle", NULL
17999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 arg2
= (int)SWIG_As_int(obj1
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18004 arg3
= (bool)SWIG_As_bool(obj2
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->SetToggle(arg2
,arg3
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
;
18022 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self",(char *) "id", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18034 arg2
= (int)SWIG_As_int(obj1
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= result
;
18050 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18054 PyObject
*arg3
= (PyObject
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "id",(char *) "clientData", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= (int)SWIG_As_int(obj1
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 Py_INCREF(Py_None
); resultobj
= Py_None
;
18082 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "id", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 arg2
= (int)SWIG_As_int(obj1
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_From_int((int)result
);
18112 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self",(char *) "id", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18126 arg2
= (int)SWIG_As_int(obj1
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 result
= (bool)(arg1
)->GetToolState(arg2
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18144 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "id", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 arg2
= (int)SWIG_As_int(obj1
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18176 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18180 wxString
*arg3
= 0 ;
18181 bool temp3
= false ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 PyObject
* obj2
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "id",(char *) "helpString", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= (int)SWIG_As_int(obj1
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 arg3
= wxString_in_helper(obj2
);
18196 if (arg3
== NULL
) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18221 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self",(char *) "id", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 arg2
= (int)SWIG_As_int(obj1
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 result
= (arg1
)->GetToolShortHelp(arg2
);
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18257 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18261 wxString
*arg3
= 0 ;
18262 bool temp3
= false ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 PyObject
* obj2
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self",(char *) "id",(char *) "helpString", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 arg2
= (int)SWIG_As_int(obj1
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 arg3
= wxString_in_helper(obj2
);
18277 if (arg3
== NULL
) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18287 Py_INCREF(Py_None
); resultobj
= Py_None
;
18302 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "id", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 arg2
= (int)SWIG_As_int(obj1
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (arg1
)->GetToolLongHelp(arg2
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18338 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self",(char *) "x",(char *) "y", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18353 arg2
= (int)SWIG_As_int(obj1
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18355 arg3
= (int)SWIG_As_int(obj2
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->SetMargins(arg2
,arg3
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18376 PyObject
* obj0
= 0 ;
18377 PyObject
* obj1
= 0 ;
18378 char *kwnames
[] = {
18379 (char *) "self",(char *) "size", NULL
18382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 Py_INCREF(Py_None
); resultobj
= Py_None
;
18403 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "packing", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18416 arg2
= (int)SWIG_As_int(obj1
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->SetToolPacking(arg2
);
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 Py_INCREF(Py_None
); resultobj
= Py_None
;
18432 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "separation", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg2
= (int)SWIG_As_int(obj1
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->SetToolSeparation(arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 Py_INCREF(Py_None
); resultobj
= Py_None
;
18461 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (arg1
)->GetToolMargins();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 wxSize
* resultptr
;
18482 resultptr
= new wxSize((wxSize
&) result
);
18483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18491 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (arg1
)->GetMargins();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 wxSize
* resultptr
;
18512 resultptr
= new wxSize((wxSize
&) result
);
18513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18521 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18522 PyObject
*resultobj
;
18523 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (int)(arg1
)->GetToolPacking();
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= SWIG_From_int((int)result
);
18547 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (int)(arg1
)->GetToolSeparation();
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_From_int((int)result
);
18573 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self",(char *) "nRows", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18586 arg2
= (int)SWIG_As_int(obj1
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->SetRows(arg2
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 Py_INCREF(Py_None
); resultobj
= Py_None
;
18602 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "rows",(char *) "cols", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 arg2
= (int)SWIG_As_int(obj1
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18619 arg3
= (int)SWIG_As_int(obj2
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 Py_INCREF(Py_None
); resultobj
= Py_None
;
18635 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (int)(arg1
)->GetMaxRows();
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_From_int((int)result
);
18661 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)(arg1
)->GetMaxCols();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_From_int((int)result
);
18687 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "size", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 Py_INCREF(Py_None
); resultobj
= Py_None
;
18719 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
;
18721 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (arg1
)->GetToolBitmapSize();
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18739 wxSize
* resultptr
;
18740 resultptr
= new wxSize((wxSize
&) result
);
18741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18749 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 result
= (arg1
)->GetToolSize();
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 wxSize
* resultptr
;
18770 resultptr
= new wxSize((wxSize
&) result
);
18771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18779 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18784 wxToolBarToolBase
*result
;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "x",(char *) "y", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18795 arg2
= (int)SWIG_As_int(obj1
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18797 arg3
= (int)SWIG_As_int(obj2
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= wxPyMake_wxObject(result
, 0);
18815 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18819 wxToolBarToolBase
*result
;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "toolid", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18829 arg2
= (int)SWIG_As_int(obj1
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= wxPyMake_wxObject(result
, 0);
18847 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 char *kwnames
[] = {
18853 (char *) "self", NULL
18856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (bool)(arg1
)->IsVertical();
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18875 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18878 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18880 return Py_BuildValue((char *)"");
18882 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxWindow
*arg1
= (wxWindow
*) 0 ;
18885 int arg2
= (int) -1 ;
18886 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18887 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18888 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18889 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18890 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18891 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18892 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18896 bool temp6
= false ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 PyObject
* obj3
= 0 ;
18901 PyObject
* obj4
= 0 ;
18902 PyObject
* obj5
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18911 arg2
= (int)SWIG_As_int(obj1
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18927 arg5
= (long)SWIG_As_long(obj4
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18932 arg6
= wxString_in_helper(obj5
);
18933 if (arg6
== NULL
) SWIG_fail
;
18938 if (!wxPyCheckForApp()) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18960 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18963 char *kwnames
[] = {
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18969 if (!wxPyCheckForApp()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (wxToolBar
*)new wxToolBar();
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18983 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18986 wxWindow
*arg2
= (wxWindow
*) 0 ;
18987 int arg3
= (int) -1 ;
18988 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18989 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18990 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18991 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18992 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18993 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18994 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18998 bool temp7
= false ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 PyObject
* obj2
= 0 ;
19002 PyObject
* obj3
= 0 ;
19003 PyObject
* obj4
= 0 ;
19004 PyObject
* obj5
= 0 ;
19005 PyObject
* obj6
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19016 arg3
= (int)SWIG_As_int(obj2
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19032 arg6
= (long)SWIG_As_long(obj5
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19037 arg7
= wxString_in_helper(obj6
);
19038 if (arg7
== NULL
) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
;
19068 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19071 wxToolBarToolBase
*result
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 PyObject
* obj2
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self",(char *) "x",(char *) "y", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= (int)SWIG_As_int(obj1
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19084 arg3
= (int)SWIG_As_int(obj2
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19094 resultobj
= wxPyMake_wxObject(result
, 0);
19102 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19105 wxVisualAttributes result
;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "variant", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19113 arg1
= (int)SWIG_As_int(obj0
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19117 if (!wxPyCheckForApp()) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19125 wxVisualAttributes
* resultptr
;
19126 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19135 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19138 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19140 return Py_BuildValue((char *)"");
19142 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19143 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19148 static PyObject
*_wrap_ListCtrlNameStr_get() {
19153 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19155 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19162 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxColour
const &arg1_defvalue
= wxNullColour
;
19165 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19166 wxColour
const &arg2_defvalue
= wxNullColour
;
19167 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19168 wxFont
const &arg3_defvalue
= wxNullFont
;
19169 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19170 wxListItemAttr
*result
;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 PyObject
* obj2
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19184 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19194 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19197 if (arg3
== NULL
) {
19198 PyErr_SetString(PyExc_TypeError
,"null reference");
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19216 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19219 wxColour
*arg2
= 0 ;
19221 PyObject
* obj0
= 0 ;
19222 PyObject
* obj1
= 0 ;
19223 char *kwnames
[] = {
19224 (char *) "self",(char *) "colText", NULL
19227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 Py_INCREF(Py_None
); resultobj
= Py_None
;
19248 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19251 wxColour
*arg2
= 0 ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "colBack", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 Py_INCREF(Py_None
); resultobj
= Py_None
;
19280 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self",(char *) "font", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19293 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19296 if (arg2
== NULL
) {
19297 PyErr_SetString(PyExc_TypeError
,"null reference");
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->SetFont((wxFont
const &)*arg2
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_ListItemAttr_HasTextColour(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_HasTextColour",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
)->HasTextColour();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19342 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(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_HasBackgroundColour",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
)->HasBackgroundColour();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19370 static PyObject
*_wrap_ListItemAttr_HasFont(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_HasFont",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
= (bool)(arg1
)->HasFont();
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19398 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (arg1
)->GetTextColour();
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 wxColour
* resultptr
;
19419 resultptr
= new wxColour((wxColour
&) result
);
19420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19428 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= (arg1
)->GetBackgroundColour();
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 wxColour
* resultptr
;
19449 resultptr
= new wxColour((wxColour
&) result
);
19450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19458 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (arg1
)->GetFont();
19474 wxPyEndAllowThreads(__tstate
);
19475 if (PyErr_Occurred()) SWIG_fail
;
19478 wxFont
* resultptr
;
19479 resultptr
= new wxFont((wxFont
&) result
);
19480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19488 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 wxListItemAttr_Destroy(arg1
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 Py_INCREF(Py_None
); resultobj
= Py_None
;
19513 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19516 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19518 return Py_BuildValue((char *)"");
19520 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxListItem
*result
;
19523 char *kwnames
[] = {
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (wxListItem
*)new wxListItem();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= wxPyMake_wxObject(result
, 1);
19544 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
;
19546 wxListItem
*arg1
= (wxListItem
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 Py_INCREF(Py_None
); resultobj
= Py_None
;
19569 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxListItem
*arg1
= (wxListItem
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListItem
*arg1
= (wxListItem
*) 0 ;
19597 PyObject
* obj0
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19607 (arg1
)->ClearAttributes();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 Py_INCREF(Py_None
); resultobj
= Py_None
;
19619 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxListItem
*arg1
= (wxListItem
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "mask", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 arg2
= (long)SWIG_As_long(obj1
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 (arg1
)->SetMask(arg2
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 Py_INCREF(Py_None
); resultobj
= Py_None
;
19648 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxListItem
*arg1
= (wxListItem
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "id", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19661 arg2
= (long)SWIG_As_long(obj1
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 (arg1
)->SetId(arg2
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 Py_INCREF(Py_None
); resultobj
= Py_None
;
19677 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxListItem
*arg1
= (wxListItem
*) 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self",(char *) "col", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 arg2
= (int)SWIG_As_int(obj1
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 (arg1
)->SetColumn(arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 Py_INCREF(Py_None
); resultobj
= Py_None
;
19706 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 wxListItem
*arg1
= (wxListItem
*) 0 ;
19710 PyObject
* obj0
= 0 ;
19711 PyObject
* obj1
= 0 ;
19712 char *kwnames
[] = {
19713 (char *) "self",(char *) "state", NULL
19716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19719 arg2
= (long)SWIG_As_long(obj1
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 (arg1
)->SetState(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 Py_INCREF(Py_None
); resultobj
= Py_None
;
19735 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxListItem
*arg1
= (wxListItem
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "stateMask", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 arg2
= (long)SWIG_As_long(obj1
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 (arg1
)->SetStateMask(arg2
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 Py_INCREF(Py_None
); resultobj
= Py_None
;
19764 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxListItem
*arg1
= (wxListItem
*) 0 ;
19767 wxString
*arg2
= 0 ;
19768 bool temp2
= false ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "text", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 arg2
= wxString_in_helper(obj1
);
19780 if (arg2
== NULL
) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 (arg1
)->SetText((wxString
const &)*arg2
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 Py_INCREF(Py_None
); resultobj
= Py_None
;
19805 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxListItem
*arg1
= (wxListItem
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "image", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 arg2
= (int)SWIG_As_int(obj1
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->SetImage(arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxListItem
*arg1
= (wxListItem
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "data", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 arg2
= (long)SWIG_As_long(obj1
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 (arg1
)->SetData(arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 Py_INCREF(Py_None
); resultobj
= Py_None
;
19863 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self",(char *) "width", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 arg2
= (int)SWIG_As_int(obj1
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 (arg1
)->SetWidth(arg2
);
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19885 Py_INCREF(Py_None
); resultobj
= Py_None
;
19892 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19893 PyObject
*resultobj
;
19894 wxListItem
*arg1
= (wxListItem
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 char *kwnames
[] = {
19899 (char *) "self",(char *) "align", NULL
19902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19905 arg2
= (int)SWIG_As_int(obj1
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 Py_INCREF(Py_None
); resultobj
= Py_None
;
19921 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxListItem
*arg1
= (wxListItem
*) 0 ;
19924 wxColour
*arg2
= 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "colText", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19937 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxListItem
*arg1
= (wxListItem
*) 0 ;
19956 wxColour
*arg2
= 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self",(char *) "colBack", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 Py_INCREF(Py_None
); resultobj
= Py_None
;
19985 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxListItem
*arg1
= (wxListItem
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self",(char *) "font", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20001 if (arg2
== NULL
) {
20002 PyErr_SetString(PyExc_TypeError
,"null reference");
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->SetFont((wxFont
const &)*arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 Py_INCREF(Py_None
); resultobj
= Py_None
;
20019 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxListItem
*arg1
= (wxListItem
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (long)(arg1
)->GetMask();
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_From_long((long)result
);
20045 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxListItem
*arg1
= (wxListItem
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (long)(arg1
)->GetId();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_From_long((long)result
);
20071 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListItem
*arg1
= (wxListItem
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (int)(arg1
)->GetColumn();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_From_int((int)result
);
20097 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxListItem
*arg1
= (wxListItem
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (long)(arg1
)->GetState();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_From_long((long)result
);
20123 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20124 PyObject
*resultobj
;
20125 wxListItem
*arg1
= (wxListItem
*) 0 ;
20127 PyObject
* obj0
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 wxString
const &_result_ref
= (arg1
)->GetText();
20139 result
= (wxString
*) &_result_ref
;
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20158 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxListItem
*arg1
= (wxListItem
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (int)(arg1
)->GetImage();
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= SWIG_From_int((int)result
);
20184 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxListItem
*arg1
= (wxListItem
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (long)(arg1
)->GetData();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_From_long((long)result
);
20210 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
;
20212 wxListItem
*arg1
= (wxListItem
*) 0 ;
20214 PyObject
* obj0
= 0 ;
20215 char *kwnames
[] = {
20216 (char *) "self", NULL
20219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->GetWidth();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= SWIG_From_int((int)result
);
20236 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxListItem
*arg1
= (wxListItem
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (int)(arg1
)->GetAlign();
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= SWIG_From_int((int)result
);
20262 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxListItem
*arg1
= (wxListItem
*) 0 ;
20265 wxListItemAttr
*result
;
20266 PyObject
* obj0
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20288 static PyObject
*_wrap_ListItem_HasAttributes(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_HasAttributes",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
= (bool)(arg1
)->HasAttributes();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20316 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20317 PyObject
*resultobj
;
20318 wxListItem
*arg1
= (wxListItem
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 char *kwnames
[] = {
20322 (char *) "self", NULL
20325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20336 wxColour
* resultptr
;
20337 resultptr
= new wxColour((wxColour
&) result
);
20338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20346 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxListItem
*arg1
= (wxListItem
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20366 wxColour
* resultptr
;
20367 resultptr
= new wxColour((wxColour
&) result
);
20368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20376 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxListItem
*arg1
= (wxListItem
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= ((wxListItem
const *)arg1
)->GetFont();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20396 wxFont
* resultptr
;
20397 resultptr
= new wxFont((wxFont
&) result
);
20398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20406 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 wxListItem
*arg1
= (wxListItem
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self",(char *) "m_mask", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 arg2
= (long)SWIG_As_long(obj1
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20421 if (arg1
) (arg1
)->m_mask
= arg2
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20430 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxListItem
*arg1
= (wxListItem
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 result
= (long) ((arg1
)->m_mask
);
20444 resultobj
= SWIG_From_long((long)result
);
20451 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxListItem
*arg1
= (wxListItem
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self",(char *) "m_itemId", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 arg2
= (long)SWIG_As_long(obj1
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20466 if (arg1
) (arg1
)->m_itemId
= arg2
;
20468 Py_INCREF(Py_None
); resultobj
= Py_None
;
20475 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxListItem
*arg1
= (wxListItem
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 result
= (long) ((arg1
)->m_itemId
);
20489 resultobj
= SWIG_From_long((long)result
);
20496 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxListItem
*arg1
= (wxListItem
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self",(char *) "m_col", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 arg2
= (int)SWIG_As_int(obj1
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20511 if (arg1
) (arg1
)->m_col
= arg2
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxListItem
*arg1
= (wxListItem
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20532 result
= (int) ((arg1
)->m_col
);
20534 resultobj
= SWIG_From_int((int)result
);
20541 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxListItem
*arg1
= (wxListItem
*) 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self",(char *) "m_state", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20554 arg2
= (long)SWIG_As_long(obj1
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20556 if (arg1
) (arg1
)->m_state
= arg2
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20565 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
;
20567 wxListItem
*arg1
= (wxListItem
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 result
= (long) ((arg1
)->m_state
);
20579 resultobj
= SWIG_From_long((long)result
);
20586 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxListItem
*arg1
= (wxListItem
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self",(char *) "m_stateMask", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20599 arg2
= (long)SWIG_As_long(obj1
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20601 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20603 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxListItem
*arg1
= (wxListItem
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 result
= (long) ((arg1
)->m_stateMask
);
20624 resultobj
= SWIG_From_long((long)result
);
20631 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxListItem
*arg1
= (wxListItem
*) 0 ;
20634 wxString
*arg2
= (wxString
*) 0 ;
20635 bool temp2
= false ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self",(char *) "m_text", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 arg2
= wxString_in_helper(obj1
);
20647 if (arg2
== NULL
) SWIG_fail
;
20650 if (arg1
) (arg1
)->m_text
= *arg2
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20667 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxListItem
*arg1
= (wxListItem
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20679 result
= (wxString
*)& ((arg1
)->m_text
);
20683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20694 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxListItem
*arg1
= (wxListItem
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "m_image", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 arg2
= (int)SWIG_As_int(obj1
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20709 if (arg1
) (arg1
)->m_image
= arg2
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxListItem
*arg1
= (wxListItem
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 result
= (int) ((arg1
)->m_image
);
20732 resultobj
= SWIG_From_int((int)result
);
20739 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxListItem
*arg1
= (wxListItem
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self",(char *) "m_data", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20752 arg2
= (long)SWIG_As_long(obj1
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20754 if (arg1
) (arg1
)->m_data
= arg2
;
20756 Py_INCREF(Py_None
); resultobj
= Py_None
;
20763 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxListItem
*arg1
= (wxListItem
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 result
= (long) ((arg1
)->m_data
);
20777 resultobj
= SWIG_From_long((long)result
);
20784 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxListItem
*arg1
= (wxListItem
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "m_format", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 arg2
= (int)SWIG_As_int(obj1
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20799 if (arg1
) (arg1
)->m_format
= arg2
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20809 PyObject
*resultobj
;
20810 wxListItem
*arg1
= (wxListItem
*) 0 ;
20812 PyObject
* obj0
= 0 ;
20813 char *kwnames
[] = {
20814 (char *) "self", NULL
20817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 result
= (int) ((arg1
)->m_format
);
20822 resultobj
= SWIG_From_int((int)result
);
20829 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxListItem
*arg1
= (wxListItem
*) 0 ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self",(char *) "m_width", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 arg2
= (int)SWIG_As_int(obj1
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20844 if (arg1
) (arg1
)->m_width
= arg2
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxListItem
*arg1
= (wxListItem
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20865 result
= (int) ((arg1
)->m_width
);
20867 resultobj
= SWIG_From_int((int)result
);
20874 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20877 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20879 return Py_BuildValue((char *)"");
20881 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20884 int arg2
= (int) 0 ;
20885 wxListEvent
*result
;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "commandType",(char *) "id", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20894 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20898 arg2
= (int)SWIG_As_int(obj1
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20915 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "self",(char *) "m_code", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20928 arg2
= (int)SWIG_As_int(obj1
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20930 if (arg1
) (arg1
)->m_code
= arg2
;
20932 Py_INCREF(Py_None
); resultobj
= Py_None
;
20939 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
;
20941 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20951 result
= (int) ((arg1
)->m_code
);
20953 resultobj
= SWIG_From_int((int)result
);
20960 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self",(char *) "m_oldItemIndex", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 arg2
= (long)SWIG_As_long(obj1
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20975 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20977 Py_INCREF(Py_None
); resultobj
= Py_None
;
20984 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20996 result
= (long) ((arg1
)->m_oldItemIndex
);
20998 resultobj
= SWIG_From_long((long)result
);
21005 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 PyObject
* obj1
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "m_itemIndex", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 arg2
= (long)SWIG_As_long(obj1
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21020 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21022 Py_INCREF(Py_None
); resultobj
= Py_None
;
21029 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 result
= (long) ((arg1
)->m_itemIndex
);
21043 resultobj
= SWIG_From_long((long)result
);
21050 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "m_col", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 arg2
= (int)SWIG_As_int(obj1
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21065 if (arg1
) (arg1
)->m_col
= arg2
;
21067 Py_INCREF(Py_None
); resultobj
= Py_None
;
21074 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 result
= (int) ((arg1
)->m_col
);
21088 resultobj
= SWIG_From_int((int)result
);
21095 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21098 wxPoint
*arg2
= (wxPoint
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self",(char *) "m_pointDrag", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21110 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21112 Py_INCREF(Py_None
); resultobj
= Py_None
;
21119 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21140 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
;
21142 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21143 wxListItem
*result
;
21144 PyObject
* obj0
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 result
= (wxListItem
*)& ((arg1
)->m_item
);
21155 resultobj
= wxPyMake_wxObject(result
, 0);
21163 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 result
= (int)(arg1
)->GetKeyCode();
21179 wxPyEndAllowThreads(__tstate
);
21180 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= SWIG_From_int((int)result
);
21189 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (long)(arg1
)->GetIndex();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_From_long((long)result
);
21215 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (int)(arg1
)->GetColumn();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_From_int((int)result
);
21241 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (arg1
)->GetPoint();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 wxPoint
* resultptr
;
21262 resultptr
= new wxPoint((wxPoint
&) result
);
21263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21271 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21275 PyObject
* obj0
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21286 wxString
const &_result_ref
= (arg1
)->GetLabel();
21287 result
= (wxString
*) &_result_ref
;
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21295 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21297 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21306 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 char *kwnames
[] = {
21312 (char *) "self", NULL
21315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 wxString
const &_result_ref
= (arg1
)->GetText();
21322 result
= (wxString
*) &_result_ref
;
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21332 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21341 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (int)(arg1
)->GetImage();
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 resultobj
= SWIG_From_int((int)result
);
21367 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (long)(arg1
)->GetData();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_From_long((long)result
);
21393 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21397 PyObject
* obj0
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 result
= (long)(arg1
)->GetMask();
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_From_long((long)result
);
21419 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21422 wxListItem
*result
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21435 result
= (wxListItem
*) &_result_ref
;
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21448 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (long)(arg1
)->GetCacheFrom();
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= SWIG_From_long((long)result
);
21474 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21478 PyObject
* obj0
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "self", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 result
= (long)(arg1
)->GetCacheTo();
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_From_long((long)result
);
21500 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21528 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21529 PyObject
*resultobj
;
21530 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21532 PyObject
* obj0
= 0 ;
21533 PyObject
* obj1
= 0 ;
21534 char *kwnames
[] = {
21535 (char *) "self",(char *) "editCancelled", NULL
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21541 arg2
= (bool)SWIG_As_bool(obj1
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 (arg1
)->SetEditCanceled(arg2
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 Py_INCREF(Py_None
); resultobj
= Py_None
;
21557 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21560 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21562 return Py_BuildValue((char *)"");
21564 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxWindow
*arg1
= (wxWindow
*) 0 ;
21567 int arg2
= (int) -1 ;
21568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21572 long arg5
= (long) wxLC_ICON
;
21573 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21574 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21575 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21577 wxPyListCtrl
*result
;
21580 bool temp7
= false ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 PyObject
* obj4
= 0 ;
21586 PyObject
* obj5
= 0 ;
21587 PyObject
* obj6
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21596 arg2
= (int)SWIG_As_int(obj1
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21602 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21608 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21612 arg5
= (long)SWIG_As_long(obj4
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21619 if (arg6
== NULL
) {
21620 PyErr_SetString(PyExc_TypeError
,"null reference");
21626 arg7
= wxString_in_helper(obj6
);
21627 if (arg7
== NULL
) SWIG_fail
;
21632 if (!wxPyCheckForApp()) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21654 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxPyListCtrl
*result
;
21657 char *kwnames
[] = {
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21663 if (!wxPyCheckForApp()) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21677 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
;
21679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21680 wxWindow
*arg2
= (wxWindow
*) 0 ;
21681 int arg3
= (int) -1 ;
21682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21686 long arg6
= (long) wxLC_ICON
;
21687 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21688 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21689 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21690 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21694 bool temp8
= false ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 PyObject
* obj3
= 0 ;
21699 PyObject
* obj4
= 0 ;
21700 PyObject
* obj5
= 0 ;
21701 PyObject
* obj6
= 0 ;
21702 PyObject
* obj7
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 arg3
= (int)SWIG_As_int(obj2
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21729 arg6
= (long)SWIG_As_long(obj5
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21736 if (arg7
== NULL
) {
21737 PyErr_SetString(PyExc_TypeError
,"null reference");
21743 arg8
= wxString_in_helper(obj7
);
21744 if (arg8
== NULL
) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21774 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21775 PyObject
*arg2
= (PyObject
*) 0 ;
21776 PyObject
*arg3
= (PyObject
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self",(char *) "self",(char *) "_class", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21803 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21806 wxColour
*arg2
= 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "col", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21838 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21841 wxColour
*arg2
= 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "col", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21873 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21877 wxListItem
*result
;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "col", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg2
= (int)SWIG_As_int(obj1
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= wxPyMake_wxObject(result
, 0);
21905 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21909 wxListItem
*arg3
= 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 PyObject
* obj2
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "col",(char *) "item", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 arg2
= (int)SWIG_As_int(obj1
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21923 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21926 if (arg3
== NULL
) {
21927 PyErr_SetString(PyExc_TypeError
,"null reference");
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21946 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21951 PyObject
* obj0
= 0 ;
21952 PyObject
* obj1
= 0 ;
21953 char *kwnames
[] = {
21954 (char *) "self",(char *) "col", NULL
21957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21960 arg2
= (int)SWIG_As_int(obj1
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_From_int((int)result
);
21976 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "col",(char *) "width", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 arg2
= (int)SWIG_As_int(obj1
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21994 arg3
= (int)SWIG_As_int(obj2
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22012 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_From_int((int)result
);
22038 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22042 PyObject
* obj0
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 wxRect
* resultptr
;
22059 resultptr
= new wxRect((wxRect
&) result
);
22060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22068 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22072 int arg3
= (int) 0 ;
22073 wxListItem
*result
;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "itemId",(char *) "col", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 arg2
= (long)SWIG_As_long(obj1
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 arg3
= (int)SWIG_As_int(obj2
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= wxPyMake_wxObject(result
, 0);
22106 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 wxListItem
*arg2
= 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "info", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22123 if (arg2
== NULL
) {
22124 PyErr_SetString(PyExc_TypeError
,"null reference");
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (bool)(arg1
)->SetItem(*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22143 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22148 wxString
*arg4
= 0 ;
22149 int arg5
= (int) -1 ;
22151 bool temp4
= false ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 PyObject
* obj2
= 0 ;
22155 PyObject
* obj3
= 0 ;
22156 PyObject
* obj4
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 arg2
= (long)SWIG_As_long(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22166 arg3
= (int)SWIG_As_int(obj2
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 arg4
= wxString_in_helper(obj3
);
22170 if (arg4
== NULL
) SWIG_fail
;
22174 arg5
= (int)SWIG_As_int(obj4
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_From_long((long)result
);
22199 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 PyObject
* obj1
= 0 ;
22207 PyObject
* obj2
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 arg2
= (long)SWIG_As_long(obj1
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22217 arg3
= (long)SWIG_As_long(obj2
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_From_int((int)result
);
22233 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 PyObject
* obj2
= 0 ;
22243 PyObject
* obj3
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22251 arg2
= (long)SWIG_As_long(obj1
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22253 arg3
= (long)SWIG_As_long(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22255 arg4
= (long)SWIG_As_long(obj3
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22261 wxPyEndAllowThreads(__tstate
);
22262 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22273 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22278 int arg4
= (int) -1 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 PyObject
* obj3
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 arg2
= (long)SWIG_As_long(obj1
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22293 arg3
= (int)SWIG_As_int(obj2
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 arg4
= (int)SWIG_As_int(obj3
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self",(char *) "item", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 arg2
= (long)SWIG_As_long(obj1
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22351 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22355 wxString
*arg3
= 0 ;
22356 bool temp3
= false ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self",(char *) "item",(char *) "str", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 arg2
= (long)SWIG_As_long(obj1
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 arg3
= wxString_in_helper(obj2
);
22371 if (arg3
== NULL
) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 Py_INCREF(Py_None
); resultobj
= Py_None
;
22396 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self",(char *) "item", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 arg2
= (long)SWIG_As_long(obj1
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= SWIG_From_long((long)result
);
22426 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "item",(char *) "data", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 arg2
= (long)SWIG_As_long(obj1
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22444 arg3
= (long)SWIG_As_long(obj2
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22462 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "item", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 arg2
= (long)SWIG_As_long(obj1
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22486 wxPoint
* resultptr
;
22487 resultptr
= new wxPoint((wxPoint
&) result
);
22488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22496 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22500 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22502 PyObject
* obj0
= 0 ;
22503 PyObject
* obj1
= 0 ;
22504 PyObject
* obj2
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self",(char *) "item",(char *) "code", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22512 arg2
= (long)SWIG_As_long(obj1
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 arg3
= (int)SWIG_As_int(obj2
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 wxRect
* resultptr
;
22527 resultptr
= new wxRect((wxRect
&) result
);
22528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22536 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22540 wxPoint
*arg3
= 0 ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 PyObject
* obj2
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "item",(char *) "pos", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22553 arg2
= (long)SWIG_As_long(obj1
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22575 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_From_int((int)result
);
22601 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_From_int((int)result
);
22627 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 wxSize
* resultptr
;
22648 resultptr
= new wxSize((wxSize
&) result
);
22649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22657 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22661 bool arg3
= (bool) false ;
22662 PyObject
* obj0
= 0 ;
22663 PyObject
* obj1
= 0 ;
22664 PyObject
* obj2
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22672 arg2
= (int)SWIG_As_int(obj1
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 arg3
= (bool)SWIG_As_bool(obj2
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22680 (arg1
)->SetItemSpacing(arg2
,arg3
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22692 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 char *kwnames
[] = {
22698 (char *) "self", NULL
22701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_From_int((int)result
);
22718 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22738 wxColour
* resultptr
;
22739 resultptr
= new wxColour((wxColour
&) result
);
22740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22748 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
;
22750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22751 wxColour
*arg2
= 0 ;
22753 PyObject
* obj0
= 0 ;
22754 PyObject
* obj1
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self",(char *) "col", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 Py_INCREF(Py_None
); resultobj
= Py_None
;
22780 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "self", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_From_long((long)result
);
22806 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22810 bool arg3
= (bool) true ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 PyObject
* obj2
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self",(char *) "style",(char *) "add", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22821 arg2
= (long)SWIG_As_long(obj1
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 arg3
= (bool)SWIG_As_bool(obj2
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->SetSingleStyle(arg2
,arg3
);
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 Py_INCREF(Py_None
); resultobj
= Py_None
;
22841 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "style", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 arg2
= (long)SWIG_As_long(obj1
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 (arg1
)->SetWindowStyleFlag(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22870 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22874 int arg3
= (int) wxLIST_NEXT_ALL
;
22875 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 PyObject
* obj2
= 0 ;
22880 PyObject
* obj3
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22888 arg2
= (long)SWIG_As_long(obj1
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 arg3
= (int)SWIG_As_int(obj2
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22895 arg4
= (int)SWIG_As_int(obj3
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_From_long((long)result
);
22912 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22916 wxImageList
*result
;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self",(char *) "which", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 arg2
= (int)SWIG_As_int(obj1
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= wxPyMake_wxObject(result
, 0);
22944 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22947 wxImageList
*arg2
= (wxImageList
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 PyObject
* obj2
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "imageList",(char *) "which", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 arg3
= (int)SWIG_As_int(obj2
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->SetImageList(arg2
,arg3
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22980 wxImageList
*arg2
= (wxImageList
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "imageList",(char *) "which", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22993 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22994 arg3
= (int)SWIG_As_int(obj2
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->AssignImageList(arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_ListCtrl_InReportView(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_InReportView",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
)->InReportView();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23038 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23066 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self",(char *) "item", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23079 arg2
= (long)SWIG_As_long(obj1
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 (arg1
)->RefreshItem(arg2
);
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 Py_INCREF(Py_None
); resultobj
= Py_None
;
23095 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 arg2
= (long)SWIG_As_long(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23112 arg3
= (long)SWIG_As_long(obj2
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 (arg1
)->RefreshItems(arg2
,arg3
);
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 Py_INCREF(Py_None
); resultobj
= Py_None
;
23128 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23131 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "flag", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 arg2
= (int)SWIG_As_int(obj1
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 result
= (bool)(arg1
)->Arrange(arg2
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23162 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self",(char *) "item", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23176 arg2
= (long)SWIG_As_long(obj1
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->DeleteItem(arg2
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (bool)(arg1
)->DeleteAllItems();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23222 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 PyObject
* obj1
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self",(char *) "col", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 arg2
= (int)SWIG_As_int(obj1
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23254 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23258 PyObject
* obj0
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23268 result
= (bool)(arg1
)->DeleteAllColumns();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23282 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 (arg1
)->ClearAll();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char *kwnames
[] = {
23314 (char *) "self",(char *) "item", NULL
23317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23320 arg2
= (long)SWIG_As_long(obj1
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 (arg1
)->EditLabel(arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "item", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 arg2
= (long)SWIG_As_long(obj1
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23368 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23372 wxString
*arg3
= 0 ;
23373 bool arg4
= (bool) false ;
23375 bool temp3
= false ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 PyObject
* obj2
= 0 ;
23379 PyObject
* obj3
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23387 arg2
= (long)SWIG_As_long(obj1
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 arg3
= wxString_in_helper(obj2
);
23391 if (arg3
== NULL
) SWIG_fail
;
23395 arg4
= (bool)SWIG_As_bool(obj3
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_From_long((long)result
);
23420 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 PyObject
* obj2
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "start",(char *) "data", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 arg2
= (long)SWIG_As_long(obj1
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23438 arg3
= (long)SWIG_As_long(obj2
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_From_long((long)result
);
23454 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23458 wxPoint
*arg3
= 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 PyObject
* obj2
= 0 ;
23465 PyObject
* obj3
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 arg2
= (long)SWIG_As_long(obj1
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23479 arg4
= (int)SWIG_As_int(obj3
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_From_long((long)result
);
23495 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23498 wxPoint
*arg2
= 0 ;
23504 PyObject
* obj0
= 0 ;
23505 PyObject
* obj1
= 0 ;
23506 char *kwnames
[] = {
23507 (char *) "self",(char *) "point", NULL
23510 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_From_long((long)result
);
23526 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23527 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23534 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23537 wxListItem
*arg2
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "info", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23551 if (arg2
== NULL
) {
23552 PyErr_SetString(PyExc_TypeError
,"null reference");
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (long)(arg1
)->InsertItem(*arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_From_long((long)result
);
23569 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23573 wxString
*arg3
= 0 ;
23575 bool temp3
= false ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "index",(char *) "label", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 arg2
= (long)SWIG_As_long(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 arg3
= wxString_in_helper(obj2
);
23590 if (arg3
== NULL
) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= SWIG_From_long((long)result
);
23615 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 PyObject
* obj2
= 0 ;
23624 char *kwnames
[] = {
23625 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23631 arg2
= (long)SWIG_As_long(obj1
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23633 arg3
= (int)SWIG_As_int(obj2
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_From_long((long)result
);
23649 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23653 wxString
*arg3
= 0 ;
23656 bool temp3
= false ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 PyObject
* obj2
= 0 ;
23660 PyObject
* obj3
= 0 ;
23661 char *kwnames
[] = {
23662 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23668 arg2
= (long)SWIG_As_long(obj1
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 arg3
= wxString_in_helper(obj2
);
23672 if (arg3
== NULL
) SWIG_fail
;
23675 arg4
= (int)SWIG_As_int(obj3
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= SWIG_From_long((long)result
);
23699 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23703 wxListItem
*arg3
= 0 ;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 PyObject
* obj2
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "col",(char *) "info", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 arg2
= (long)SWIG_As_long(obj1
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23717 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23720 if (arg3
== NULL
) {
23721 PyErr_SetString(PyExc_TypeError
,"null reference");
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_From_long((long)result
);
23738 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23742 wxString
*arg3
= 0 ;
23743 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23744 int arg5
= (int) -1 ;
23746 bool temp3
= false ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 PyObject
* obj2
= 0 ;
23750 PyObject
* obj3
= 0 ;
23751 PyObject
* obj4
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 arg2
= (long)SWIG_As_long(obj1
);
23760 if (PyErr_Occurred()) SWIG_fail
;
23762 arg3
= wxString_in_helper(obj2
);
23763 if (arg3
== NULL
) SWIG_fail
;
23767 arg4
= (int)SWIG_As_int(obj3
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 arg5
= (int)SWIG_As_int(obj4
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_From_long((long)result
);
23796 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "self",(char *) "count", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 arg2
= (long)SWIG_As_long(obj1
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 (arg1
)->SetItemCount(arg2
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 Py_INCREF(Py_None
); resultobj
= Py_None
;
23825 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 PyObject
* obj1
= 0 ;
23833 PyObject
* obj2
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "dx",(char *) "dy", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 arg2
= (int)SWIG_As_int(obj1
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23843 arg3
= (int)SWIG_As_int(obj2
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23861 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23865 wxColour
*arg3
= 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23870 char *kwnames
[] = {
23871 (char *) "self",(char *) "item",(char *) "col", NULL
23874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 arg2
= (long)SWIG_As_long(obj1
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23897 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
;
23899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "item", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 arg2
= (long)SWIG_As_long(obj1
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 wxColour
* resultptr
;
23922 resultptr
= new wxColour((wxColour
&) result
);
23923 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23931 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23935 wxColour
*arg3
= 0 ;
23937 PyObject
* obj0
= 0 ;
23938 PyObject
* obj1
= 0 ;
23939 PyObject
* obj2
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self",(char *) "item",(char *) "col", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 arg2
= (long)SWIG_As_long(obj1
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 Py_INCREF(Py_None
); resultobj
= Py_None
;
23967 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "self",(char *) "item", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 arg2
= (long)SWIG_As_long(obj1
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 wxColour
* resultptr
;
23992 resultptr
= new wxColour((wxColour
&) result
);
23993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24001 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24004 PyObject
*arg2
= (PyObject
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self",(char *) "func", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24032 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= wxPyMake_wxObject(result
, 0);
24060 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24063 wxVisualAttributes result
;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "variant", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24071 arg1
= (int)SWIG_As_int(obj0
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 if (!wxPyCheckForApp()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 wxVisualAttributes
* resultptr
;
24084 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24093 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24096 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24098 return Py_BuildValue((char *)"");
24100 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24103 int arg2
= (int) -1 ;
24104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24108 long arg5
= (long) wxLC_REPORT
;
24109 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24110 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24111 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24112 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24113 wxListView
*result
;
24116 bool temp7
= false ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 PyObject
* obj2
= 0 ;
24120 PyObject
* obj3
= 0 ;
24121 PyObject
* obj4
= 0 ;
24122 PyObject
* obj5
= 0 ;
24123 PyObject
* obj6
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 arg2
= (int)SWIG_As_int(obj1
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24148 arg5
= (long)SWIG_As_long(obj4
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24155 if (arg6
== NULL
) {
24156 PyErr_SetString(PyExc_TypeError
,"null reference");
24162 arg7
= wxString_in_helper(obj6
);
24163 if (arg7
== NULL
) SWIG_fail
;
24168 if (!wxPyCheckForApp()) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24190 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxListView
*result
;
24193 char *kwnames
[] = {
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24199 if (!wxPyCheckForApp()) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= (wxListView
*)new wxListView();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24213 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxListView
*arg1
= (wxListView
*) 0 ;
24216 wxWindow
*arg2
= (wxWindow
*) 0 ;
24217 int arg3
= (int) -1 ;
24218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24222 long arg6
= (long) wxLC_REPORT
;
24223 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24224 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24225 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24230 bool temp8
= false ;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24234 PyObject
* obj3
= 0 ;
24235 PyObject
* obj4
= 0 ;
24236 PyObject
* obj5
= 0 ;
24237 PyObject
* obj6
= 0 ;
24238 PyObject
* obj7
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 arg3
= (int)SWIG_As_int(obj2
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24265 arg6
= (long)SWIG_As_long(obj5
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24272 if (arg7
== NULL
) {
24273 PyErr_SetString(PyExc_TypeError
,"null reference");
24279 arg8
= wxString_in_helper(obj7
);
24280 if (arg8
== NULL
) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24308 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxListView
*arg1
= (wxListView
*) 0 ;
24312 bool arg3
= (bool) true ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 PyObject
* obj2
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "n",(char *) "on", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 arg2
= (long)SWIG_As_long(obj1
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 arg3
= (bool)SWIG_As_bool(obj2
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->Select(arg2
,arg3
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 Py_INCREF(Py_None
); resultobj
= Py_None
;
24343 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxListView
*arg1
= (wxListView
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self",(char *) "index", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 arg2
= (long)SWIG_As_long(obj1
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 (arg1
)->Focus(arg2
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 Py_INCREF(Py_None
); resultobj
= Py_None
;
24372 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxListView
*arg1
= (wxListView
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 char *kwnames
[] = {
24378 (char *) "self", NULL
24381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_From_long((long)result
);
24398 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxListView
*arg1
= (wxListView
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "item", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 arg2
= (long)SWIG_As_long(obj1
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_From_long((long)result
);
24428 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxListView
*arg1
= (wxListView
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_From_long((long)result
);
24454 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxListView
*arg1
= (wxListView
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self",(char *) "index", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24468 arg2
= (long)SWIG_As_long(obj1
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (bool)(arg1
)->IsSelected(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24486 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxListView
*arg1
= (wxListView
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 PyObject
* obj2
= 0 ;
24494 char *kwnames
[] = {
24495 (char *) "self",(char *) "col",(char *) "image", NULL
24498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 arg2
= (int)SWIG_As_int(obj1
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24503 arg3
= (int)SWIG_As_int(obj2
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->SetColumnImage(arg2
,arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24519 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
;
24521 wxListView
*arg1
= (wxListView
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self",(char *) "col", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 arg2
= (int)SWIG_As_int(obj1
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->ClearColumnImage(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24553 return Py_BuildValue((char *)"");
24555 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24556 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24561 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24566 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24568 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24575 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxTreeItemId
*result
;
24578 char *kwnames
[] = {
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxTreeItemId
*)new wxTreeItemId();
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24597 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 Py_INCREF(Py_None
); resultobj
= Py_None
;
24622 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24650 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
;
24652 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24653 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 char *kwnames
[] = {
24658 (char *) "self",(char *) "other", NULL
24661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24682 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
;
24684 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24685 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "other", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24714 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
;
24716 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24717 void *arg2
= (void *) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "m_pItem", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24728 if (arg1
) (arg1
)->m_pItem
= arg2
;
24730 Py_INCREF(Py_None
); resultobj
= Py_None
;
24737 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24741 PyObject
* obj0
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 result
= (void *) ((arg1
)->m_pItem
);
24751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24758 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24761 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24763 return Py_BuildValue((char *)"");
24765 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 PyObject
*arg1
= (PyObject
*) NULL
;
24768 wxPyTreeItemData
*result
;
24769 PyObject
* obj0
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "obj", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24792 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24796 PyObject
* obj0
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (PyObject
*)(arg1
)->GetData();
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= result
;
24818 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24821 PyObject
*arg2
= (PyObject
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self",(char *) "obj", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 (arg1
)->SetData(arg2
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 Py_INCREF(Py_None
); resultobj
= Py_None
;
24846 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24849 wxTreeItemId
*result
;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24862 result
= (wxTreeItemId
*) &_result_ref
;
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24875 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24878 wxTreeItemId
*arg2
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 PyObject
* obj1
= 0 ;
24881 char *kwnames
[] = {
24882 (char *) "self",(char *) "id", NULL
24885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24891 if (arg2
== NULL
) {
24892 PyErr_SetString(PyExc_TypeError
,"null reference");
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 Py_INCREF(Py_None
); resultobj
= Py_None
;
24909 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24910 PyObject
*resultobj
;
24911 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 wxPyTreeItemData_Destroy(arg1
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 Py_INCREF(Py_None
); resultobj
= Py_None
;
24934 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24937 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24939 return Py_BuildValue((char *)"");
24941 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24944 int arg2
= (int) 0 ;
24945 wxTreeEvent
*result
;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "commandType",(char *) "id", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24954 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 arg2
= (int)SWIG_As_int(obj1
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24975 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24978 wxTreeItemId result
;
24979 PyObject
* obj0
= 0 ;
24980 char *kwnames
[] = {
24981 (char *) "self", NULL
24984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 wxTreeItemId
* resultptr
;
24996 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25005 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25008 wxTreeItemId
*arg2
= 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self",(char *) "item", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25021 if (arg2
== NULL
) {
25022 PyErr_SetString(PyExc_TypeError
,"null reference");
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25042 wxTreeItemId result
;
25043 PyObject
* obj0
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25059 wxTreeItemId
* resultptr
;
25060 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25069 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25072 wxTreeItemId
*arg2
= 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self",(char *) "item", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25085 if (arg2
== NULL
) {
25086 PyErr_SetString(PyExc_TypeError
,"null reference");
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 Py_INCREF(Py_None
); resultobj
= Py_None
;
25103 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25107 PyObject
* obj0
= 0 ;
25108 char *kwnames
[] = {
25109 (char *) "self", NULL
25112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25123 wxPoint
* resultptr
;
25124 resultptr
= new wxPoint((wxPoint
&) result
);
25125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25133 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25136 wxPoint
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "pt", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25158 Py_INCREF(Py_None
); resultobj
= Py_None
;
25165 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25168 wxKeyEvent
*result
;
25169 PyObject
* obj0
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25181 result
= (wxKeyEvent
*) &_result_ref
;
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25194 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25196 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_From_int((int)result
);
25220 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
;
25222 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25223 wxKeyEvent
*arg2
= 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "evt", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25236 if (arg2
== NULL
) {
25237 PyErr_SetString(PyExc_TypeError
,"null reference");
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 Py_INCREF(Py_None
); resultobj
= Py_None
;
25254 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25270 result
= (wxString
*) &_result_ref
;
25273 wxPyEndAllowThreads(__tstate
);
25274 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25289 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25292 wxString
*arg2
= 0 ;
25293 bool temp2
= false ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "label", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25304 arg2
= wxString_in_helper(obj1
);
25305 if (arg2
== NULL
) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->SetLabel((wxString
const &)*arg2
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 char *kwnames
[] = {
25336 (char *) "self", NULL
25339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25358 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25359 PyObject
*resultobj
;
25360 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "editCancelled", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 arg2
= (bool)SWIG_As_bool(obj1
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 (arg1
)->SetEditCanceled(arg2
);
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 Py_INCREF(Py_None
); resultobj
= Py_None
;
25387 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25390 wxString
*arg2
= 0 ;
25391 bool temp2
= false ;
25392 PyObject
* obj0
= 0 ;
25393 PyObject
* obj1
= 0 ;
25394 char *kwnames
[] = {
25395 (char *) "self",(char *) "toolTip", NULL
25398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25402 arg2
= wxString_in_helper(obj1
);
25403 if (arg2
== NULL
) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 Py_INCREF(Py_None
); resultobj
= Py_None
;
25428 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25431 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25433 return Py_BuildValue((char *)"");
25435 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxWindow
*arg1
= (wxWindow
*) 0 ;
25438 int arg2
= (int) -1 ;
25439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25443 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25444 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25445 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25446 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25448 wxPyTreeCtrl
*result
;
25451 bool temp7
= false ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 PyObject
* obj3
= 0 ;
25456 PyObject
* obj4
= 0 ;
25457 PyObject
* obj5
= 0 ;
25458 PyObject
* obj6
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25467 arg2
= (int)SWIG_As_int(obj1
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25483 arg5
= (long)SWIG_As_long(obj4
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25490 if (arg6
== NULL
) {
25491 PyErr_SetString(PyExc_TypeError
,"null reference");
25497 arg7
= wxString_in_helper(obj6
);
25498 if (arg7
== NULL
) SWIG_fail
;
25503 if (!wxPyCheckForApp()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25525 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyTreeCtrl
*result
;
25528 char *kwnames
[] = {
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25534 if (!wxPyCheckForApp()) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25548 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25551 wxWindow
*arg2
= (wxWindow
*) 0 ;
25552 int arg3
= (int) -1 ;
25553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25557 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25558 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25559 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25560 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25561 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25565 bool temp8
= false ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 PyObject
* obj2
= 0 ;
25569 PyObject
* obj3
= 0 ;
25570 PyObject
* obj4
= 0 ;
25571 PyObject
* obj5
= 0 ;
25572 PyObject
* obj6
= 0 ;
25573 PyObject
* obj7
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25584 arg3
= (int)SWIG_As_int(obj2
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25600 arg6
= (long)SWIG_As_long(obj5
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25607 if (arg7
== NULL
) {
25608 PyErr_SetString(PyExc_TypeError
,"null reference");
25614 arg8
= wxString_in_helper(obj7
);
25615 if (arg8
== NULL
) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25643 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25646 PyObject
*arg2
= (PyObject
*) 0 ;
25647 PyObject
*arg3
= (PyObject
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 PyObject
* obj2
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "self",(char *) "_class", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 Py_INCREF(Py_None
); resultobj
= Py_None
;
25674 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25700 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
;
25702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25703 unsigned int result
;
25704 PyObject
* obj0
= 0 ;
25705 char *kwnames
[] = {
25706 (char *) "self", NULL
25709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25726 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25729 unsigned int arg2
;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self",(char *) "indent", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25739 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 (arg1
)->SetIndent(arg2
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 Py_INCREF(Py_None
); resultobj
= Py_None
;
25755 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25758 unsigned int result
;
25759 PyObject
* obj0
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25781 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25784 unsigned int arg2
;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self",(char *) "spacing", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25794 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 (arg1
)->SetSpacing(arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 Py_INCREF(Py_None
); resultobj
= Py_None
;
25810 static PyObject
*_wrap_TreeCtrl_GetImageList(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_GetImageList",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
)->GetImageList();
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= wxPyMake_wxObject(result
, 0);
25838 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25841 wxImageList
*result
;
25842 PyObject
* obj0
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25854 wxPyEndAllowThreads(__tstate
);
25855 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= wxPyMake_wxObject(result
, 0);
25866 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25868 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25869 wxImageList
*arg2
= (wxImageList
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "imageList", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetImageList(arg2
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 Py_INCREF(Py_None
); resultobj
= Py_None
;
25895 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25898 wxImageList
*arg2
= (wxImageList
*) 0 ;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "imageList", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetStateImageList(arg2
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25924 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25927 wxImageList
*arg2
= (wxImageList
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 PyObject
* obj1
= 0 ;
25930 char *kwnames
[] = {
25931 (char *) "self",(char *) "imageList", NULL
25934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25938 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->AssignImageList(arg2
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25956 wxImageList
*arg2
= (wxImageList
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "imageList", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25967 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 (arg1
)->AssignStateImageList(arg2
);
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25975 Py_INCREF(Py_None
); resultobj
= Py_None
;
25982 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
;
25984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25985 wxTreeItemId
*arg2
= 0 ;
25987 PyObject
* obj0
= 0 ;
25988 PyObject
* obj1
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "item", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25999 if (arg2
== NULL
) {
26000 PyErr_SetString(PyExc_TypeError
,"null reference");
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26023 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26026 wxTreeItemId
*arg2
= 0 ;
26027 int arg3
= (int) wxTreeItemIcon_Normal
;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 PyObject
* obj2
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "item",(char *) "which", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26040 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26042 if (arg2
== NULL
) {
26043 PyErr_SetString(PyExc_TypeError
,"null reference");
26047 arg3
= (int)SWIG_As_int(obj2
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_From_int((int)result
);
26064 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
;
26066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26067 wxTreeItemId
*arg2
= 0 ;
26068 wxPyTreeItemData
*result
;
26069 PyObject
* obj0
= 0 ;
26070 PyObject
* obj1
= 0 ;
26071 char *kwnames
[] = {
26072 (char *) "self",(char *) "item", NULL
26075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26081 if (arg2
== NULL
) {
26082 PyErr_SetString(PyExc_TypeError
,"null reference");
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26099 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26102 wxTreeItemId
*arg2
= 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "item", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26116 if (arg2
== NULL
) {
26117 PyErr_SetString(PyExc_TypeError
,"null reference");
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= result
;
26134 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26137 wxTreeItemId
*arg2
= 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "item", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26151 if (arg2
== NULL
) {
26152 PyErr_SetString(PyExc_TypeError
,"null reference");
26156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26157 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26163 wxColour
* resultptr
;
26164 resultptr
= new wxColour((wxColour
&) result
);
26165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26173 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26174 PyObject
*resultobj
;
26175 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26176 wxTreeItemId
*arg2
= 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "item", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26190 if (arg2
== NULL
) {
26191 PyErr_SetString(PyExc_TypeError
,"null reference");
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26202 wxColour
* resultptr
;
26203 resultptr
= new wxColour((wxColour
&) result
);
26204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26212 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26215 wxTreeItemId
*arg2
= 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "item", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26229 if (arg2
== NULL
) {
26230 PyErr_SetString(PyExc_TypeError
,"null reference");
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 wxFont
* resultptr
;
26242 resultptr
= new wxFont((wxFont
&) result
);
26243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26251 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26254 wxTreeItemId
*arg2
= 0 ;
26255 wxString
*arg3
= 0 ;
26256 bool temp3
= false ;
26257 PyObject
* obj0
= 0 ;
26258 PyObject
* obj1
= 0 ;
26259 PyObject
* obj2
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self",(char *) "item",(char *) "text", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26270 if (arg2
== NULL
) {
26271 PyErr_SetString(PyExc_TypeError
,"null reference");
26275 arg3
= wxString_in_helper(obj2
);
26276 if (arg3
== NULL
) SWIG_fail
;
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 Py_INCREF(Py_None
); resultobj
= Py_None
;
26301 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26304 wxTreeItemId
*arg2
= 0 ;
26306 int arg4
= (int) wxTreeItemIcon_Normal
;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 PyObject
* obj2
= 0 ;
26310 PyObject
* obj3
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference");
26325 arg3
= (int)SWIG_As_int(obj2
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 arg4
= (int)SWIG_As_int(obj3
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 Py_INCREF(Py_None
); resultobj
= Py_None
;
26345 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26348 wxTreeItemId
*arg2
= 0 ;
26349 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "item",(char *) "data", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26363 if (arg2
== NULL
) {
26364 PyErr_SetString(PyExc_TypeError
,"null reference");
26367 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 Py_INCREF(Py_None
); resultobj
= Py_None
;
26383 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
;
26385 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26386 wxTreeItemId
*arg2
= 0 ;
26387 PyObject
*arg3
= (PyObject
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 PyObject
* obj2
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "item",(char *) "obj", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26401 if (arg2
== NULL
) {
26402 PyErr_SetString(PyExc_TypeError
,"null reference");
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 Py_INCREF(Py_None
); resultobj
= Py_None
;
26420 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26423 wxTreeItemId
*arg2
= 0 ;
26424 bool arg3
= (bool) true ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 PyObject
* obj2
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "item",(char *) "has", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26438 if (arg2
== NULL
) {
26439 PyErr_SetString(PyExc_TypeError
,"null reference");
26443 arg3
= (bool)SWIG_As_bool(obj2
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 Py_INCREF(Py_None
); resultobj
= Py_None
;
26460 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
;
26462 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26463 wxTreeItemId
*arg2
= 0 ;
26464 bool arg3
= (bool) true ;
26465 PyObject
* obj0
= 0 ;
26466 PyObject
* obj1
= 0 ;
26467 PyObject
* obj2
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self",(char *) "item",(char *) "bold", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26478 if (arg2
== NULL
) {
26479 PyErr_SetString(PyExc_TypeError
,"null reference");
26483 arg3
= (bool)SWIG_As_bool(obj2
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 Py_INCREF(Py_None
); resultobj
= Py_None
;
26500 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26503 wxTreeItemId
*arg2
= 0 ;
26504 wxColour
*arg3
= 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 PyObject
* obj2
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self",(char *) "item",(char *) "col", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26519 if (arg2
== NULL
) {
26520 PyErr_SetString(PyExc_TypeError
,"null reference");
26525 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 Py_INCREF(Py_None
); resultobj
= Py_None
;
26541 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26544 wxTreeItemId
*arg2
= 0 ;
26545 wxColour
*arg3
= 0 ;
26547 PyObject
* obj0
= 0 ;
26548 PyObject
* obj1
= 0 ;
26549 PyObject
* obj2
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self",(char *) "item",(char *) "col", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26560 if (arg2
== NULL
) {
26561 PyErr_SetString(PyExc_TypeError
,"null reference");
26566 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 Py_INCREF(Py_None
); resultobj
= Py_None
;
26582 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26585 wxTreeItemId
*arg2
= 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self",(char *) "item",(char *) "font", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26600 if (arg2
== NULL
) {
26601 PyErr_SetString(PyExc_TypeError
,"null reference");
26604 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26607 if (arg3
== NULL
) {
26608 PyErr_SetString(PyExc_TypeError
,"null reference");
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 Py_INCREF(Py_None
); resultobj
= Py_None
;
26625 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26628 wxTreeItemId
*arg2
= 0 ;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self",(char *) "item", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26642 if (arg2
== NULL
) {
26643 PyErr_SetString(PyExc_TypeError
,"null reference");
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26662 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
;
26664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26665 wxTreeItemId
*arg2
= 0 ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self",(char *) "item", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26679 if (arg2
== NULL
) {
26680 PyErr_SetString(PyExc_TypeError
,"null reference");
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26687 wxPyEndAllowThreads(__tstate
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26699 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26702 wxTreeItemId
*arg2
= 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self",(char *) "item", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26716 if (arg2
== NULL
) {
26717 PyErr_SetString(PyExc_TypeError
,"null reference");
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26736 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26739 wxTreeItemId
*arg2
= 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "item", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26753 if (arg2
== NULL
) {
26754 PyErr_SetString(PyExc_TypeError
,"null reference");
26758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26759 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26773 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26776 wxTreeItemId
*arg2
= 0 ;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self",(char *) "item", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26790 if (arg2
== NULL
) {
26791 PyErr_SetString(PyExc_TypeError
,"null reference");
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26810 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26813 wxTreeItemId
*arg2
= 0 ;
26814 bool arg3
= (bool) true ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 PyObject
* obj2
= 0 ;
26819 char *kwnames
[] = {
26820 (char *) "self",(char *) "item",(char *) "recursively", NULL
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26829 if (arg2
== NULL
) {
26830 PyErr_SetString(PyExc_TypeError
,"null reference");
26834 arg3
= (bool)SWIG_As_bool(obj2
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26851 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26854 wxTreeItemId result
;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26871 wxTreeItemId
* resultptr
;
26872 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26881 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26884 wxTreeItemId result
;
26885 PyObject
* obj0
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 wxTreeItemId
* resultptr
;
26902 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26911 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26925 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26927 wxPyEndAllowThreads(__tstate
);
26928 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= result
;
26937 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26940 wxTreeItemId
*arg2
= 0 ;
26941 wxTreeItemId result
;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "item", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26954 if (arg2
== NULL
) {
26955 PyErr_SetString(PyExc_TypeError
,"null reference");
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 wxTreeItemId
* resultptr
;
26967 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26976 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26979 wxTreeItemId
*arg2
= 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "item", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26993 if (arg2
== NULL
) {
26994 PyErr_SetString(PyExc_TypeError
,"null reference");
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= result
;
27011 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27014 wxTreeItemId
*arg2
= 0 ;
27015 void *arg3
= (void *) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 PyObject
* obj2
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self",(char *) "item",(char *) "cookie", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27030 if (arg2
== NULL
) {
27031 PyErr_SetString(PyExc_TypeError
,"null reference");
27034 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
;
27049 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
;
27051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27052 wxTreeItemId
*arg2
= 0 ;
27053 wxTreeItemId result
;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 char *kwnames
[] = {
27057 (char *) "self",(char *) "item", NULL
27060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27066 if (arg2
== NULL
) {
27067 PyErr_SetString(PyExc_TypeError
,"null reference");
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 wxTreeItemId
* resultptr
;
27079 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27088 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27089 PyObject
*resultobj
;
27090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27091 wxTreeItemId
*arg2
= 0 ;
27092 wxTreeItemId result
;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self",(char *) "item", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27105 if (arg2
== NULL
) {
27106 PyErr_SetString(PyExc_TypeError
,"null reference");
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 wxTreeItemId
* resultptr
;
27118 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27127 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27128 PyObject
*resultobj
;
27129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27130 wxTreeItemId
*arg2
= 0 ;
27131 wxTreeItemId result
;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self",(char *) "item", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27144 if (arg2
== NULL
) {
27145 PyErr_SetString(PyExc_TypeError
,"null reference");
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27156 wxTreeItemId
* resultptr
;
27157 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27166 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
;
27168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27169 wxTreeItemId result
;
27170 PyObject
* obj0
= 0 ;
27171 char *kwnames
[] = {
27172 (char *) "self", NULL
27175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 wxTreeItemId
* resultptr
;
27187 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27196 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27199 wxTreeItemId
*arg2
= 0 ;
27200 wxTreeItemId result
;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "item", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27213 if (arg2
== NULL
) {
27214 PyErr_SetString(PyExc_TypeError
,"null reference");
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 wxTreeItemId
* resultptr
;
27226 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27235 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27236 PyObject
*resultobj
;
27237 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27238 wxTreeItemId
*arg2
= 0 ;
27239 wxTreeItemId result
;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self",(char *) "item", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27252 if (arg2
== NULL
) {
27253 PyErr_SetString(PyExc_TypeError
,"null reference");
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 wxTreeItemId
* resultptr
;
27265 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27274 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27277 wxString
*arg2
= 0 ;
27278 int arg3
= (int) -1 ;
27279 int arg4
= (int) -1 ;
27280 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27281 wxTreeItemId result
;
27282 bool temp2
= false ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 PyObject
* obj2
= 0 ;
27286 PyObject
* obj3
= 0 ;
27287 PyObject
* obj4
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27296 arg2
= wxString_in_helper(obj1
);
27297 if (arg2
== NULL
) SWIG_fail
;
27301 arg3
= (int)SWIG_As_int(obj2
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 arg4
= (int)SWIG_As_int(obj3
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 wxTreeItemId
* resultptr
;
27321 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27338 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27339 PyObject
*resultobj
;
27340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27341 wxTreeItemId
*arg2
= 0 ;
27342 wxString
*arg3
= 0 ;
27343 int arg4
= (int) -1 ;
27344 int arg5
= (int) -1 ;
27345 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27346 wxTreeItemId result
;
27347 bool temp3
= false ;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 PyObject
* obj2
= 0 ;
27351 PyObject
* obj3
= 0 ;
27352 PyObject
* obj4
= 0 ;
27353 PyObject
* obj5
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27364 if (arg2
== NULL
) {
27365 PyErr_SetString(PyExc_TypeError
,"null reference");
27369 arg3
= wxString_in_helper(obj2
);
27370 if (arg3
== NULL
) SWIG_fail
;
27374 arg4
= (int)SWIG_As_int(obj3
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 arg5
= (int)SWIG_As_int(obj4
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27382 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27393 wxTreeItemId
* resultptr
;
27394 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27411 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27412 PyObject
*resultobj
;
27413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27414 wxTreeItemId
*arg2
= 0 ;
27415 wxTreeItemId
*arg3
= 0 ;
27416 wxString
*arg4
= 0 ;
27417 int arg5
= (int) -1 ;
27418 int arg6
= (int) -1 ;
27419 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27420 wxTreeItemId result
;
27421 bool temp4
= false ;
27422 PyObject
* obj0
= 0 ;
27423 PyObject
* obj1
= 0 ;
27424 PyObject
* obj2
= 0 ;
27425 PyObject
* obj3
= 0 ;
27426 PyObject
* obj4
= 0 ;
27427 PyObject
* obj5
= 0 ;
27428 PyObject
* obj6
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27439 if (arg2
== NULL
) {
27440 PyErr_SetString(PyExc_TypeError
,"null reference");
27443 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27446 if (arg3
== NULL
) {
27447 PyErr_SetString(PyExc_TypeError
,"null reference");
27451 arg4
= wxString_in_helper(obj3
);
27452 if (arg4
== NULL
) SWIG_fail
;
27456 arg5
= (int)SWIG_As_int(obj4
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27460 arg6
= (int)SWIG_As_int(obj5
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27469 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27475 wxTreeItemId
* resultptr
;
27476 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27493 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27496 wxTreeItemId
*arg2
= 0 ;
27498 wxString
*arg4
= 0 ;
27499 int arg5
= (int) -1 ;
27500 int arg6
= (int) -1 ;
27501 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27502 wxTreeItemId result
;
27503 bool temp4
= false ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 PyObject
* obj2
= 0 ;
27507 PyObject
* obj3
= 0 ;
27508 PyObject
* obj4
= 0 ;
27509 PyObject
* obj5
= 0 ;
27510 PyObject
* obj6
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27521 if (arg2
== NULL
) {
27522 PyErr_SetString(PyExc_TypeError
,"null reference");
27525 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 arg4
= wxString_in_helper(obj3
);
27529 if (arg4
== NULL
) SWIG_fail
;
27533 arg5
= (int)SWIG_As_int(obj4
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27537 arg6
= (int)SWIG_As_int(obj5
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27541 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 wxTreeItemId
* resultptr
;
27553 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27570 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27573 wxTreeItemId
*arg2
= 0 ;
27574 wxString
*arg3
= 0 ;
27575 int arg4
= (int) -1 ;
27576 int arg5
= (int) -1 ;
27577 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27578 wxTreeItemId result
;
27579 bool temp3
= false ;
27580 PyObject
* obj0
= 0 ;
27581 PyObject
* obj1
= 0 ;
27582 PyObject
* obj2
= 0 ;
27583 PyObject
* obj3
= 0 ;
27584 PyObject
* obj4
= 0 ;
27585 PyObject
* obj5
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27596 if (arg2
== NULL
) {
27597 PyErr_SetString(PyExc_TypeError
,"null reference");
27601 arg3
= wxString_in_helper(obj2
);
27602 if (arg3
== NULL
) SWIG_fail
;
27606 arg4
= (int)SWIG_As_int(obj3
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27610 arg5
= (int)SWIG_As_int(obj4
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27614 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 wxTreeItemId
* resultptr
;
27626 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27643 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27644 PyObject
*resultobj
;
27645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27646 wxTreeItemId
*arg2
= 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self",(char *) "item", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27659 if (arg2
== NULL
) {
27660 PyErr_SetString(PyExc_TypeError
,"null reference");
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 Py_INCREF(Py_None
); resultobj
= Py_None
;
27677 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27680 wxTreeItemId
*arg2
= 0 ;
27681 PyObject
* obj0
= 0 ;
27682 PyObject
* obj1
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "self",(char *) "item", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27693 if (arg2
== NULL
) {
27694 PyErr_SetString(PyExc_TypeError
,"null reference");
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 Py_INCREF(Py_None
); resultobj
= Py_None
;
27711 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27714 PyObject
* obj0
= 0 ;
27715 char *kwnames
[] = {
27716 (char *) "self", NULL
27719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 (arg1
)->DeleteAllItems();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 Py_INCREF(Py_None
); resultobj
= Py_None
;
27736 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27739 wxTreeItemId
*arg2
= 0 ;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 char *kwnames
[] = {
27743 (char *) "self",(char *) "item", NULL
27746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27752 if (arg2
== NULL
) {
27753 PyErr_SetString(PyExc_TypeError
,"null reference");
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 Py_INCREF(Py_None
); resultobj
= Py_None
;
27770 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
;
27772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27773 wxTreeItemId
*arg2
= 0 ;
27774 PyObject
* obj0
= 0 ;
27775 PyObject
* obj1
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self",(char *) "item", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27786 if (arg2
== NULL
) {
27787 PyErr_SetString(PyExc_TypeError
,"null reference");
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27807 wxTreeItemId
*arg2
= 0 ;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 char *kwnames
[] = {
27811 (char *) "self",(char *) "item", NULL
27814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27820 if (arg2
== NULL
) {
27821 PyErr_SetString(PyExc_TypeError
,"null reference");
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27841 wxTreeItemId
*arg2
= 0 ;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self",(char *) "item", NULL
27848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27854 if (arg2
== NULL
) {
27855 PyErr_SetString(PyExc_TypeError
,"null reference");
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 Py_INCREF(Py_None
); resultobj
= Py_None
;
27872 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
;
27874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27875 PyObject
* obj0
= 0 ;
27876 char *kwnames
[] = {
27877 (char *) "self", NULL
27880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27885 (arg1
)->Unselect();
27887 wxPyEndAllowThreads(__tstate
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 Py_INCREF(Py_None
); resultobj
= Py_None
;
27897 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27898 PyObject
*resultobj
;
27899 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27900 wxTreeItemId
*arg2
= 0 ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self",(char *) "item", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27913 if (arg2
== NULL
) {
27914 PyErr_SetString(PyExc_TypeError
,"null reference");
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 Py_INCREF(Py_None
); resultobj
= Py_None
;
27931 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27934 PyObject
* obj0
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 (arg1
)->UnselectAll();
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 Py_INCREF(Py_None
); resultobj
= Py_None
;
27956 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
;
27958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27959 wxTreeItemId
*arg2
= 0 ;
27960 bool arg3
= (bool) true ;
27961 PyObject
* obj0
= 0 ;
27962 PyObject
* obj1
= 0 ;
27963 PyObject
* obj2
= 0 ;
27964 char *kwnames
[] = {
27965 (char *) "self",(char *) "item",(char *) "select", NULL
27968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27974 if (arg2
== NULL
) {
27975 PyErr_SetString(PyExc_TypeError
,"null reference");
27979 arg3
= (bool)SWIG_As_bool(obj2
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 Py_INCREF(Py_None
); resultobj
= Py_None
;
27996 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27999 wxTreeItemId
*arg2
= 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "item", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28012 if (arg2
== NULL
) {
28013 PyErr_SetString(PyExc_TypeError
,"null reference");
28017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 Py_INCREF(Py_None
); resultobj
= Py_None
;
28030 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
;
28032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28033 wxTreeItemId
*arg2
= 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char *kwnames
[] = {
28037 (char *) "self",(char *) "item", NULL
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28046 if (arg2
== NULL
) {
28047 PyErr_SetString(PyExc_TypeError
,"null reference");
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 Py_INCREF(Py_None
); resultobj
= Py_None
;
28064 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28067 wxTreeItemId
*arg2
= 0 ;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self",(char *) "item", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28080 if (arg2
== NULL
) {
28081 PyErr_SetString(PyExc_TypeError
,"null reference");
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 Py_INCREF(Py_None
); resultobj
= Py_None
;
28098 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28101 wxTreeItemId
*arg2
= 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 char *kwnames
[] = {
28105 (char *) "self",(char *) "item", NULL
28108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28114 if (arg2
== NULL
) {
28115 PyErr_SetString(PyExc_TypeError
,"null reference");
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28135 wxTextCtrl
*result
;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= wxPyMake_wxObject(result
, 0);
28160 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28163 wxTreeItemId
*arg2
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "item", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28176 if (arg2
== NULL
) {
28177 PyErr_SetString(PyExc_TypeError
,"null reference");
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 Py_INCREF(Py_None
); resultobj
= Py_None
;
28194 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28197 wxPoint
*arg2
= 0 ;
28199 wxTreeItemId result
;
28203 PyObject
* obj0
= 0 ;
28204 PyObject
* obj1
= 0 ;
28205 char *kwnames
[] = {
28206 (char *) "self",(char *) "point", NULL
28209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28225 wxTreeItemId
* resultptr
;
28226 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28229 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28230 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28237 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
;
28239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28240 wxTreeItemId
*arg2
= 0 ;
28241 bool arg3
= (bool) false ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 char *kwnames
[] = {
28247 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28256 if (arg2
== NULL
) {
28257 PyErr_SetString(PyExc_TypeError
,"null reference");
28261 arg3
= (bool)SWIG_As_bool(obj2
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= result
;
28278 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28281 wxVisualAttributes result
;
28282 PyObject
* obj0
= 0 ;
28283 char *kwnames
[] = {
28284 (char *) "variant", NULL
28287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28289 arg1
= (int)SWIG_As_int(obj0
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28293 if (!wxPyCheckForApp()) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28301 wxVisualAttributes
* resultptr
;
28302 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28311 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28314 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28316 return Py_BuildValue((char *)"");
28318 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28319 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28324 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28329 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28331 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28338 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxWindow
*arg1
= (wxWindow
*) 0 ;
28341 int arg2
= (int) (int)-1 ;
28342 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28343 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28344 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28345 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28346 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28347 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28348 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28349 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28350 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28351 int arg8
= (int) 0 ;
28352 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28353 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28354 wxGenericDirCtrl
*result
;
28355 bool temp3
= false ;
28358 bool temp7
= false ;
28359 bool temp9
= false ;
28360 PyObject
* obj0
= 0 ;
28361 PyObject
* obj1
= 0 ;
28362 PyObject
* obj2
= 0 ;
28363 PyObject
* obj3
= 0 ;
28364 PyObject
* obj4
= 0 ;
28365 PyObject
* obj5
= 0 ;
28366 PyObject
* obj6
= 0 ;
28367 PyObject
* obj7
= 0 ;
28368 PyObject
* obj8
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 arg2
= (int)SWIG_As_int(obj1
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28382 arg3
= wxString_in_helper(obj2
);
28383 if (arg3
== NULL
) SWIG_fail
;
28390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28400 arg6
= (long)SWIG_As_long(obj5
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28405 arg7
= wxString_in_helper(obj6
);
28406 if (arg7
== NULL
) SWIG_fail
;
28411 arg8
= (int)SWIG_As_int(obj7
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28416 arg9
= wxString_in_helper(obj8
);
28417 if (arg9
== NULL
) SWIG_fail
;
28422 if (!wxPyCheckForApp()) SWIG_fail
;
28423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28424 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28426 wxPyEndAllowThreads(__tstate
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28460 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxGenericDirCtrl
*result
;
28463 char *kwnames
[] = {
28467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28469 if (!wxPyCheckForApp()) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28483 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28484 PyObject
*resultobj
;
28485 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28486 wxWindow
*arg2
= (wxWindow
*) 0 ;
28487 int arg3
= (int) (int)-1 ;
28488 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28489 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28490 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28491 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28492 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28493 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28494 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28495 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28496 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28497 int arg9
= (int) 0 ;
28498 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28499 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28501 bool temp4
= false ;
28504 bool temp8
= false ;
28505 bool temp10
= false ;
28506 PyObject
* obj0
= 0 ;
28507 PyObject
* obj1
= 0 ;
28508 PyObject
* obj2
= 0 ;
28509 PyObject
* obj3
= 0 ;
28510 PyObject
* obj4
= 0 ;
28511 PyObject
* obj5
= 0 ;
28512 PyObject
* obj6
= 0 ;
28513 PyObject
* obj7
= 0 ;
28514 PyObject
* obj8
= 0 ;
28515 PyObject
* obj9
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28526 arg3
= (int)SWIG_As_int(obj2
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28531 arg4
= wxString_in_helper(obj3
);
28532 if (arg4
== NULL
) SWIG_fail
;
28539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28549 arg7
= (long)SWIG_As_long(obj6
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28554 arg8
= wxString_in_helper(obj7
);
28555 if (arg8
== NULL
) SWIG_fail
;
28560 arg9
= (int)SWIG_As_int(obj8
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28565 arg10
= wxString_in_helper(obj9
);
28566 if (arg10
== NULL
) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28610 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28613 wxString
*arg2
= 0 ;
28615 bool temp2
= false ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self",(char *) "path", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28626 arg2
= wxString_in_helper(obj1
);
28627 if (arg2
== NULL
) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28654 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28658 PyObject
* obj0
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28686 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28689 wxString
*arg2
= 0 ;
28690 bool temp2
= false ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self",(char *) "path", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28701 arg2
= wxString_in_helper(obj1
);
28702 if (arg2
== NULL
) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 Py_INCREF(Py_None
); resultobj
= Py_None
;
28727 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28728 PyObject
*resultobj
;
28729 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28731 PyObject
* obj0
= 0 ;
28732 char *kwnames
[] = {
28733 (char *) "self", NULL
28736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28759 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
;
28761 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28763 PyObject
* obj0
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "self", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28791 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28794 wxString
*arg2
= 0 ;
28795 bool temp2
= false ;
28796 PyObject
* obj0
= 0 ;
28797 PyObject
* obj1
= 0 ;
28798 char *kwnames
[] = {
28799 (char *) "self",(char *) "path", NULL
28802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28806 arg2
= wxString_in_helper(obj1
);
28807 if (arg2
== NULL
) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 (arg1
)->SetPath((wxString
const &)*arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self",(char *) "show", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 arg2
= (bool)SWIG_As_bool(obj1
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 (arg1
)->ShowHidden(arg2
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 Py_INCREF(Py_None
); resultobj
= Py_None
;
28861 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(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_GetShowHidden",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
= (bool)(arg1
)->GetShowHidden();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28889 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28893 PyObject
* obj0
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28921 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
;
28923 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28924 wxString
*arg2
= 0 ;
28925 bool temp2
= false ;
28926 PyObject
* obj0
= 0 ;
28927 PyObject
* obj1
= 0 ;
28928 char *kwnames
[] = {
28929 (char *) "self",(char *) "filter", NULL
28932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28936 arg2
= wxString_in_helper(obj1
);
28937 if (arg2
== NULL
) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->SetFilter((wxString
const &)*arg2
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_From_int((int)result
);
28988 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28989 PyObject
*resultobj
;
28990 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 char *kwnames
[] = {
28995 (char *) "self",(char *) "n", NULL
28998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29001 arg2
= (int)SWIG_As_int(obj1
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->SetFilterIndex(arg2
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 Py_INCREF(Py_None
); resultobj
= Py_None
;
29017 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29020 wxTreeItemId result
;
29021 PyObject
* obj0
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "self", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (arg1
)->GetRootId();
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 wxTreeItemId
* resultptr
;
29038 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29047 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
;
29049 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29050 wxPyTreeCtrl
*result
;
29051 PyObject
* obj0
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",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
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29063 wxPyEndAllowThreads(__tstate
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= wxPyMake_wxObject(result
, 0);
29075 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29078 wxDirFilterListCtrl
*result
;
29079 PyObject
* obj0
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29101 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29104 wxTreeItemId arg2
;
29105 wxString
*arg3
= 0 ;
29107 wxTreeItemId result
;
29108 wxTreeItemId
*argp2
;
29109 bool temp3
= false ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "parentId",(char *) "path", NULL
29119 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29123 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29124 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29127 arg3
= wxString_in_helper(obj2
);
29128 if (arg3
== NULL
) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29139 wxTreeItemId
* resultptr
;
29140 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29143 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29144 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29159 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 char *kwnames
[] = {
29164 (char *) "self", NULL
29167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 (arg1
)->DoResize();
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 Py_INCREF(Py_None
); resultobj
= Py_None
;
29184 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
;
29186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 (arg1
)->ReCreateTree();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 Py_INCREF(Py_None
); resultobj
= Py_None
;
29209 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29212 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29214 return Py_BuildValue((char *)"");
29216 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29219 int arg2
= (int) (int)-1 ;
29220 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29221 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29222 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29223 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29224 long arg5
= (long) 0 ;
29225 wxDirFilterListCtrl
*result
;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 PyObject
* obj3
= 0 ;
29232 PyObject
* obj4
= 0 ;
29233 char *kwnames
[] = {
29234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29241 arg2
= (int)SWIG_As_int(obj1
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29247 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29253 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29257 arg5
= (long)SWIG_As_long(obj4
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 if (!wxPyCheckForApp()) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29275 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxDirFilterListCtrl
*result
;
29278 char *kwnames
[] = {
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29284 if (!wxPyCheckForApp()) SWIG_fail
;
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29288 wxPyEndAllowThreads(__tstate
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29298 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29299 PyObject
*resultobj
;
29300 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29301 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29302 int arg3
= (int) (int)-1 ;
29303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29307 long arg6
= (long) 0 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 PyObject
* obj3
= 0 ;
29315 PyObject
* obj4
= 0 ;
29316 PyObject
* obj5
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29327 arg3
= (int)SWIG_As_int(obj2
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29343 arg6
= (long)SWIG_As_long(obj5
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29362 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29363 PyObject
*resultobj
;
29364 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29365 wxString
*arg2
= 0 ;
29367 bool temp2
= false ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 PyObject
* obj2
= 0 ;
29371 char *kwnames
[] = {
29372 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29379 arg2
= wxString_in_helper(obj1
);
29380 if (arg2
== NULL
) SWIG_fail
;
29383 arg3
= (int)SWIG_As_int(obj2
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 Py_INCREF(Py_None
); resultobj
= Py_None
;
29407 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29410 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29412 return Py_BuildValue((char *)"");
29414 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxWindow
*arg1
= (wxWindow
*) 0 ;
29417 int arg2
= (int) (int)-1 ;
29418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29422 long arg5
= (long) 0 ;
29423 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29424 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29425 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29427 wxPyControl
*result
;
29430 bool temp7
= false ;
29431 PyObject
* obj0
= 0 ;
29432 PyObject
* obj1
= 0 ;
29433 PyObject
* obj2
= 0 ;
29434 PyObject
* obj3
= 0 ;
29435 PyObject
* obj4
= 0 ;
29436 PyObject
* obj5
= 0 ;
29437 PyObject
* obj6
= 0 ;
29438 char *kwnames
[] = {
29439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29446 arg2
= (int)SWIG_As_int(obj1
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29458 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29462 arg5
= (long)SWIG_As_long(obj4
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29466 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29469 if (arg6
== NULL
) {
29470 PyErr_SetString(PyExc_TypeError
,"null reference");
29476 arg7
= wxString_in_helper(obj6
);
29477 if (arg7
== NULL
) SWIG_fail
;
29482 if (!wxPyCheckForApp()) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29504 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxPyControl
*result
;
29507 char *kwnames
[] = {
29511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29513 if (!wxPyCheckForApp()) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxPyControl
*)new wxPyControl();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29527 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29530 PyObject
*arg2
= (PyObject
*) 0 ;
29531 PyObject
*arg3
= (PyObject
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 char *kwnames
[] = {
29536 (char *) "self",(char *) "self",(char *) "_class", NULL
29539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 Py_INCREF(Py_None
); resultobj
= Py_None
;
29558 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29563 PyObject
* obj0
= 0 ;
29564 PyObject
* obj1
= 0 ;
29565 char *kwnames
[] = {
29566 (char *) "self",(char *) "size", NULL
29569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29574 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29580 wxPyEndAllowThreads(__tstate
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29583 Py_INCREF(Py_None
); resultobj
= Py_None
;
29590 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29591 PyObject
*resultobj
;
29592 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 PyObject
* obj2
= 0 ;
29600 PyObject
* obj3
= 0 ;
29601 PyObject
* obj4
= 0 ;
29602 char *kwnames
[] = {
29603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29609 arg2
= (int)SWIG_As_int(obj1
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29611 arg3
= (int)SWIG_As_int(obj2
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29613 arg4
= (int)SWIG_As_int(obj3
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29615 arg5
= (int)SWIG_As_int(obj4
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 Py_INCREF(Py_None
); resultobj
= Py_None
;
29631 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29638 int arg6
= (int) wxSIZE_AUTO
;
29639 PyObject
* obj0
= 0 ;
29640 PyObject
* obj1
= 0 ;
29641 PyObject
* obj2
= 0 ;
29642 PyObject
* obj3
= 0 ;
29643 PyObject
* obj4
= 0 ;
29644 PyObject
* obj5
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (int)SWIG_As_int(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29654 arg3
= (int)SWIG_As_int(obj2
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29656 arg4
= (int)SWIG_As_int(obj3
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29658 arg5
= (int)SWIG_As_int(obj4
);
29659 if (PyErr_Occurred()) SWIG_fail
;
29661 arg6
= (int)SWIG_As_int(obj5
);
29662 if (PyErr_Occurred()) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29671 Py_INCREF(Py_None
); resultobj
= Py_None
;
29678 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29679 PyObject
*resultobj
;
29680 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "width",(char *) "height", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29693 arg2
= (int)SWIG_As_int(obj1
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29695 arg3
= (int)SWIG_As_int(obj2
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 Py_INCREF(Py_None
); resultobj
= Py_None
;
29711 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29716 PyObject
* obj0
= 0 ;
29717 PyObject
* obj1
= 0 ;
29718 PyObject
* obj2
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "self",(char *) "x",(char *) "y", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29726 arg2
= (int)SWIG_As_int(obj1
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29728 arg3
= (int)SWIG_As_int(obj2
);
29729 if (PyErr_Occurred()) SWIG_fail
;
29731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 Py_INCREF(Py_None
); resultobj
= Py_None
;
29744 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29747 int *arg2
= (int *) 0 ;
29748 int *arg3
= (int *) 0 ;
29753 PyObject
* obj0
= 0 ;
29754 char *kwnames
[] = {
29755 (char *) "self", NULL
29758 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29759 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29765 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29767 wxPyEndAllowThreads(__tstate
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 Py_INCREF(Py_None
); resultobj
= Py_None
;
29771 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29772 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29773 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29774 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29781 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29784 int *arg2
= (int *) 0 ;
29785 int *arg3
= (int *) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self", NULL
29795 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29796 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29809 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29810 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29811 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29818 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
;
29820 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29821 int *arg2
= (int *) 0 ;
29822 int *arg3
= (int *) 0 ;
29827 PyObject
* obj0
= 0 ;
29828 char *kwnames
[] = {
29829 (char *) "self", NULL
29832 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29833 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29839 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29844 Py_INCREF(Py_None
); resultobj
= Py_None
;
29845 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29846 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29847 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29848 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29855 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29859 PyObject
* obj0
= 0 ;
29860 char *kwnames
[] = {
29861 (char *) "self", NULL
29864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29875 wxSize
* resultptr
;
29876 resultptr
= new wxSize((wxSize
&) result
);
29877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29885 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 char *kwnames
[] = {
29891 (char *) "self", NULL
29894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 wxSize
* resultptr
;
29906 resultptr
= new wxSize((wxSize
&) result
);
29907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29915 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
;
29917 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29918 PyObject
* obj0
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->base_InitDialog();
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 Py_INCREF(Py_None
); resultobj
= Py_None
;
29940 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(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_TransferDataToWindow",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_TransferDataToWindow();
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_TransferDataFromWindow(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_TransferDataFromWindow",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_TransferDataFromWindow();
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_Validate(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_Validate",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)(arg1
)->base_Validate();
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_AcceptsFocus(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_AcceptsFocus",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_AcceptsFocus();
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_AcceptsFocusFromKeyboard(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_AcceptsFocusFromKeyboard",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
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30080 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30084 PyObject
* obj0
= 0 ;
30085 char *kwnames
[] = {
30086 (char *) "self", NULL
30089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30100 wxSize
* resultptr
;
30101 resultptr
= new wxSize((wxSize
&) result
);
30102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30110 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30113 wxWindow
*arg2
= (wxWindow
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "child", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 (arg1
)->base_AddChild(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 Py_INCREF(Py_None
); resultobj
= Py_None
;
30139 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30142 wxWindow
*arg2
= (wxWindow
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "child", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 (arg1
)->base_RemoveChild(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 Py_INCREF(Py_None
); resultobj
= Py_None
;
30168 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
;
30170 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30172 PyObject
* obj0
= 0 ;
30173 char *kwnames
[] = {
30174 (char *) "self", NULL
30177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30196 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30197 PyObject
*resultobj
;
30198 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30199 wxColour
*arg2
= 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 char *kwnames
[] = {
30204 (char *) "self",(char *) "c", NULL
30207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 Py_INCREF(Py_None
); resultobj
= Py_None
;
30228 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30231 wxVisualAttributes result
;
30232 PyObject
* obj0
= 0 ;
30233 char *kwnames
[] = {
30234 (char *) "self", NULL
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (arg1
)->base_GetDefaultAttributes();
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30248 wxVisualAttributes
* resultptr
;
30249 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30258 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30261 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30263 return Py_BuildValue((char *)"");
30265 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
;
30267 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30268 int arg2
= (int) 0 ;
30269 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30270 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30271 wxHelpEvent
*result
;
30273 PyObject
* obj0
= 0 ;
30274 PyObject
* obj1
= 0 ;
30275 PyObject
* obj2
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "type",(char *) "winid",(char *) "pt", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30282 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 arg2
= (int)SWIG_As_int(obj1
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30309 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
;
30311 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 char *kwnames
[] = {
30315 (char *) "self", NULL
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30329 wxPoint
* resultptr
;
30330 resultptr
= new wxPoint((wxPoint
&) result
);
30331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30339 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30342 wxPoint
*arg2
= 0 ;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "pos", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30361 wxPyEndAllowThreads(__tstate
);
30362 if (PyErr_Occurred()) SWIG_fail
;
30364 Py_INCREF(Py_None
); resultobj
= Py_None
;
30371 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 char *kwnames
[] = {
30377 (char *) "self", NULL
30380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30387 result
= (wxString
*) &_result_ref
;
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30397 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30406 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
;
30408 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30409 wxString
*arg2
= 0 ;
30410 bool temp2
= false ;
30411 PyObject
* obj0
= 0 ;
30412 PyObject
* obj1
= 0 ;
30413 char *kwnames
[] = {
30414 (char *) "self",(char *) "link", NULL
30417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30421 arg2
= wxString_in_helper(obj1
);
30422 if (arg2
== NULL
) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->SetLink((wxString
const &)*arg2
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30463 result
= (wxString
*) &_result_ref
;
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30473 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30482 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30483 PyObject
*resultobj
;
30484 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30485 wxString
*arg2
= 0 ;
30486 bool temp2
= false ;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "target", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30497 arg2
= wxString_in_helper(obj1
);
30498 if (arg2
== NULL
) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->SetTarget((wxString
const &)*arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30523 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30526 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30528 return Py_BuildValue((char *)"");
30530 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxWindow
*arg1
= (wxWindow
*) NULL
;
30533 bool arg2
= (bool) true ;
30534 wxContextHelp
*result
;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 char *kwnames
[] = {
30538 (char *) "window",(char *) "doNow", NULL
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30547 arg2
= (bool)SWIG_As_bool(obj1
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30551 if (!wxPyCheckForApp()) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30565 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30568 PyObject
* obj0
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30583 Py_INCREF(Py_None
); resultobj
= Py_None
;
30590 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30591 PyObject
*resultobj
;
30592 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30593 wxWindow
*arg2
= (wxWindow
*) NULL
;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 char *kwnames
[] = {
30598 (char *) "self",(char *) "window", NULL
30601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30624 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30625 PyObject
*resultobj
;
30626 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30628 PyObject
* obj0
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 result
= (bool)(arg1
)->EndContextHelp();
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30652 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30654 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30655 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30657 return Py_BuildValue((char *)"");
30659 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30660 PyObject
*resultobj
;
30661 wxWindow
*arg1
= (wxWindow
*) 0 ;
30662 int arg2
= (int) wxID_CONTEXT_HELP
;
30663 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30664 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30665 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30666 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30667 long arg5
= (long) wxBU_AUTODRAW
;
30668 wxContextHelpButton
*result
;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 PyObject
* obj2
= 0 ;
30674 PyObject
* obj3
= 0 ;
30675 PyObject
* obj4
= 0 ;
30676 char *kwnames
[] = {
30677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30684 arg2
= (int)SWIG_As_int(obj1
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30690 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30696 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30700 arg5
= (long)SWIG_As_long(obj4
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30704 if (!wxPyCheckForApp()) SWIG_fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30718 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30721 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30723 return Py_BuildValue((char *)"");
30725 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30728 wxHelpProvider
*result
;
30729 PyObject
* obj0
= 0 ;
30730 char *kwnames
[] = {
30731 (char *) "helpProvider", NULL
30734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30751 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxHelpProvider
*result
;
30754 char *kwnames
[] = {
30758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30773 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30776 wxWindow
*arg2
= (wxWindow
*) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "self",(char *) "window", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30793 wxPyEndAllowThreads(__tstate
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30809 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30810 PyObject
*resultobj
;
30811 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30812 wxWindow
*arg2
= (wxWindow
*) 0 ;
30814 PyObject
* obj0
= 0 ;
30815 PyObject
* obj1
= 0 ;
30816 char *kwnames
[] = {
30817 (char *) "self",(char *) "window", NULL
30820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (bool)(arg1
)->ShowHelp(arg2
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30841 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30844 wxWindow
*arg2
= (wxWindow
*) 0 ;
30845 wxString
*arg3
= 0 ;
30846 bool temp3
= false ;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 PyObject
* obj2
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "self",(char *) "window",(char *) "text", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30860 arg3
= wxString_in_helper(obj2
);
30861 if (arg3
== NULL
) SWIG_fail
;
30865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30866 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 Py_INCREF(Py_None
); resultobj
= Py_None
;
30886 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30890 wxString
*arg3
= 0 ;
30891 bool temp3
= false ;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 PyObject
* obj2
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "id",(char *) "text", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30902 arg2
= (int)SWIG_As_int(obj1
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 arg3
= wxString_in_helper(obj2
);
30906 if (arg3
== NULL
) SWIG_fail
;
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30916 Py_INCREF(Py_None
); resultobj
= Py_None
;
30931 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30934 wxWindow
*arg2
= (wxWindow
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 char *kwnames
[] = {
30938 (char *) "self",(char *) "window", NULL
30941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 (arg1
)->RemoveHelp(arg2
);
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 Py_INCREF(Py_None
); resultobj
= Py_None
;
30960 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30963 PyObject
* obj0
= 0 ;
30964 char *kwnames
[] = {
30965 (char *) "self", NULL
30968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 wxHelpProvider_Destroy(arg1
);
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 Py_INCREF(Py_None
); resultobj
= Py_None
;
30985 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30988 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30990 return Py_BuildValue((char *)"");
30992 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxSimpleHelpProvider
*result
;
30995 char *kwnames
[] = {
30999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31014 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31017 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31019 return Py_BuildValue((char *)"");
31021 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
;
31023 wxBitmap
*arg1
= 0 ;
31024 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31025 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31026 wxGenericDragImage
*result
;
31027 PyObject
* obj0
= 0 ;
31028 PyObject
* obj1
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "image",(char *) "cursor", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31037 if (arg1
== NULL
) {
31038 PyErr_SetString(PyExc_TypeError
,"null reference");
31042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31045 if (arg2
== NULL
) {
31046 PyErr_SetString(PyExc_TypeError
,"null reference");
31051 if (!wxPyCheckForApp()) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31065 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
;
31068 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31069 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31070 wxGenericDragImage
*result
;
31071 PyObject
* obj0
= 0 ;
31072 PyObject
* obj1
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "image",(char *) "cursor", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31081 if (arg1
== NULL
) {
31082 PyErr_SetString(PyExc_TypeError
,"null reference");
31086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31089 if (arg2
== NULL
) {
31090 PyErr_SetString(PyExc_TypeError
,"null reference");
31095 if (!wxPyCheckForApp()) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31109 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
;
31111 wxString
*arg1
= 0 ;
31112 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31113 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31114 wxGenericDragImage
*result
;
31115 bool temp1
= false ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "str",(char *) "cursor", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31124 arg1
= wxString_in_helper(obj0
);
31125 if (arg1
== NULL
) SWIG_fail
;
31129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31132 if (arg2
== NULL
) {
31133 PyErr_SetString(PyExc_TypeError
,"null reference");
31138 if (!wxPyCheckForApp()) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31160 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxPyTreeCtrl
*arg1
= 0 ;
31163 wxTreeItemId
*arg2
= 0 ;
31164 wxGenericDragImage
*result
;
31165 PyObject
* obj0
= 0 ;
31166 PyObject
* obj1
= 0 ;
31167 char *kwnames
[] = {
31168 (char *) "treeCtrl",(char *) "id", NULL
31171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31175 if (arg1
== NULL
) {
31176 PyErr_SetString(PyExc_TypeError
,"null reference");
31179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31182 if (arg2
== NULL
) {
31183 PyErr_SetString(PyExc_TypeError
,"null reference");
31187 if (!wxPyCheckForApp()) SWIG_fail
;
31188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31201 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31202 PyObject
*resultobj
;
31203 wxPyListCtrl
*arg1
= 0 ;
31205 wxGenericDragImage
*result
;
31206 PyObject
* obj0
= 0 ;
31207 PyObject
* obj1
= 0 ;
31208 char *kwnames
[] = {
31209 (char *) "listCtrl",(char *) "id", NULL
31212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31216 if (arg1
== NULL
) {
31217 PyErr_SetString(PyExc_TypeError
,"null reference");
31220 arg2
= (long)SWIG_As_long(obj1
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 if (!wxPyCheckForApp()) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31237 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31265 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 PyObject
* obj1
= 0 ;
31268 char *kwnames
[] = {
31269 (char *) "self",(char *) "bitmap", NULL
31272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 (arg1
)->SetBackingBitmap(arg2
);
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31284 Py_INCREF(Py_None
); resultobj
= Py_None
;
31291 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31292 PyObject
*resultobj
;
31293 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31294 wxPoint
*arg2
= 0 ;
31295 wxWindow
*arg3
= (wxWindow
*) 0 ;
31296 bool arg4
= (bool) false ;
31297 wxRect
*arg5
= (wxRect
*) NULL
;
31300 PyObject
* obj0
= 0 ;
31301 PyObject
* obj1
= 0 ;
31302 PyObject
* obj2
= 0 ;
31303 PyObject
* obj3
= 0 ;
31304 PyObject
* obj4
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31316 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31319 arg4
= (bool)SWIG_As_bool(obj3
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31323 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31342 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31345 wxPoint
*arg2
= 0 ;
31346 wxWindow
*arg3
= (wxWindow
*) 0 ;
31347 wxWindow
*arg4
= (wxWindow
*) 0 ;
31350 PyObject
* obj0
= 0 ;
31351 PyObject
* obj1
= 0 ;
31352 PyObject
* obj2
= 0 ;
31353 PyObject
* obj3
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31365 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31367 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31385 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
;
31387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 char *kwnames
[] = {
31391 (char *) "self", NULL
31394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 result
= (bool)(arg1
)->EndDrag();
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31413 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31416 wxPoint
*arg2
= 0 ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "self",(char *) "pt", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31448 static PyObject
*_wrap_DragImage_Show(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_Show",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
)->Show();
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31476 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31490 result
= (bool)(arg1
)->Hide();
31492 wxPyEndAllowThreads(__tstate
);
31493 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31504 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
;
31506 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31507 wxPoint
*arg2
= 0 ;
31510 PyObject
* obj0
= 0 ;
31511 PyObject
* obj1
= 0 ;
31512 char *kwnames
[] = {
31513 (char *) "self",(char *) "pos", NULL
31516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31531 wxRect
* resultptr
;
31532 resultptr
= new wxRect((wxRect
&) result
);
31533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31541 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31545 wxPoint
*arg3
= 0 ;
31548 PyObject
* obj0
= 0 ;
31549 PyObject
* obj1
= 0 ;
31550 PyObject
* obj2
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "self",(char *) "dc",(char *) "pos", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31561 if (arg2
== NULL
) {
31562 PyErr_SetString(PyExc_TypeError
,"null reference");
31567 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31585 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31589 wxMemoryDC
*arg3
= 0 ;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 PyObject
* obj2
= 0 ;
31598 PyObject
* obj3
= 0 ;
31599 PyObject
* obj4
= 0 ;
31600 char *kwnames
[] = {
31601 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31610 if (arg2
== NULL
) {
31611 PyErr_SetString(PyExc_TypeError
,"null reference");
31614 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31617 if (arg3
== NULL
) {
31618 PyErr_SetString(PyExc_TypeError
,"null reference");
31623 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31627 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31645 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31646 PyObject
*resultobj
;
31647 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31648 wxPoint
*arg2
= 0 ;
31649 wxPoint
*arg3
= 0 ;
31655 PyObject
* obj0
= 0 ;
31656 PyObject
* obj1
= 0 ;
31657 PyObject
* obj2
= 0 ;
31658 PyObject
* obj3
= 0 ;
31659 PyObject
* obj4
= 0 ;
31660 char *kwnames
[] = {
31661 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31675 arg4
= (bool)SWIG_As_bool(obj3
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31677 arg5
= (bool)SWIG_As_bool(obj4
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31695 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31698 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31700 return Py_BuildValue((char *)"");
31702 static PyMethodDef SwigMethods
[] = {
31703 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31745 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31766 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31785 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31792 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31805 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31828 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31837 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31868 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31929 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31941 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31954 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31966 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31970 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32029 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32067 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32069 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32075 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32077 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32083 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32085 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32090 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32095 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32125 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32170 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32240 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32267 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32338 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32350 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32358 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32381 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32456 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32478 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32483 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32509 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32517 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32522 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32524 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32533 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32535 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32553 { NULL
, NULL
, 0, NULL
}
32557 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32559 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32560 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32562 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32563 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32565 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32566 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32568 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32569 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32571 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32572 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32574 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32575 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32577 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32578 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32580 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32581 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32583 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32586 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32589 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32592 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32595 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32598 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
32601 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32602 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32604 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32605 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32607 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32608 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32610 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32611 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32613 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32614 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32616 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32617 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32619 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32622 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32623 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32625 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32626 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
32628 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32629 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
32631 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32632 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
32634 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32635 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32637 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32638 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32640 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32643 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32644 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32646 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32647 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32649 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32650 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32652 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32653 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32655 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32656 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32658 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32659 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32661 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32662 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32664 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32665 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32667 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32670 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32671 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32673 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32674 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32676 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32677 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32679 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32680 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32682 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32683 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32685 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32686 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32688 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32691 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32692 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32694 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32695 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32697 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32700 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32703 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32704 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32706 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32707 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32709 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32710 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32712 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32713 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32715 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32716 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32718 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32719 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32721 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32722 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32724 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32725 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32727 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32728 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32730 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32731 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32733 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32734 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32736 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
32737 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
32739 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32740 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32742 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32743 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32745 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32746 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32748 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32749 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32751 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32752 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32754 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32755 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32757 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32758 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32760 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32761 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32763 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32764 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32766 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32767 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32769 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32770 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32772 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32773 return (void *)((wxControl
*) ((wxGauge
*) x
));
32775 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32776 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32778 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
32779 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
32781 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32782 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
32784 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32785 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32787 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32788 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32790 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32791 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32793 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32794 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32796 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32797 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32799 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32800 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32802 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32803 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32805 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32806 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
32808 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32809 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32811 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32812 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32814 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32815 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32817 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32818 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32820 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32821 return (void *)((wxControl
*) ((wxSlider
*) x
));
32823 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32824 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32826 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32827 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32829 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32830 return (void *)((wxControl
*) ((wxButton
*) x
));
32832 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32833 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32835 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32836 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32838 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32839 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32841 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32842 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32844 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
32845 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
32847 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32848 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32850 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32851 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32853 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32854 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32856 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32857 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
32859 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32860 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
32862 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
32863 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
32865 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
32866 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
32868 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
32869 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
32871 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
32872 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
32874 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32877 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
32878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
32880 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32881 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32883 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32884 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32886 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32889 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32890 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32892 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32895 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32898 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32899 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32901 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32902 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32904 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32907 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32910 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32913 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32914 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32916 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32919 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32920 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32922 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32925 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32928 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32931 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32934 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32935 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32937 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
32938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
32940 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
32943 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32946 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32949 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32952 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32955 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32956 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32958 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32959 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32961 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32962 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
32964 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32967 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32968 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32970 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32971 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32973 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32974 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32976 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32977 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32979 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32980 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32982 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32983 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32985 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32986 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32988 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32989 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32991 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32992 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32994 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32995 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32997 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32998 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33000 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33001 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33003 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33004 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33006 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33007 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33009 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33010 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33012 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33015 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33018 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33021 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33024 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33027 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33030 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33033 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33036 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) ((wxSizer
*) x
));
33039 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33042 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33045 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33048 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33051 static void *_p_wxEventTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) ((wxEvent
*) x
));
33054 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33057 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33060 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33063 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33066 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33069 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33072 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33075 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33078 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33081 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33084 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33087 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33090 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33093 static void *_p_wxControlTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33096 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33099 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33102 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33105 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33108 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33111 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33114 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33117 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33120 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33123 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33126 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33129 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33132 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33135 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33138 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33141 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33144 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33147 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33150 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33153 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33156 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33159 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33162 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33165 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33168 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33171 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33174 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33177 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33180 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33183 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33186 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33189 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33192 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33195 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33198 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33201 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33204 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33207 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33210 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33213 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33216 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33219 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33222 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33225 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33228 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33231 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33234 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33237 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33240 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33243 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33246 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33249 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33252 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33255 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33258 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33261 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33264 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) ((wxListItem
*) x
));
33267 static void *_p_wxImageTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) ((wxImage
*) x
));
33270 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33273 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33276 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33279 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33282 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33285 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33288 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33291 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33294 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33297 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33300 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33303 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33306 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33309 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33312 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33315 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33318 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33321 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33324 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33327 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33330 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33333 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33336 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33339 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33342 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33345 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33348 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33351 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33354 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33357 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33360 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33361 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33363 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33366 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33369 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33370 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33372 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33373 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33375 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33376 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33378 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
33379 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
33381 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33382 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33384 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33385 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33387 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33388 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33390 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33391 return (void *)((wxWindow
*) ((wxControl
*) x
));
33393 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33394 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33396 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33397 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33399 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33400 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33402 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33403 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33405 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33406 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33408 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33409 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33411 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33414 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33415 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33417 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33418 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33420 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33421 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33423 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33424 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33426 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33427 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33429 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33430 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33432 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33433 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33435 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33436 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33438 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33439 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33441 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33442 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33444 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33445 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33447 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33448 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33450 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33451 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33453 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33454 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33456 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33457 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33459 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33460 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33462 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33463 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33465 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33466 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33468 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33469 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33471 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33472 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33474 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33475 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33477 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33478 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33480 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33481 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33483 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33484 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33486 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33487 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33489 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33490 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33492 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33493 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33495 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33496 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33498 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33499 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33501 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33502 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33504 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33505 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33507 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33508 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33510 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33511 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33513 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33514 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33516 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33517 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33519 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33520 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33522 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33523 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33525 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
33526 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33528 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33529 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33531 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33532 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33534 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33535 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33537 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33538 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33540 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33541 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33543 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33544 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33546 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33547 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33549 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33550 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33552 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33553 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33555 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33556 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_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_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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}};
33563 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}};
33564 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}};
33565 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}};
33566 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}};
33567 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}};
33568 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}};
33569 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}};
33570 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
33571 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}};
33572 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}};
33573 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}};
33574 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}};
33575 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}};
33576 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}};
33577 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}};
33578 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}};
33579 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}};
33580 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}};
33581 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}};
33582 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}};
33583 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}};
33584 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}};
33585 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}};
33586 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}};
33587 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}};
33588 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}};
33589 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}};
33590 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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}};
33591 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}};
33592 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}};
33593 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}};
33594 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}};
33595 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}};
33596 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}};
33597 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}};
33598 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}};
33599 static swig_type_info _swigt__p_wxBookCtrlBase
[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33600 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
33601 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}};
33602 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}};
33603 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}};
33604 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}};
33605 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}};
33606 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}};
33607 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}};
33608 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}};
33609 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}};
33610 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}};
33611 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}};
33612 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}};
33613 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}};
33614 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}};
33615 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}};
33616 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}};
33617 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}};
33618 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}};
33619 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}};
33620 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}};
33621 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}};
33622 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}};
33623 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}};
33624 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}};
33625 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}};
33626 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}};
33627 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}};
33628 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_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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_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_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_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_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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}};
33629 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}};
33630 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}};
33631 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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}};
33632 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}};
33633 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}};
33634 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}};
33635 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}};
33636 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33637 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_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_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}};
33638 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}};
33639 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}};
33640 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}};
33641 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}};
33642 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}};
33643 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}};
33644 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}};
33646 static swig_type_info
*swig_types_initial
[] = {
33647 _swigt__p_wxTextUrlEvent
,
33649 _swigt__p_wxCheckBox
,
33650 _swigt__p_wxPyTreeCtrl
,
33652 _swigt__p_wxGenericDirCtrl
,
33654 _swigt__p_wxPyTreeItemData
,
33655 _swigt__p_wxItemContainer
,
33656 _swigt__p_wxPyListCtrl
,
33657 _swigt__p_wxDirFilterListCtrl
,
33658 _swigt__p_wxStaticLine
,
33659 _swigt__p_wxControl
,
33660 _swigt__p_wxPyControl
,
33662 _swigt__p_wxToolBarBase
,
33664 _swigt__p_wxToggleButton
,
33665 _swigt__p_wxRadioButton
,
33666 _swigt__p_wxChoice
,
33667 _swigt__p_wxMemoryDC
,
33668 _swigt__p_wxListItemAttr
,
33673 _swigt__p_wxListView
,
33675 _swigt__p_wxVisualAttributes
,
33676 _swigt__p_wxTextCtrl
,
33677 _swigt__p_wxNotebook
,
33678 _swigt__p_wxChoicebook
,
33679 _swigt__p_wxNotifyEvent
,
33680 _swigt__p_wxArrayString
,
33681 _swigt__p_wxListbook
,
33682 _swigt__p_wxStaticBitmap
,
33683 _swigt__p_wxSlider
,
33684 _swigt__p_wxStaticBox
,
33685 _swigt__p_wxArrayInt
,
33686 _swigt__p_wxContextHelp
,
33688 _swigt__p_wxBookCtrlBase
,
33689 _swigt__p_wxEvtHandler
,
33690 _swigt__p_wxListEvent
,
33691 _swigt__p_wxCheckListBox
,
33692 _swigt__p_wxListBox
,
33693 _swigt__p_wxSpinButton
,
33694 _swigt__p_wxButton
,
33695 _swigt__p_wxBitmapButton
,
33697 _swigt__p_wxContextHelpButton
,
33698 _swigt__p_wxRadioBox
,
33699 _swigt__p_wxScrollBar
,
33701 _swigt__p_wxTreeItemId
,
33702 _swigt__p_wxComboBox
,
33703 _swigt__p_wxHelpEvent
,
33704 _swigt__p_wxListItem
,
33705 _swigt__p_wxNotebookSizer
,
33706 _swigt__p_wxSpinEvent
,
33707 _swigt__p_wxGenericDragImage
,
33708 _swigt__p_wxSpinCtrl
,
33709 _swigt__p_wxImageList
,
33710 _swigt__p_wxHelpProvider
,
33711 _swigt__p_wxTextAttr
,
33712 _swigt__p_wxSimpleHelpProvider
,
33714 _swigt__p_wxChoicebookEvent
,
33715 _swigt__p_wxListbookEvent
,
33716 _swigt__p_wxNotebookEvent
,
33717 _swigt__p_wxObject
,
33718 _swigt__p_wxCursor
,
33719 _swigt__p_wxKeyEvent
,
33720 _swigt__p_wxWindow
,
33721 _swigt__p_wxString
,
33722 _swigt__p_wxBitmap
,
33723 _swigt__p_wxTreeEvent
,
33724 _swigt__p_wxMouseEvent
,
33725 _swigt__p_wxBookCtrlBaseEvent
,
33726 _swigt__p_wxCommandEvent
,
33727 _swigt__p_wxStaticText
,
33728 _swigt__p_wxControlWithItems
,
33729 _swigt__p_wxToolBarToolBase
,
33730 _swigt__p_wxColour
,
33731 _swigt__p_wxToolBar
,
33732 _swigt__p_wxBookCtrlSizer
,
33733 _swigt__p_wxValidator
,
33738 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33740 static swig_const_info swig_const_table
[] = {
33741 {0, 0, 0, 0.0, 0, 0}};
33750 SWIGEXPORT(void) SWIG_init(void) {
33751 static PyObject
*SWIG_globals
= 0;
33752 static int typeinit
= 0;
33755 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33756 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33757 d
= PyModule_GetDict(m
);
33760 for (i
= 0; swig_types_initial
[i
]; i
++) {
33761 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33765 SWIG_InstallConstants(d
,swig_const_table
);
33767 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33768 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33769 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33770 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33771 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33772 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33773 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
33774 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33775 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33776 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33777 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33778 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33779 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33780 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33781 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33782 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33783 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33784 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33785 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33786 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33787 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33788 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33789 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33790 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33791 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33792 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33793 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33794 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33795 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33796 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33797 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33798 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33799 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33800 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33801 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33802 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33803 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33804 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33805 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33806 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33807 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33808 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33809 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33810 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33811 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33812 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33813 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33814 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33815 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33816 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33817 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33818 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33819 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33820 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33821 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33822 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33823 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33824 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33825 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33826 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33827 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33828 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33829 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33830 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33831 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33832 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33833 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33834 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33835 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33836 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33840 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33841 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33842 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33843 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33844 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33845 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33846 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33847 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33848 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33849 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33850 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33851 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33852 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33853 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33854 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33855 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33856 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33857 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33858 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33859 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33860 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33861 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33862 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33863 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33864 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33865 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33866 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33867 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33868 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33869 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33870 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33871 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33874 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
33875 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
33876 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
33877 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
33878 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
33879 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
33880 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
33881 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
33882 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33883 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33884 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33885 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33886 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33887 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33888 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33889 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33890 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33891 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33892 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33893 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33894 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33895 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33896 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33897 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33898 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33899 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33900 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33901 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33902 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33903 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33904 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33905 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33906 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33907 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33908 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33909 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33910 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33911 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33912 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33913 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33914 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33915 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33916 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33917 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33918 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33919 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33920 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33921 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33922 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33923 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33924 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33925 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33926 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33927 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33928 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33929 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33930 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33931 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33932 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33933 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33934 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33935 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33936 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33937 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33938 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33939 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33940 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33941 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33942 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33943 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33944 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33945 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33946 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33947 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33948 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33949 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33950 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33951 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33952 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33953 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33954 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33955 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33956 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33957 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33958 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33959 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33960 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33961 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33962 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33963 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33964 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33965 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33966 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33967 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33968 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33969 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33970 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33971 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33974 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33975 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33976 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33977 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33978 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33979 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33980 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33981 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33982 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33983 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33984 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33985 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33986 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33988 // Map renamed classes back to their common name for OOR
33989 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33991 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33992 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33993 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33994 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33995 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33996 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33997 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33998 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33999 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34000 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34001 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34002 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34003 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34004 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34005 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34006 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34007 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34008 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34009 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34010 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34011 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34012 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34013 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34014 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34015 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34016 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34017 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34018 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34019 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34020 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34021 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34022 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34023 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34024 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34025 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34026 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34030 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34031 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34032 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34033 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34034 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34035 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34036 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34037 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34039 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34040 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34041 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34042 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34043 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34044 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34045 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34046 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34048 // Map renamed classes back to their common name for OOR
34049 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34050 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34052 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34053 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34054 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34055 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34056 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34057 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34058 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34059 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34060 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34061 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34063 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");