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_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3931 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3956 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3961 (char *) "self", NULL
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
3965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3984 PyObject
* obj0
= 0 ;
3986 (char *) "self", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
3990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 (arg1
)->SelectAll();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 Py_INCREF(Py_None
); resultobj
= Py_None
;
4006 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4010 PyObject
* obj0
= 0 ;
4012 (char *) "self", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
4016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4034 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4038 PyObject
* obj0
= 0 ;
4040 (char *) "self", NULL
4043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
4044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4062 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "self", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4090 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "self", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4118 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4124 (char *) "self", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4146 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4149 wxVisualAttributes result
;
4150 PyObject
* obj0
= 0 ;
4152 (char *) "variant", NULL
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4157 arg1
= (int)SWIG_As_int(obj0
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4161 if (!wxPyCheckForApp()) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4169 wxVisualAttributes
* resultptr
;
4170 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4179 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
4181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4182 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
4184 return Py_BuildValue((char *)"");
4186 static int _wrap_GaugeNameStr_set(PyObject
*) {
4187 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
4192 static PyObject
*_wrap_GaugeNameStr_get() {
4197 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
4199 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
4206 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxWindow
*arg1
= (wxWindow
*) 0 ;
4209 int arg2
= (int) -1 ;
4210 int arg3
= (int) 100 ;
4211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4215 long arg6
= (long) wxGA_HORIZONTAL
;
4216 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4217 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4218 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
4219 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4223 bool temp8
= false ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4226 PyObject
* obj2
= 0 ;
4227 PyObject
* obj3
= 0 ;
4228 PyObject
* obj4
= 0 ;
4229 PyObject
* obj5
= 0 ;
4230 PyObject
* obj6
= 0 ;
4231 PyObject
* obj7
= 0 ;
4233 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4240 arg2
= (int)SWIG_As_int(obj1
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4244 arg3
= (int)SWIG_As_int(obj2
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4250 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4256 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4260 arg6
= (long)SWIG_As_long(obj5
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4264 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4265 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4268 PyErr_SetString(PyExc_TypeError
,"null reference");
4274 arg8
= wxString_in_helper(obj7
);
4275 if (arg8
== NULL
) SWIG_fail
;
4280 if (!wxPyCheckForApp()) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4302 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4311 if (!wxPyCheckForApp()) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxGauge
*)new wxGauge();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4325 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxGauge
*arg1
= (wxGauge
*) 0 ;
4328 wxWindow
*arg2
= (wxWindow
*) 0 ;
4329 int arg3
= (int) -1 ;
4330 int arg4
= (int) 100 ;
4331 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4332 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4333 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4334 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4335 long arg7
= (long) wxGA_HORIZONTAL
;
4336 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4337 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4338 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4339 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4343 bool temp9
= false ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4346 PyObject
* obj2
= 0 ;
4347 PyObject
* obj3
= 0 ;
4348 PyObject
* obj4
= 0 ;
4349 PyObject
* obj5
= 0 ;
4350 PyObject
* obj6
= 0 ;
4351 PyObject
* obj7
= 0 ;
4352 PyObject
* obj8
= 0 ;
4354 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4363 arg3
= (int)SWIG_As_int(obj2
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 arg4
= (int)SWIG_As_int(obj3
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4373 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4379 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4383 arg7
= (long)SWIG_As_long(obj6
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4391 PyErr_SetString(PyExc_TypeError
,"null reference");
4397 arg9
= wxString_in_helper(obj8
);
4398 if (arg9
== NULL
) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4426 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxGauge
*arg1
= (wxGauge
*) 0 ;
4430 PyObject
* obj0
= 0 ;
4431 PyObject
* obj1
= 0 ;
4433 (char *) "self",(char *) "range", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4439 arg2
= (int)SWIG_As_int(obj1
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 (arg1
)->SetRange(arg2
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxGauge
*arg1
= (wxGauge
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= SWIG_From_int((int)result
);
4481 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxGauge
*arg1
= (wxGauge
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "pos", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 arg2
= (int)SWIG_As_int(obj1
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 (arg1
)->SetValue(arg2
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 Py_INCREF(Py_None
); resultobj
= Py_None
;
4510 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxGauge
*arg1
= (wxGauge
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4516 (char *) "self", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_From_int((int)result
);
4536 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxGauge
*arg1
= (wxGauge
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4564 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxGauge
*arg1
= (wxGauge
*) 0 ;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4571 (char *) "self",(char *) "w", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4577 arg2
= (int)SWIG_As_int(obj1
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 (arg1
)->SetShadowWidth(arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4593 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxGauge
*arg1
= (wxGauge
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_From_int((int)result
);
4619 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxGauge
*arg1
= (wxGauge
*) 0 ;
4623 PyObject
* obj0
= 0 ;
4624 PyObject
* obj1
= 0 ;
4626 (char *) "self",(char *) "w", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4632 arg2
= (int)SWIG_As_int(obj1
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 (arg1
)->SetBezelFace(arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 Py_INCREF(Py_None
); resultobj
= Py_None
;
4648 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxGauge
*arg1
= (wxGauge
*) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_From_int((int)result
);
4674 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4677 wxVisualAttributes result
;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "variant", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4685 arg1
= (int)SWIG_As_int(obj0
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 if (!wxPyCheckForApp()) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 wxVisualAttributes
* resultptr
;
4698 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4707 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4710 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4712 return Py_BuildValue((char *)"");
4714 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4715 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4720 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4725 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4727 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4734 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4735 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4740 static PyObject
*_wrap_StaticBoxNameStr_get() {
4745 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4747 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4754 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4755 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4760 static PyObject
*_wrap_StaticTextNameStr_get() {
4765 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4767 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4774 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxWindow
*arg1
= (wxWindow
*) 0 ;
4777 int arg2
= (int) -1 ;
4778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4780 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4781 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4782 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4783 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4784 long arg6
= (long) 0 ;
4785 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4786 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4787 wxStaticBox
*result
;
4788 bool temp3
= false ;
4791 bool temp7
= false ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 PyObject
* obj2
= 0 ;
4795 PyObject
* obj3
= 0 ;
4796 PyObject
* obj4
= 0 ;
4797 PyObject
* obj5
= 0 ;
4798 PyObject
* obj6
= 0 ;
4800 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4807 arg2
= (int)SWIG_As_int(obj1
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4812 arg3
= wxString_in_helper(obj2
);
4813 if (arg3
== NULL
) SWIG_fail
;
4820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4830 arg6
= (long)SWIG_As_long(obj5
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4835 arg7
= wxString_in_helper(obj6
);
4836 if (arg7
== NULL
) SWIG_fail
;
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4871 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxStaticBox
*result
;
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4880 if (!wxPyCheckForApp()) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxStaticBox
*)new wxStaticBox();
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4894 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4897 wxWindow
*arg2
= (wxWindow
*) 0 ;
4898 int arg3
= (int) -1 ;
4899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4901 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4902 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4903 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4904 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4905 long arg7
= (long) 0 ;
4906 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4907 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4909 bool temp4
= false ;
4912 bool temp8
= false ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4915 PyObject
* obj2
= 0 ;
4916 PyObject
* obj3
= 0 ;
4917 PyObject
* obj4
= 0 ;
4918 PyObject
* obj5
= 0 ;
4919 PyObject
* obj6
= 0 ;
4920 PyObject
* obj7
= 0 ;
4922 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 arg3
= (int)SWIG_As_int(obj2
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4936 arg4
= wxString_in_helper(obj3
);
4937 if (arg4
== NULL
) SWIG_fail
;
4944 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4950 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4954 arg7
= (long)SWIG_As_long(obj6
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4959 arg8
= wxString_in_helper(obj7
);
4960 if (arg8
== NULL
) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4999 wxVisualAttributes result
;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "variant", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5007 arg1
= (int)SWIG_As_int(obj0
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 if (!wxPyCheckForApp()) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5019 wxVisualAttributes
* resultptr
;
5020 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5029 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
5031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
5034 return Py_BuildValue((char *)"");
5036 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxWindow
*arg1
= (wxWindow
*) 0 ;
5039 int arg2
= (int) -1 ;
5040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5044 long arg5
= (long) wxLI_HORIZONTAL
;
5045 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
5046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5047 wxStaticLine
*result
;
5050 bool temp6
= false ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5054 PyObject
* obj3
= 0 ;
5055 PyObject
* obj4
= 0 ;
5056 PyObject
* obj5
= 0 ;
5058 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 arg2
= (int)SWIG_As_int(obj1
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5081 arg5
= (long)SWIG_As_long(obj4
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5086 arg6
= wxString_in_helper(obj5
);
5087 if (arg6
== NULL
) SWIG_fail
;
5092 if (!wxPyCheckForApp()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
5114 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxStaticLine
*result
;
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
5123 if (!wxPyCheckForApp()) SWIG_fail
;
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxStaticLine
*)new wxStaticLine();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
5137 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
5140 wxWindow
*arg2
= (wxWindow
*) 0 ;
5141 int arg3
= (int) -1 ;
5142 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5143 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5144 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5145 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5146 long arg6
= (long) wxLI_HORIZONTAL
;
5147 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5148 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5152 bool temp7
= false ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 PyObject
* obj2
= 0 ;
5156 PyObject
* obj3
= 0 ;
5157 PyObject
* obj4
= 0 ;
5158 PyObject
* obj5
= 0 ;
5159 PyObject
* obj6
= 0 ;
5161 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5170 arg3
= (int)SWIG_As_int(obj2
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5176 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5182 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5186 arg6
= (long)SWIG_As_long(obj5
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5191 arg7
= wxString_in_helper(obj6
);
5192 if (arg7
== NULL
) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5220 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5226 (char *) "self", NULL
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
5230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5248 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 result
= (int)wxStaticLine::GetDefaultSize();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_From_int((int)result
);
5270 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5273 wxVisualAttributes result
;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "variant", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5281 arg1
= (int)SWIG_As_int(obj0
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 if (!wxPyCheckForApp()) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5293 wxVisualAttributes
* resultptr
;
5294 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5303 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5306 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5308 return Py_BuildValue((char *)"");
5310 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxWindow
*arg1
= (wxWindow
*) 0 ;
5313 int arg2
= (int) -1 ;
5314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5316 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5317 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5318 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5319 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5320 long arg6
= (long) 0 ;
5321 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5322 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5323 wxStaticText
*result
;
5324 bool temp3
= false ;
5327 bool temp7
= false ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5336 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 arg2
= (int)SWIG_As_int(obj1
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5348 arg3
= wxString_in_helper(obj2
);
5349 if (arg3
== NULL
) SWIG_fail
;
5356 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5362 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5366 arg6
= (long)SWIG_As_long(obj5
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5371 arg7
= wxString_in_helper(obj6
);
5372 if (arg7
== NULL
) SWIG_fail
;
5377 if (!wxPyCheckForApp()) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5407 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxStaticText
*result
;
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5416 if (!wxPyCheckForApp()) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (wxStaticText
*)new wxStaticText();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5430 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5433 wxWindow
*arg2
= (wxWindow
*) 0 ;
5434 int arg3
= (int) -1 ;
5435 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5436 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5437 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5438 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5439 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5440 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5441 long arg7
= (long) 0 ;
5442 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5443 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5445 bool temp4
= false ;
5448 bool temp8
= false ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 PyObject
* obj2
= 0 ;
5452 PyObject
* obj3
= 0 ;
5453 PyObject
* obj4
= 0 ;
5454 PyObject
* obj5
= 0 ;
5455 PyObject
* obj6
= 0 ;
5456 PyObject
* obj7
= 0 ;
5458 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 arg3
= (int)SWIG_As_int(obj2
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5472 arg4
= wxString_in_helper(obj3
);
5473 if (arg4
== NULL
) SWIG_fail
;
5480 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5486 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5490 arg7
= (long)SWIG_As_long(obj6
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5495 arg8
= wxString_in_helper(obj7
);
5496 if (arg8
== NULL
) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5532 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5535 wxVisualAttributes result
;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "variant", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5543 arg1
= (int)SWIG_As_int(obj0
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 if (!wxPyCheckForApp()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5555 wxVisualAttributes
* resultptr
;
5556 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5565 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5568 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5570 return Py_BuildValue((char *)"");
5572 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
;
5574 wxWindow
*arg1
= (wxWindow
*) 0 ;
5575 int arg2
= (int) -1 ;
5576 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5577 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5582 long arg6
= (long) 0 ;
5583 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5585 wxStaticBitmap
*result
;
5588 bool temp7
= false ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 PyObject
* obj2
= 0 ;
5592 PyObject
* obj3
= 0 ;
5593 PyObject
* obj4
= 0 ;
5594 PyObject
* obj5
= 0 ;
5595 PyObject
* obj6
= 0 ;
5597 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 arg2
= (int)SWIG_As_int(obj1
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5612 PyErr_SetString(PyExc_TypeError
,"null reference");
5619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5629 arg6
= (long)SWIG_As_long(obj5
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5634 arg7
= wxString_in_helper(obj6
);
5635 if (arg7
== NULL
) SWIG_fail
;
5640 if (!wxPyCheckForApp()) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5662 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxStaticBitmap
*result
;
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5671 if (!wxPyCheckForApp()) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5685 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5688 wxWindow
*arg2
= (wxWindow
*) 0 ;
5689 int arg3
= (int) -1 ;
5690 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5691 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5696 long arg7
= (long) 0 ;
5697 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5698 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5702 bool temp8
= false ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5705 PyObject
* obj2
= 0 ;
5706 PyObject
* obj3
= 0 ;
5707 PyObject
* obj4
= 0 ;
5708 PyObject
* obj5
= 0 ;
5709 PyObject
* obj6
= 0 ;
5710 PyObject
* obj7
= 0 ;
5712 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 arg3
= (int)SWIG_As_int(obj2
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5729 PyErr_SetString(PyExc_TypeError
,"null reference");
5736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5746 arg7
= (long)SWIG_As_long(obj6
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5751 arg8
= wxString_in_helper(obj7
);
5752 if (arg8
== NULL
) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5780 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (arg1
)->GetBitmap();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 wxBitmap
* resultptr
;
5801 resultptr
= new wxBitmap((wxBitmap
&) result
);
5802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5810 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5813 wxBitmap
*arg2
= 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "bitmap", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5827 PyErr_SetString(PyExc_TypeError
,"null reference");
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 Py_INCREF(Py_None
); resultobj
= Py_None
;
5844 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "icon", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5861 PyErr_SetString(PyExc_TypeError
,"null reference");
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 Py_INCREF(Py_None
); resultobj
= Py_None
;
5878 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5881 wxVisualAttributes result
;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "variant", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5889 arg1
= (int)SWIG_As_int(obj0
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5901 wxVisualAttributes
* resultptr
;
5902 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5911 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5914 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5916 return Py_BuildValue((char *)"");
5918 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5919 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5924 static PyObject
*_wrap_ListBoxNameStr_get() {
5929 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5931 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5938 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxWindow
*arg1
= (wxWindow
*) 0 ;
5941 int arg2
= (int) -1 ;
5942 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5943 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5944 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5945 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5946 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5947 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5948 long arg6
= (long) 0 ;
5949 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5950 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5951 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5952 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5956 bool temp5
= false ;
5957 bool temp8
= false ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 PyObject
* obj2
= 0 ;
5961 PyObject
* obj3
= 0 ;
5962 PyObject
* obj4
= 0 ;
5963 PyObject
* obj5
= 0 ;
5964 PyObject
* obj6
= 0 ;
5965 PyObject
* obj7
= 0 ;
5967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int)SWIG_As_int(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5991 if (! PySequence_Check(obj4
)) {
5992 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5995 arg5
= new wxArrayString
;
5997 int i
, len
=PySequence_Length(obj4
);
5998 for (i
=0; i
<len
; i
++) {
5999 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6001 PyObject
* str
= PyObject_Unicode(item
);
6003 PyObject
* str
= PyObject_Str(item
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6006 arg5
->Add(Py2wxString(str
));
6013 arg6
= (long)SWIG_As_long(obj5
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6021 PyErr_SetString(PyExc_TypeError
,"null reference");
6027 arg8
= wxString_in_helper(obj7
);
6028 if (arg8
== NULL
) SWIG_fail
;
6033 if (!wxPyCheckForApp()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
6042 if (temp5
) delete arg5
;
6051 if (temp5
) delete arg5
;
6061 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
6070 if (!wxPyCheckForApp()) SWIG_fail
;
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 result
= (wxListBox
*)new wxListBox();
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
6084 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxListBox
*arg1
= (wxListBox
*) 0 ;
6087 wxWindow
*arg2
= (wxWindow
*) 0 ;
6088 int arg3
= (int) -1 ;
6089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6093 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6094 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6095 long arg7
= (long) 0 ;
6096 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6097 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6098 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6103 bool temp6
= false ;
6104 bool temp9
= false ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6107 PyObject
* obj2
= 0 ;
6108 PyObject
* obj3
= 0 ;
6109 PyObject
* obj4
= 0 ;
6110 PyObject
* obj5
= 0 ;
6111 PyObject
* obj6
= 0 ;
6112 PyObject
* obj7
= 0 ;
6113 PyObject
* obj8
= 0 ;
6115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 arg3
= (int)SWIG_As_int(obj2
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6130 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6136 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6141 if (! PySequence_Check(obj5
)) {
6142 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6145 arg6
= new wxArrayString
;
6147 int i
, len
=PySequence_Length(obj5
);
6148 for (i
=0; i
<len
; i
++) {
6149 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6151 PyObject
* str
= PyObject_Unicode(item
);
6153 PyObject
* str
= PyObject_Str(item
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6156 arg6
->Add(Py2wxString(str
));
6163 arg7
= (long)SWIG_As_long(obj6
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6167 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6171 PyErr_SetString(PyExc_TypeError
,"null reference");
6177 arg9
= wxString_in_helper(obj8
);
6178 if (arg9
== NULL
) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6193 if (temp6
) delete arg6
;
6202 if (temp6
) delete arg6
;
6212 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxListBox
*arg1
= (wxListBox
*) 0 ;
6215 wxString
*arg2
= 0 ;
6217 PyObject
*arg4
= (PyObject
*) NULL
;
6218 bool temp2
= false ;
6219 PyObject
* obj0
= 0 ;
6220 PyObject
* obj1
= 0 ;
6221 PyObject
* obj2
= 0 ;
6222 PyObject
* obj3
= 0 ;
6224 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 arg2
= wxString_in_helper(obj1
);
6232 if (arg2
== NULL
) SWIG_fail
;
6235 arg3
= (int)SWIG_As_int(obj2
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 Py_INCREF(Py_None
); resultobj
= Py_None
;
6262 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxListBox
*arg1
= (wxListBox
*) 0 ;
6265 wxArrayString
*arg2
= 0 ;
6267 bool temp2
= false ;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj1
= 0 ;
6270 PyObject
* obj2
= 0 ;
6272 (char *) "self",(char *) "items",(char *) "pos", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 if (! PySequence_Check(obj1
)) {
6280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6283 arg2
= new wxArrayString
;
6285 int i
, len
=PySequence_Length(obj1
);
6286 for (i
=0; i
<len
; i
++) {
6287 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6289 PyObject
* str
= PyObject_Unicode(item
);
6291 PyObject
* str
= PyObject_Str(item
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6294 arg2
->Add(Py2wxString(str
));
6299 arg3
= (int)SWIG_As_int(obj2
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 Py_INCREF(Py_None
); resultobj
= Py_None
;
6310 if (temp2
) delete arg2
;
6315 if (temp2
) delete arg2
;
6321 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxListBox
*arg1
= (wxListBox
*) 0 ;
6324 wxArrayString
*arg2
= 0 ;
6325 bool temp2
= false ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6329 (char *) "self",(char *) "items", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 if (! PySequence_Check(obj1
)) {
6337 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6340 arg2
= new wxArrayString
;
6342 int i
, len
=PySequence_Length(obj1
);
6343 for (i
=0; i
<len
; i
++) {
6344 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6346 PyObject
* str
= PyObject_Unicode(item
);
6348 PyObject
* str
= PyObject_Str(item
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6351 arg2
->Add(Py2wxString(str
));
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 (arg1
)->Set((wxArrayString
const &)*arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 if (temp2
) delete arg2
;
6370 if (temp2
) delete arg2
;
6376 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxListBox
*arg1
= (wxListBox
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "n", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 arg2
= (int)SWIG_As_int(obj1
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6408 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
*resultobj
;
6410 wxListBox
*arg1
= (wxListBox
*) 0 ;
6412 bool arg3
= (bool) true ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6417 (char *) "self",(char *) "n",(char *) "select", NULL
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 arg2
= (int)SWIG_As_int(obj1
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 arg3
= (bool)SWIG_As_bool(obj2
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 (arg1
)->SetSelection(arg2
,arg3
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxListBox
*arg1
= (wxListBox
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6448 PyObject
* obj1
= 0 ;
6450 (char *) "self",(char *) "n", NULL
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= (int)SWIG_As_int(obj1
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 (arg1
)->Select(arg2
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 Py_INCREF(Py_None
); resultobj
= Py_None
;
6472 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxListBox
*arg1
= (wxListBox
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6479 (char *) "self",(char *) "n", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 arg2
= (int)SWIG_As_int(obj1
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 (arg1
)->Deselect(arg2
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6494 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxListBox
*arg1
= (wxListBox
*) 0 ;
6504 int arg2
= (int) -1 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6508 (char *) "self",(char *) "itemToLeaveSelected", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 arg2
= (int)SWIG_As_int(obj1
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 (arg1
)->DeselectAll(arg2
);
6522 wxPyEndAllowThreads(__tstate
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxListBox
*arg1
= (wxListBox
*) 0 ;
6535 wxString
*arg2
= 0 ;
6536 bool arg3
= (bool) true ;
6538 bool temp2
= false ;
6539 PyObject
* obj0
= 0 ;
6540 PyObject
* obj1
= 0 ;
6541 PyObject
* obj2
= 0 ;
6543 (char *) "self",(char *) "s",(char *) "select", NULL
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6550 arg2
= wxString_in_helper(obj1
);
6551 if (arg2
== NULL
) SWIG_fail
;
6555 arg3
= (bool)SWIG_As_bool(obj2
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6560 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6582 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxListBox
*arg1
= (wxListBox
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6608 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
;
6610 wxListBox
*arg1
= (wxListBox
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "n", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6621 arg2
= (int)SWIG_As_int(obj1
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 (arg1
)->SetFirstItem(arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxListBox
*arg1
= (wxListBox
*) 0 ;
6640 wxString
*arg2
= 0 ;
6641 bool temp2
= false ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "s", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 arg2
= wxString_in_helper(obj1
);
6653 if (arg2
== NULL
) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6678 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxListBox
*arg1
= (wxListBox
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "n", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6691 arg2
= (int)SWIG_As_int(obj1
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 (arg1
)->EnsureVisible(arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 Py_INCREF(Py_None
); resultobj
= Py_None
;
6707 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxListBox
*arg1
= (wxListBox
*) 0 ;
6710 wxString
*arg2
= 0 ;
6711 bool temp2
= false ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6715 (char *) "self",(char *) "s", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 arg2
= wxString_in_helper(obj1
);
6723 if (arg2
== NULL
) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxListBox
*arg1
= (wxListBox
*) 0 ;
6752 PyObject
* obj0
= 0 ;
6754 (char *) "self", NULL
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6776 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
;
6778 wxListBox
*arg1
= (wxListBox
*) 0 ;
6780 wxColour
*arg3
= 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 PyObject
* obj2
= 0 ;
6786 (char *) "self",(char *) "item",(char *) "c", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6792 arg2
= (int)SWIG_As_int(obj1
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6812 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxListBox
*arg1
= (wxListBox
*) 0 ;
6816 wxColour
*arg3
= 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 PyObject
* obj2
= 0 ;
6822 (char *) "self",(char *) "item",(char *) "c", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= (int)SWIG_As_int(obj1
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 Py_INCREF(Py_None
); resultobj
= Py_None
;
6848 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
;
6850 wxListBox
*arg1
= (wxListBox
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6855 PyObject
* obj2
= 0 ;
6857 (char *) "self",(char *) "item",(char *) "f", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= (int)SWIG_As_int(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6865 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6869 PyErr_SetString(PyExc_TypeError
,"null reference");
6873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6874 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 Py_INCREF(Py_None
); resultobj
= Py_None
;
6886 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6889 wxVisualAttributes result
;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "variant", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6897 arg1
= (int)SWIG_As_int(obj0
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 if (!wxPyCheckForApp()) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 wxVisualAttributes
* resultptr
;
6910 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6919 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6922 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6924 return Py_BuildValue((char *)"");
6926 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxWindow
*arg1
= (wxWindow
*) 0 ;
6929 int arg2
= (int) -1 ;
6930 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6931 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6932 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6933 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6934 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6935 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6936 long arg6
= (long) 0 ;
6937 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6938 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6939 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6941 wxCheckListBox
*result
;
6944 bool temp5
= false ;
6945 bool temp8
= false ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 PyObject
* obj3
= 0 ;
6950 PyObject
* obj4
= 0 ;
6951 PyObject
* obj5
= 0 ;
6952 PyObject
* obj6
= 0 ;
6953 PyObject
* obj7
= 0 ;
6955 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= (int)SWIG_As_int(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6974 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6979 if (! PySequence_Check(obj4
)) {
6980 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6983 arg5
= new wxArrayString
;
6985 int i
, len
=PySequence_Length(obj4
);
6986 for (i
=0; i
<len
; i
++) {
6987 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6989 PyObject
* str
= PyObject_Unicode(item
);
6991 PyObject
* str
= PyObject_Str(item
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6994 arg5
->Add(Py2wxString(str
));
7001 arg6
= (long)SWIG_As_long(obj5
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7009 PyErr_SetString(PyExc_TypeError
,"null reference");
7015 arg8
= wxString_in_helper(obj7
);
7016 if (arg8
== NULL
) SWIG_fail
;
7021 if (!wxPyCheckForApp()) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
7030 if (temp5
) delete arg5
;
7039 if (temp5
) delete arg5
;
7049 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxCheckListBox
*result
;
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
7058 if (!wxPyCheckForApp()) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (wxCheckListBox
*)new wxCheckListBox();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
7072 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7075 wxWindow
*arg2
= (wxWindow
*) 0 ;
7076 int arg3
= (int) -1 ;
7077 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7078 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7079 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7080 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7081 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7082 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7083 long arg7
= (long) 0 ;
7084 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7085 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7086 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7087 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7091 bool temp6
= false ;
7092 bool temp9
= false ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 PyObject
* obj2
= 0 ;
7096 PyObject
* obj3
= 0 ;
7097 PyObject
* obj4
= 0 ;
7098 PyObject
* obj5
= 0 ;
7099 PyObject
* obj6
= 0 ;
7100 PyObject
* obj7
= 0 ;
7101 PyObject
* obj8
= 0 ;
7103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7112 arg3
= (int)SWIG_As_int(obj2
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7129 if (! PySequence_Check(obj5
)) {
7130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7133 arg6
= new wxArrayString
;
7135 int i
, len
=PySequence_Length(obj5
);
7136 for (i
=0; i
<len
; i
++) {
7137 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7139 PyObject
* str
= PyObject_Unicode(item
);
7141 PyObject
* str
= PyObject_Str(item
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7144 arg6
->Add(Py2wxString(str
));
7151 arg7
= (long)SWIG_As_long(obj6
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7155 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7159 PyErr_SetString(PyExc_TypeError
,"null reference");
7165 arg9
= wxString_in_helper(obj8
);
7166 if (arg9
== NULL
) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7181 if (temp6
) delete arg6
;
7190 if (temp6
) delete arg6
;
7200 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7208 (char *) "self",(char *) "index", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
7212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 arg2
= (int)SWIG_As_int(obj1
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (bool)(arg1
)->IsChecked(arg2
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7232 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7236 int arg3
= (int) true ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 PyObject
* obj2
= 0 ;
7241 (char *) "self",(char *) "index",(char *) "check", NULL
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7247 arg2
= (int)SWIG_As_int(obj1
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 arg3
= (int)SWIG_As_int(obj2
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 (arg1
)->Check(arg2
,arg3
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (int)(arg1
)->GetItemHeight();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_From_int((int)result
);
7293 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "pt", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_From_int((int)result
);
7326 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7332 PyObject
* obj0
= 0 ;
7333 PyObject
* obj1
= 0 ;
7334 PyObject
* obj2
= 0 ;
7336 (char *) "self",(char *) "x",(char *) "y", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= (int)SWIG_As_int(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7344 arg3
= (int)SWIG_As_int(obj2
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_From_int((int)result
);
7360 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7363 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7365 return Py_BuildValue((char *)"");
7367 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7368 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7373 static PyObject
*_wrap_TextCtrlNameStr_get() {
7378 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7380 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7387 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxColour
const &arg1_defvalue
= wxNullColour
;
7390 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7391 wxColour
const &arg2_defvalue
= wxNullColour
;
7392 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7393 wxFont
const &arg3_defvalue
= wxNullFont
;
7394 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7395 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7399 PyObject
* obj0
= 0 ;
7400 PyObject
* obj1
= 0 ;
7401 PyObject
* obj2
= 0 ;
7402 PyObject
* obj3
= 0 ;
7404 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7411 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7417 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7421 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7425 PyErr_SetString(PyExc_TypeError
,"null reference");
7430 arg4
= (int)SWIG_As_int(obj3
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7447 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7452 (char *) "self", NULL
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 Py_INCREF(Py_None
); resultobj
= Py_None
;
7497 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7500 wxColour
*arg2
= 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "colText", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7513 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 Py_INCREF(Py_None
); resultobj
= Py_None
;
7529 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7532 wxColour
*arg2
= 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7537 (char *) "self",(char *) "colBack", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7565 long arg3
= (long) wxTEXT_ATTR_FONT
;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7568 PyObject
* obj2
= 0 ;
7570 (char *) "self",(char *) "font",(char *) "flags", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7580 PyErr_SetString(PyExc_TypeError
,"null reference");
7584 arg3
= (long)SWIG_As_long(obj2
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7608 (char *) "self",(char *) "alignment", NULL
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 arg2
= (int)SWIG_As_int(obj1
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 Py_INCREF(Py_None
); resultobj
= Py_None
;
7630 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7633 wxArrayInt
*arg2
= 0 ;
7634 bool temp2
= false ;
7635 PyObject
* obj0
= 0 ;
7636 PyObject
* obj1
= 0 ;
7638 (char *) "self",(char *) "tabs", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 if (! PySequence_Check(obj1
)) {
7646 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7649 arg2
= new wxArrayInt
;
7651 int i
, len
=PySequence_Length(obj1
);
7652 for (i
=0; i
<len
; i
++) {
7653 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7654 PyObject
* number
= PyNumber_Int(item
);
7655 arg2
->Add(PyInt_AS_LONG(number
));
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 Py_INCREF(Py_None
); resultobj
= Py_None
;
7669 if (temp2
) delete arg2
;
7674 if (temp2
) delete arg2
;
7680 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7682 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7684 int arg3
= (int) 0 ;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7687 PyObject
* obj2
= 0 ;
7689 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7695 arg2
= (int)SWIG_As_int(obj1
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 arg3
= (int)SWIG_As_int(obj2
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 (arg1
)->SetLeftIndent(arg2
,arg3
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7722 (char *) "self",(char *) "indent", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 arg2
= (int)SWIG_As_int(obj1
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->SetRightIndent(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "flags", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 arg2
= (long)SWIG_As_long(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 (arg1
)->SetFlags(arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7777 PyObject
* obj0
= 0 ;
7779 (char *) "self", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7801 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7807 (char *) "self", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7833 PyObject
* obj0
= 0 ;
7835 (char *) "self", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7857 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7863 (char *) "self", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7885 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7891 (char *) "self", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7913 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7941 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7947 (char *) "self", NULL
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7969 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "flag", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 arg2
= (long)SWIG_As_long(obj1
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8001 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
8017 result
= (wxColour
*) &_result_ref
;
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
8030 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
8046 result
= (wxColour
*) &_result_ref
;
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
8059 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8061 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8063 PyObject
* obj0
= 0 ;
8065 (char *) "self", NULL
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
8069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
8075 result
= (wxFont
*) &_result_ref
;
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 wxFont
* resultptr
= new wxFont(*result
);
8083 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
8091 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "self", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
8101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= SWIG_From_int((int)result
);
8117 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
8133 result
= (wxArrayInt
*) &_result_ref
;
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyList_New(0);
8142 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
8143 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
8144 PyList_Append(resultobj
, val
);
8154 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8158 PyObject
* obj0
= 0 ;
8160 (char *) "self", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_From_long((long)result
);
8180 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_From_long((long)result
);
8206 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
8216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_From_long((long)result
);
8232 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_From_long((long)result
);
8258 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxTextAttr
*arg1
= 0 ;
8289 wxTextAttr
*arg2
= 0 ;
8290 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8293 PyObject
* obj1
= 0 ;
8294 PyObject
* obj2
= 0 ;
8296 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8304 PyErr_SetString(PyExc_TypeError
,"null reference");
8307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8311 PyErr_SetString(PyExc_TypeError
,"null reference");
8314 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8324 wxTextAttr
* resultptr
;
8325 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8334 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8339 return Py_BuildValue((char *)"");
8341 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxWindow
*arg1
= (wxWindow
*) 0 ;
8344 int arg2
= (int) -1 ;
8345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8347 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8348 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8349 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8350 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8351 long arg6
= (long) 0 ;
8352 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8353 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8354 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8355 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8357 bool temp3
= false ;
8360 bool temp8
= false ;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8363 PyObject
* obj2
= 0 ;
8364 PyObject
* obj3
= 0 ;
8365 PyObject
* obj4
= 0 ;
8366 PyObject
* obj5
= 0 ;
8367 PyObject
* obj6
= 0 ;
8368 PyObject
* obj7
= 0 ;
8370 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8377 arg2
= (int)SWIG_As_int(obj1
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8382 arg3
= wxString_in_helper(obj2
);
8383 if (arg3
== NULL
) SWIG_fail
;
8390 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8396 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8400 arg6
= (long)SWIG_As_long(obj5
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8404 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8408 PyErr_SetString(PyExc_TypeError
,"null reference");
8414 arg8
= wxString_in_helper(obj7
);
8415 if (arg8
== NULL
) SWIG_fail
;
8420 if (!wxPyCheckForApp()) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8450 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8459 if (!wxPyCheckForApp()) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (wxTextCtrl
*)new wxTextCtrl();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8473 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8476 wxWindow
*arg2
= (wxWindow
*) 0 ;
8477 int arg3
= (int) -1 ;
8478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8484 long arg7
= (long) 0 ;
8485 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8486 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8487 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8488 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8490 bool temp4
= false ;
8493 bool temp9
= false ;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8496 PyObject
* obj2
= 0 ;
8497 PyObject
* obj3
= 0 ;
8498 PyObject
* obj4
= 0 ;
8499 PyObject
* obj5
= 0 ;
8500 PyObject
* obj6
= 0 ;
8501 PyObject
* obj7
= 0 ;
8502 PyObject
* obj8
= 0 ;
8504 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 arg3
= (int)SWIG_As_int(obj2
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8518 arg4
= wxString_in_helper(obj3
);
8519 if (arg4
== NULL
) SWIG_fail
;
8526 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8532 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8536 arg7
= (long)SWIG_As_long(obj6
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8544 PyErr_SetString(PyExc_TypeError
,"null reference");
8550 arg9
= wxString_in_helper(obj8
);
8551 if (arg9
== NULL
) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8587 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8591 PyObject
* obj0
= 0 ;
8593 (char *) "self", NULL
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8619 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8622 wxString
*arg2
= 0 ;
8623 bool temp2
= false ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8627 (char *) "self",(char *) "value", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8634 arg2
= wxString_in_helper(obj1
);
8635 if (arg2
== NULL
) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->SetValue((wxString
const &)*arg2
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 Py_INCREF(Py_None
); resultobj
= Py_None
;
8660 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
;
8662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 PyObject
* obj2
= 0 ;
8670 (char *) "self",(char *) "from",(char *) "to", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 arg2
= (long)SWIG_As_long(obj1
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8678 arg3
= (long)SWIG_As_long(obj2
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8700 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj1
= 0 ;
8708 (char *) "self",(char *) "lineNo", NULL
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8714 arg2
= (long)SWIG_As_long(obj1
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_From_int((int)result
);
8730 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8738 (char *) "self",(char *) "lineNo", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 arg2
= (long)SWIG_As_long(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8766 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8770 PyObject
* obj0
= 0 ;
8772 (char *) "self", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_From_int((int)result
);
8792 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "self", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8820 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
;
8822 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "self", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8848 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8852 PyObject
* obj0
= 0 ;
8854 (char *) "self", NULL
8857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8876 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8882 (char *) "self", NULL
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8904 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8907 long *arg2
= (long *) 0 ;
8908 long *arg3
= (long *) 0 ;
8913 PyObject
* obj0
= 0 ;
8915 (char *) "self", NULL
8918 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8919 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8932 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8933 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8934 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8941 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8973 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "self", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 wxPyEndAllowThreads(__tstate
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 Py_INCREF(Py_None
); resultobj
= Py_None
;
8998 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9003 wxString
*arg4
= 0 ;
9004 bool temp4
= false ;
9005 PyObject
* obj0
= 0 ;
9006 PyObject
* obj1
= 0 ;
9007 PyObject
* obj2
= 0 ;
9008 PyObject
* obj3
= 0 ;
9010 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= (long)SWIG_As_long(obj1
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9018 arg3
= (long)SWIG_As_long(obj2
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 arg4
= wxString_in_helper(obj3
);
9022 if (arg4
== NULL
) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9053 PyObject
* obj1
= 0 ;
9054 PyObject
* obj2
= 0 ;
9056 (char *) "self",(char *) "from",(char *) "to", NULL
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 arg2
= (long)SWIG_As_long(obj1
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9064 arg3
= (long)SWIG_As_long(obj2
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->Remove(arg2
,arg3
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 Py_INCREF(Py_None
); resultobj
= Py_None
;
9080 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9083 wxString
*arg2
= 0 ;
9085 bool temp2
= false ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9089 (char *) "self",(char *) "file", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 arg2
= wxString_in_helper(obj1
);
9097 if (arg2
== NULL
) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9124 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9127 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9128 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9130 bool temp2
= false ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9134 (char *) "self",(char *) "file", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 arg2
= wxString_in_helper(obj1
);
9143 if (arg2
== NULL
) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 (arg1
)->MarkDirty();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 Py_INCREF(Py_None
); resultobj
= Py_None
;
9196 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9199 PyObject
* obj0
= 0 ;
9201 (char *) "self", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 (arg1
)->DiscardEdits();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 unsigned long arg2
;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9228 (char *) "self",(char *) "len", NULL
9231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9234 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetMaxLength(arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9253 wxString
*arg2
= 0 ;
9254 bool temp2
= false ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9258 (char *) "self",(char *) "text", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= wxString_in_helper(obj1
);
9266 if (arg2
== NULL
) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 (arg1
)->WriteText((wxString
const &)*arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9294 wxString
*arg2
= 0 ;
9295 bool temp2
= false ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "text", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9306 arg2
= wxString_in_helper(obj1
);
9307 if (arg2
== NULL
) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 (arg1
)->AppendText((wxString
const &)*arg2
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 Py_INCREF(Py_None
); resultobj
= Py_None
;
9332 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9335 wxKeyEvent
*arg2
= 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9340 (char *) "self",(char *) "event", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9350 PyErr_SetString(PyExc_TypeError
,"null reference");
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9369 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9374 wxTextAttr
*arg4
= 0 ;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 PyObject
* obj3
= 0 ;
9381 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 arg2
= (long)SWIG_As_long(obj1
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9389 arg3
= (long)SWIG_As_long(obj2
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9391 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9395 PyErr_SetString(PyExc_TypeError
,"null reference");
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9414 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9415 PyObject
*resultobj
;
9416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9418 wxTextAttr
*arg3
= 0 ;
9420 PyObject
* obj0
= 0 ;
9421 PyObject
* obj1
= 0 ;
9422 PyObject
* obj2
= 0 ;
9424 (char *) "self",(char *) "position",(char *) "style", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 arg2
= (long)SWIG_As_long(obj1
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9432 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9436 PyErr_SetString(PyExc_TypeError
,"null reference");
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9455 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9458 wxTextAttr
*arg2
= 0 ;
9460 PyObject
* obj0
= 0 ;
9461 PyObject
* obj1
= 0 ;
9463 (char *) "self",(char *) "style", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9473 PyErr_SetString(PyExc_TypeError
,"null reference");
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9480 wxPyEndAllowThreads(__tstate
);
9481 if (PyErr_Occurred()) SWIG_fail
;
9484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9492 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9508 result
= (wxTextAttr
*) &_result_ref
;
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9521 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
;
9523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9528 PyObject
* obj1
= 0 ;
9529 PyObject
* obj2
= 0 ;
9531 (char *) "self",(char *) "x",(char *) "y", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9537 arg2
= (long)SWIG_As_long(obj1
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9539 arg3
= (long)SWIG_As_long(obj2
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_From_long((long)result
);
9555 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9559 long *arg3
= (long *) 0 ;
9560 long *arg4
= (long *) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9568 (char *) "self",(char *) "pos", NULL
9571 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9572 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 arg2
= (long)SWIG_As_long(obj1
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9587 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9588 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9589 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9596 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "pos", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9609 arg2
= (long)SWIG_As_long(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->ShowPosition(arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9629 long *arg3
= (long *) 0 ;
9630 long *arg4
= (long *) 0 ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "pt", NULL
9643 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9644 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_From_int((int)result
);
9660 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9661 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9662 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9663 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9670 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9674 long *arg3
= (long *) 0 ;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9682 (char *) "self",(char *) "pt", NULL
9685 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_From_int((int)result
);
9701 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9702 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9709 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9764 (char *) "self", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 Py_INCREF(Py_None
); resultobj
= Py_None
;
9784 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9790 (char *) "self", NULL
9793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9812 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9816 PyObject
* obj0
= 0 ;
9818 (char *) "self", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9840 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9896 PyObject
* obj0
= 0 ;
9898 (char *) "self", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9974 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9981 (char *) "self",(char *) "pos", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9987 arg2
= (long)SWIG_As_long(obj1
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 (arg1
)->SetInsertionPoint(arg2
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 Py_INCREF(Py_None
); resultobj
= Py_None
;
10003 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->SetInsertionPointEnd();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_From_long((long)result
);
10054 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_From_long((long)result
);
10080 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "from",(char *) "to", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 arg2
= (long)SWIG_As_long(obj1
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10097 arg3
= (long)SWIG_As_long(obj2
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetSelection(arg2
,arg3
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10113 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SelectAll();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self",(char *) "editable", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10151 arg2
= (bool)SWIG_As_bool(obj1
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->SetEditable(arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10167 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10170 wxString
*arg2
= 0 ;
10171 bool temp2
= false ;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 char *kwnames
[] = {
10175 (char *) "self",(char *) "text", NULL
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
10179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 arg2
= wxString_in_helper(obj1
);
10183 if (arg2
== NULL
) SWIG_fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 Py_INCREF(Py_None
); resultobj
= Py_None
;
10208 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 PyObject
* obj1
= 0 ;
10216 PyObject
* obj2
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self",(char *) "from",(char *) "to", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 arg2
= (long)SWIG_As_long(obj1
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10226 arg3
= (long)SWIG_As_long(obj2
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10248 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10251 wxVisualAttributes result
;
10252 PyObject
* obj0
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "variant", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10259 arg1
= (int)SWIG_As_int(obj0
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10263 if (!wxPyCheckForApp()) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 wxVisualAttributes
* resultptr
;
10272 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10281 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10284 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10286 return Py_BuildValue((char *)"");
10288 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10291 wxMouseEvent
*arg2
= 0 ;
10294 wxTextUrlEvent
*result
;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 PyObject
* obj2
= 0 ;
10298 PyObject
* obj3
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10304 arg1
= (int)SWIG_As_int(obj0
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10309 if (arg2
== NULL
) {
10310 PyErr_SetString(PyExc_TypeError
,"null reference");
10313 arg3
= (long)SWIG_As_long(obj2
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10315 arg4
= (long)SWIG_As_long(obj3
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10331 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10334 wxMouseEvent
*result
;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10347 result
= (wxMouseEvent
*) &_result_ref
;
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10360 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_From_long((long)result
);
10386 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_From_long((long)result
);
10412 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10415 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10417 return Py_BuildValue((char *)"");
10419 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10420 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10425 static PyObject
*_wrap_ScrollBarNameStr_get() {
10430 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10432 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10439 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxWindow
*arg1
= (wxWindow
*) 0 ;
10442 int arg2
= (int) -1 ;
10443 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10444 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10445 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10446 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10447 long arg5
= (long) wxSB_HORIZONTAL
;
10448 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10449 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10450 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10452 wxScrollBar
*result
;
10455 bool temp7
= false ;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 PyObject
* obj2
= 0 ;
10459 PyObject
* obj3
= 0 ;
10460 PyObject
* obj4
= 0 ;
10461 PyObject
* obj5
= 0 ;
10462 PyObject
* obj6
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 arg2
= (int)SWIG_As_int(obj1
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10487 arg5
= (long)SWIG_As_long(obj4
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10494 if (arg6
== NULL
) {
10495 PyErr_SetString(PyExc_TypeError
,"null reference");
10501 arg7
= wxString_in_helper(obj6
);
10502 if (arg7
== NULL
) SWIG_fail
;
10507 if (!wxPyCheckForApp()) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10529 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxScrollBar
*result
;
10532 char *kwnames
[] = {
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10538 if (!wxPyCheckForApp()) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxScrollBar
*)new wxScrollBar();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10552 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10555 wxWindow
*arg2
= (wxWindow
*) 0 ;
10556 int arg3
= (int) -1 ;
10557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10561 long arg6
= (long) wxSB_HORIZONTAL
;
10562 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10563 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10564 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10565 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10569 bool temp8
= false ;
10570 PyObject
* obj0
= 0 ;
10571 PyObject
* obj1
= 0 ;
10572 PyObject
* obj2
= 0 ;
10573 PyObject
* obj3
= 0 ;
10574 PyObject
* obj4
= 0 ;
10575 PyObject
* obj5
= 0 ;
10576 PyObject
* obj6
= 0 ;
10577 PyObject
* obj7
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 arg3
= (int)SWIG_As_int(obj2
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10604 arg6
= (long)SWIG_As_long(obj5
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10608 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10611 if (arg7
== NULL
) {
10612 PyErr_SetString(PyExc_TypeError
,"null reference");
10618 arg8
= wxString_in_helper(obj7
);
10619 if (arg8
== NULL
) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10647 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "self", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= SWIG_From_int((int)result
);
10673 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_From_int((int)result
);
10699 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= SWIG_From_int((int)result
);
10725 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10729 PyObject
* obj0
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_From_int((int)result
);
10751 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
;
10753 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10755 PyObject
* obj0
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10779 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "viewStart", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (int)SWIG_As_int(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetThumbPosition(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10815 bool arg6
= (bool) true ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 PyObject
* obj3
= 0 ;
10820 PyObject
* obj4
= 0 ;
10821 PyObject
* obj5
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 arg2
= (int)SWIG_As_int(obj1
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10831 arg3
= (int)SWIG_As_int(obj2
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10833 arg4
= (int)SWIG_As_int(obj3
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10835 arg5
= (int)SWIG_As_int(obj4
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 arg6
= (bool)SWIG_As_bool(obj5
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10855 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10858 wxVisualAttributes result
;
10859 PyObject
* obj0
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "variant", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10866 arg1
= (int)SWIG_As_int(obj0
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 if (!wxPyCheckForApp()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 wxVisualAttributes
* resultptr
;
10879 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10888 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10891 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10893 return Py_BuildValue((char *)"");
10895 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10896 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10901 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10906 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10908 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10915 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10916 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10921 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10926 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10928 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10935 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxWindow
*arg1
= (wxWindow
*) 0 ;
10938 int arg2
= (int) -1 ;
10939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10943 long arg5
= (long) wxSP_HORIZONTAL
;
10944 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10945 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10946 wxSpinButton
*result
;
10949 bool temp6
= false ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 PyObject
* obj2
= 0 ;
10953 PyObject
* obj3
= 0 ;
10954 PyObject
* obj4
= 0 ;
10955 PyObject
* obj5
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 arg2
= (int)SWIG_As_int(obj1
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10980 arg5
= (long)SWIG_As_long(obj4
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10985 arg6
= wxString_in_helper(obj5
);
10986 if (arg6
== NULL
) SWIG_fail
;
10991 if (!wxPyCheckForApp()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
11013 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxSpinButton
*result
;
11016 char *kwnames
[] = {
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
11022 if (!wxPyCheckForApp()) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (wxSpinButton
*)new wxSpinButton();
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
11036 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11039 wxWindow
*arg2
= (wxWindow
*) 0 ;
11040 int arg3
= (int) -1 ;
11041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11045 long arg6
= (long) wxSP_HORIZONTAL
;
11046 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
11047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11051 bool temp7
= false ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 PyObject
* obj3
= 0 ;
11056 PyObject
* obj4
= 0 ;
11057 PyObject
* obj5
= 0 ;
11058 PyObject
* obj6
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 arg3
= (int)SWIG_As_int(obj2
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11085 arg6
= (long)SWIG_As_long(obj5
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11090 arg7
= wxString_in_helper(obj6
);
11091 if (arg7
== NULL
) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11119 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "self", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
11129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_From_int((int)result
);
11145 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_From_int((int)result
);
11171 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
;
11173 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11175 PyObject
* obj0
= 0 ;
11176 char *kwnames
[] = {
11177 (char *) "self", NULL
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
11181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_From_int((int)result
);
11197 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "val", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11210 arg2
= (int)SWIG_As_int(obj1
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 (arg1
)->SetValue(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 PyObject
* obj1
= 0 ;
11232 char *kwnames
[] = {
11233 (char *) "self",(char *) "minVal", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11239 arg2
= (int)SWIG_As_int(obj1
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 (arg1
)->SetMin(arg2
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "maxVal", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11268 arg2
= (int)SWIG_As_int(obj1
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->SetMax(arg2
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 PyObject
* obj2
= 0 ;
11292 char *kwnames
[] = {
11293 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 arg2
= (int)SWIG_As_int(obj1
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11301 arg3
= (int)SWIG_As_int(obj2
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->SetRange(arg2
,arg3
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11317 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11321 PyObject
* obj0
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11345 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11348 wxVisualAttributes result
;
11349 PyObject
* obj0
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "variant", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11356 arg1
= (int)SWIG_As_int(obj0
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 if (!wxPyCheckForApp()) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 wxVisualAttributes
* resultptr
;
11369 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11378 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11381 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11383 return Py_BuildValue((char *)"");
11385 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxWindow
*arg1
= (wxWindow
*) 0 ;
11388 int arg2
= (int) -1 ;
11389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11395 long arg6
= (long) wxSP_ARROW_KEYS
;
11396 int arg7
= (int) 0 ;
11397 int arg8
= (int) 100 ;
11398 int arg9
= (int) 0 ;
11399 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11400 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11401 wxSpinCtrl
*result
;
11402 bool temp3
= false ;
11405 bool temp10
= false ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 PyObject
* obj3
= 0 ;
11410 PyObject
* obj4
= 0 ;
11411 PyObject
* obj5
= 0 ;
11412 PyObject
* obj6
= 0 ;
11413 PyObject
* obj7
= 0 ;
11414 PyObject
* obj8
= 0 ;
11415 PyObject
* obj9
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 arg2
= (int)SWIG_As_int(obj1
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11429 arg3
= wxString_in_helper(obj2
);
11430 if (arg3
== NULL
) SWIG_fail
;
11437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11447 arg6
= (long)SWIG_As_long(obj5
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 arg7
= (int)SWIG_As_int(obj6
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11455 arg8
= (int)SWIG_As_int(obj7
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 arg9
= (int)SWIG_As_int(obj8
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11464 arg10
= wxString_in_helper(obj9
);
11465 if (arg10
== NULL
) SWIG_fail
;
11470 if (!wxPyCheckForApp()) SWIG_fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11500 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxSpinCtrl
*result
;
11503 char *kwnames
[] = {
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11509 if (!wxPyCheckForApp()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11523 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11526 wxWindow
*arg2
= (wxWindow
*) 0 ;
11527 int arg3
= (int) -1 ;
11528 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11529 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11530 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11531 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11532 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11533 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11534 long arg7
= (long) wxSP_ARROW_KEYS
;
11535 int arg8
= (int) 0 ;
11536 int arg9
= (int) 100 ;
11537 int arg10
= (int) 0 ;
11538 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11539 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11541 bool temp4
= false ;
11544 bool temp11
= false ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 PyObject
* obj2
= 0 ;
11548 PyObject
* obj3
= 0 ;
11549 PyObject
* obj4
= 0 ;
11550 PyObject
* obj5
= 0 ;
11551 PyObject
* obj6
= 0 ;
11552 PyObject
* obj7
= 0 ;
11553 PyObject
* obj8
= 0 ;
11554 PyObject
* obj9
= 0 ;
11555 PyObject
* obj10
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 arg3
= (int)SWIG_As_int(obj2
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11571 arg4
= wxString_in_helper(obj3
);
11572 if (arg4
== NULL
) SWIG_fail
;
11579 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11585 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11589 arg7
= (long)SWIG_As_long(obj6
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 arg8
= (int)SWIG_As_int(obj7
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 arg9
= (int)SWIG_As_int(obj8
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 arg10
= (int)SWIG_As_int(obj9
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11606 arg11
= wxString_in_helper(obj10
);
11607 if (arg11
== NULL
) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11643 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11647 PyObject
* obj0
= 0 ;
11648 char *kwnames
[] = {
11649 (char *) "self", NULL
11652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 resultobj
= SWIG_From_int((int)result
);
11669 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 PyObject
* obj1
= 0 ;
11675 char *kwnames
[] = {
11676 (char *) "self",(char *) "value", NULL
11679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 arg2
= (int)SWIG_As_int(obj1
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->SetValue(arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11701 wxString
*arg2
= 0 ;
11702 bool temp2
= false ;
11703 PyObject
* obj0
= 0 ;
11704 PyObject
* obj1
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "text", NULL
11709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 (arg1
)->SetValue((wxString
const &)*arg2
);
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 Py_INCREF(Py_None
); resultobj
= Py_None
;
11739 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 PyObject
* obj2
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11754 arg2
= (int)SWIG_As_int(obj1
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11756 arg3
= (int)SWIG_As_int(obj2
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 (arg1
)->SetRange(arg2
,arg3
);
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 Py_INCREF(Py_None
); resultobj
= Py_None
;
11772 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
;
11774 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int((int)result
);
11798 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
*resultobj
;
11800 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11802 PyObject
* obj0
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_From_int((int)result
);
11824 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "from",(char *) "to", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 arg2
= (long)SWIG_As_long(obj1
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11841 arg3
= (long)SWIG_As_long(obj2
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 (arg1
)->SetSelection(arg2
,arg3
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11850 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11860 wxVisualAttributes result
;
11861 PyObject
* obj0
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "variant", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11868 arg1
= (int)SWIG_As_int(obj0
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 if (!wxPyCheckForApp()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 wxVisualAttributes
* resultptr
;
11881 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11890 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
;
11899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11900 int arg2
= (int) 0 ;
11901 wxSpinEvent
*result
;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "commandType",(char *) "winid", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11910 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 arg2
= (int)SWIG_As_int(obj1
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11931 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_From_int((int)result
);
11957 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11961 PyObject
* obj0
= 0 ;
11962 PyObject
* obj1
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "pos", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11970 arg2
= (int)SWIG_As_int(obj1
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 (arg1
)->SetPosition(arg2
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 Py_INCREF(Py_None
); resultobj
= Py_None
;
11986 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11989 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11991 return Py_BuildValue((char *)"");
11993 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11994 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11999 static PyObject
*_wrap_RadioBoxNameStr_get() {
12004 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
12006 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
12013 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
12014 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
12019 static PyObject
*_wrap_RadioButtonNameStr_get() {
12024 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
12026 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
12033 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxWindow
*arg1
= (wxWindow
*) 0 ;
12036 int arg2
= (int) -1 ;
12037 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12038 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12039 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12040 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12041 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12042 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12043 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
12044 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
12045 int arg7
= (int) 0 ;
12046 long arg8
= (long) wxRA_HORIZONTAL
;
12047 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12048 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12049 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
12050 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12051 wxRadioBox
*result
;
12052 bool temp3
= false ;
12055 bool temp6
= false ;
12056 bool temp10
= false ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 PyObject
* obj2
= 0 ;
12060 PyObject
* obj3
= 0 ;
12061 PyObject
* obj4
= 0 ;
12062 PyObject
* obj5
= 0 ;
12063 PyObject
* obj6
= 0 ;
12064 PyObject
* obj7
= 0 ;
12065 PyObject
* obj8
= 0 ;
12066 PyObject
* obj9
= 0 ;
12067 char *kwnames
[] = {
12068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12075 arg2
= (int)SWIG_As_int(obj1
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12080 arg3
= wxString_in_helper(obj2
);
12081 if (arg3
== NULL
) SWIG_fail
;
12088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12099 if (! PySequence_Check(obj5
)) {
12100 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12103 arg6
= new wxArrayString
;
12105 int i
, len
=PySequence_Length(obj5
);
12106 for (i
=0; i
<len
; i
++) {
12107 PyObject
* item
= PySequence_GetItem(obj5
, i
);
12109 PyObject
* str
= PyObject_Unicode(item
);
12111 PyObject
* str
= PyObject_Str(item
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12114 arg6
->Add(Py2wxString(str
));
12121 arg7
= (int)SWIG_As_int(obj6
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 arg8
= (long)SWIG_As_long(obj7
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12132 if (arg9
== NULL
) {
12133 PyErr_SetString(PyExc_TypeError
,"null reference");
12139 arg10
= wxString_in_helper(obj9
);
12140 if (arg10
== NULL
) SWIG_fail
;
12145 if (!wxPyCheckForApp()) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 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
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12158 if (temp6
) delete arg6
;
12171 if (temp6
) delete arg6
;
12181 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxRadioBox
*result
;
12184 char *kwnames
[] = {
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12190 if (!wxPyCheckForApp()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (wxRadioBox
*)new wxRadioBox();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12204 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12207 wxWindow
*arg2
= (wxWindow
*) 0 ;
12208 int arg3
= (int) -1 ;
12209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12211 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12212 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12213 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12214 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12215 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12216 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12217 int arg8
= (int) 0 ;
12218 long arg9
= (long) wxRA_HORIZONTAL
;
12219 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12220 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12221 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12222 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12224 bool temp4
= false ;
12227 bool temp7
= false ;
12228 bool temp11
= false ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 PyObject
* obj2
= 0 ;
12232 PyObject
* obj3
= 0 ;
12233 PyObject
* obj4
= 0 ;
12234 PyObject
* obj5
= 0 ;
12235 PyObject
* obj6
= 0 ;
12236 PyObject
* obj7
= 0 ;
12237 PyObject
* obj8
= 0 ;
12238 PyObject
* obj9
= 0 ;
12239 PyObject
* obj10
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 arg3
= (int)SWIG_As_int(obj2
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 arg4
= wxString_in_helper(obj3
);
12256 if (arg4
== NULL
) SWIG_fail
;
12263 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12269 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12274 if (! PySequence_Check(obj6
)) {
12275 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12278 arg7
= new wxArrayString
;
12280 int i
, len
=PySequence_Length(obj6
);
12281 for (i
=0; i
<len
; i
++) {
12282 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12284 PyObject
* str
= PyObject_Unicode(item
);
12286 PyObject
* str
= PyObject_Str(item
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12289 arg7
->Add(Py2wxString(str
));
12296 arg8
= (int)SWIG_As_int(obj7
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 arg9
= (long)SWIG_As_long(obj8
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12304 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12307 if (arg10
== NULL
) {
12308 PyErr_SetString(PyExc_TypeError
,"null reference");
12314 arg11
= wxString_in_helper(obj10
);
12315 if (arg11
== NULL
) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 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
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12334 if (temp7
) delete arg7
;
12347 if (temp7
) delete arg7
;
12357 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "n", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 arg2
= (int)SWIG_As_int(obj1
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetSelection(arg2
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12386 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_From_int((int)result
);
12412 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12444 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12447 wxString
*arg2
= 0 ;
12449 bool temp2
= false ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "s", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12460 arg2
= wxString_in_helper(obj1
);
12461 if (arg2
== NULL
) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12488 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
;
12490 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_From_int((int)result
);
12514 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
;
12516 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12517 wxString
*arg2
= 0 ;
12519 bool temp2
= false ;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "s", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 arg2
= wxString_in_helper(obj1
);
12531 if (arg2
== NULL
) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_From_int((int)result
);
12556 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self",(char *) "n", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 arg2
= (int)SWIG_As_int(obj1
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12592 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12596 wxString
*arg3
= 0 ;
12597 bool temp3
= false ;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 PyObject
* obj2
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self",(char *) "n",(char *) "label", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 arg2
= (int)SWIG_As_int(obj1
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 arg3
= wxString_in_helper(obj2
);
12612 if (arg3
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12641 bool arg3
= (bool) true ;
12642 PyObject
* obj0
= 0 ;
12643 PyObject
* obj1
= 0 ;
12644 PyObject
* obj2
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self",(char *) "n",(char *) "enable", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12652 arg2
= (int)SWIG_As_int(obj1
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 arg3
= (bool)SWIG_As_bool(obj2
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->Enable(arg2
,arg3
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12676 bool arg3
= (bool) true ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 PyObject
* obj2
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "self",(char *) "n",(char *) "show", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12687 arg2
= (int)SWIG_As_int(obj1
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 arg3
= (bool)SWIG_As_bool(obj2
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 (arg1
)->Show(arg2
,arg3
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 Py_INCREF(Py_None
); resultobj
= Py_None
;
12707 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
;
12709 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12711 PyObject
* obj0
= 0 ;
12712 char *kwnames
[] = {
12713 (char *) "self", NULL
12716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_From_int((int)result
);
12733 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_From_int((int)result
);
12759 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 PyObject
* obj2
= 0 ;
12769 PyObject
* obj3
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 arg2
= (int)SWIG_As_int(obj1
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12779 arg3
= (int)SWIG_As_int(obj2
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12781 arg4
= (long)SWIG_As_long(obj3
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_From_int((int)result
);
12797 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12800 wxVisualAttributes result
;
12801 PyObject
* obj0
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "variant", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12808 arg1
= (int)SWIG_As_int(obj0
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 if (!wxPyCheckForApp()) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 wxVisualAttributes
* resultptr
;
12821 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12830 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12835 return Py_BuildValue((char *)"");
12837 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 int arg2
= (int) -1 ;
12841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12847 long arg6
= (long) 0 ;
12848 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12849 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12850 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12851 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12852 wxRadioButton
*result
;
12853 bool temp3
= false ;
12856 bool temp8
= false ;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 PyObject
* obj2
= 0 ;
12860 PyObject
* obj3
= 0 ;
12861 PyObject
* obj4
= 0 ;
12862 PyObject
* obj5
= 0 ;
12863 PyObject
* obj6
= 0 ;
12864 PyObject
* obj7
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12873 arg2
= (int)SWIG_As_int(obj1
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12878 arg3
= wxString_in_helper(obj2
);
12879 if (arg3
== NULL
) SWIG_fail
;
12886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12896 arg6
= (long)SWIG_As_long(obj5
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12903 if (arg7
== NULL
) {
12904 PyErr_SetString(PyExc_TypeError
,"null reference");
12910 arg8
= wxString_in_helper(obj7
);
12911 if (arg8
== NULL
) SWIG_fail
;
12916 if (!wxPyCheckForApp()) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12946 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxRadioButton
*result
;
12949 char *kwnames
[] = {
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12955 if (!wxPyCheckForApp()) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (wxRadioButton
*)new wxRadioButton();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12969 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12972 wxWindow
*arg2
= (wxWindow
*) 0 ;
12973 int arg3
= (int) -1 ;
12974 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12975 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12978 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12979 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12980 long arg7
= (long) 0 ;
12981 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12982 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12983 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12984 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12986 bool temp4
= false ;
12989 bool temp9
= false ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 PyObject
* obj2
= 0 ;
12993 PyObject
* obj3
= 0 ;
12994 PyObject
* obj4
= 0 ;
12995 PyObject
* obj5
= 0 ;
12996 PyObject
* obj6
= 0 ;
12997 PyObject
* obj7
= 0 ;
12998 PyObject
* obj8
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 arg3
= (int)SWIG_As_int(obj2
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13014 arg4
= wxString_in_helper(obj3
);
13015 if (arg4
== NULL
) SWIG_fail
;
13022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13032 arg7
= (long)SWIG_As_long(obj6
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13039 if (arg8
== NULL
) {
13040 PyErr_SetString(PyExc_TypeError
,"null reference");
13046 arg9
= wxString_in_helper(obj8
);
13047 if (arg9
== NULL
) SWIG_fail
;
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13083 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (bool)(arg1
)->GetValue();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13111 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "value", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg2
= (bool)SWIG_As_bool(obj1
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetValue(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13143 wxVisualAttributes result
;
13144 PyObject
* obj0
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "variant", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13151 arg1
= (int)SWIG_As_int(obj0
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 if (!wxPyCheckForApp()) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 wxVisualAttributes
* resultptr
;
13164 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13173 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
13175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13176 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
13178 return Py_BuildValue((char *)"");
13180 static int _wrap_SliderNameStr_set(PyObject
*) {
13181 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
13186 static PyObject
*_wrap_SliderNameStr_get() {
13191 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13193 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13200 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxWindow
*arg1
= (wxWindow
*) 0 ;
13203 int arg2
= (int) -1 ;
13204 int arg3
= (int) 0 ;
13205 int arg4
= (int) 0 ;
13206 int arg5
= (int) 100 ;
13207 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13208 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13209 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13210 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13211 long arg8
= (long) wxSL_HORIZONTAL
;
13212 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13213 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13214 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13215 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13219 bool temp10
= false ;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 PyObject
* obj2
= 0 ;
13223 PyObject
* obj3
= 0 ;
13224 PyObject
* obj4
= 0 ;
13225 PyObject
* obj5
= 0 ;
13226 PyObject
* obj6
= 0 ;
13227 PyObject
* obj7
= 0 ;
13228 PyObject
* obj8
= 0 ;
13229 PyObject
* obj9
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13238 arg2
= (int)SWIG_As_int(obj1
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13242 arg3
= (int)SWIG_As_int(obj2
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 arg4
= (int)SWIG_As_int(obj3
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 arg5
= (int)SWIG_As_int(obj4
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13256 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13262 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13266 arg8
= (long)SWIG_As_long(obj7
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13273 if (arg9
== NULL
) {
13274 PyErr_SetString(PyExc_TypeError
,"null reference");
13280 arg10
= wxString_in_helper(obj9
);
13281 if (arg10
== NULL
) SWIG_fail
;
13286 if (!wxPyCheckForApp()) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13308 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13311 char *kwnames
[] = {
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13317 if (!wxPyCheckForApp()) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (wxSlider
*)new wxSlider();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13331 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxSlider
*arg1
= (wxSlider
*) 0 ;
13334 wxWindow
*arg2
= (wxWindow
*) 0 ;
13335 int arg3
= (int) -1 ;
13336 int arg4
= (int) 0 ;
13337 int arg5
= (int) 0 ;
13338 int arg6
= (int) 100 ;
13339 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13340 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13341 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13342 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13343 long arg9
= (long) wxSL_HORIZONTAL
;
13344 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13345 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13346 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13347 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13351 bool temp11
= false ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 PyObject
* obj2
= 0 ;
13355 PyObject
* obj3
= 0 ;
13356 PyObject
* obj4
= 0 ;
13357 PyObject
* obj5
= 0 ;
13358 PyObject
* obj6
= 0 ;
13359 PyObject
* obj7
= 0 ;
13360 PyObject
* obj8
= 0 ;
13361 PyObject
* obj9
= 0 ;
13362 PyObject
* obj10
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 arg3
= (int)SWIG_As_int(obj2
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 arg4
= (int)SWIG_As_int(obj3
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13381 arg5
= (int)SWIG_As_int(obj4
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13385 arg6
= (int)SWIG_As_int(obj5
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13391 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13397 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13401 arg9
= (long)SWIG_As_long(obj8
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13408 if (arg10
== NULL
) {
13409 PyErr_SetString(PyExc_TypeError
,"null reference");
13415 arg11
= wxString_in_helper(obj10
);
13416 if (arg11
== NULL
) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13444 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxSlider
*arg1
= (wxSlider
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_int((int)result
);
13470 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxSlider
*arg1
= (wxSlider
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self",(char *) "value", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 arg2
= (int)SWIG_As_int(obj1
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 (arg1
)->SetValue(arg2
);
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13492 Py_INCREF(Py_None
); resultobj
= Py_None
;
13499 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxSlider
*arg1
= (wxSlider
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 PyObject
* obj2
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 arg2
= (int)SWIG_As_int(obj1
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13516 arg3
= (int)SWIG_As_int(obj2
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->SetRange(arg2
,arg3
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxSlider
*arg1
= (wxSlider
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_From_int((int)result
);
13558 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxSlider
*arg1
= (wxSlider
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_From_int((int)result
);
13584 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxSlider
*arg1
= (wxSlider
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "minValue", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 arg2
= (int)SWIG_As_int(obj1
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 (arg1
)->SetMin(arg2
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 Py_INCREF(Py_None
); resultobj
= Py_None
;
13613 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13614 PyObject
*resultobj
;
13615 wxSlider
*arg1
= (wxSlider
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self",(char *) "maxValue", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13626 arg2
= (int)SWIG_As_int(obj1
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 (arg1
)->SetMax(arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxSlider
*arg1
= (wxSlider
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "lineSize", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg2
= (int)SWIG_As_int(obj1
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 (arg1
)->SetLineSize(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxSlider
*arg1
= (wxSlider
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "pageSize", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 arg2
= (int)SWIG_As_int(obj1
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 (arg1
)->SetPageSize(arg2
);
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 Py_INCREF(Py_None
); resultobj
= Py_None
;
13700 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxSlider
*arg1
= (wxSlider
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_From_int((int)result
);
13726 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxSlider
*arg1
= (wxSlider
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_From_int((int)result
);
13752 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxSlider
*arg1
= (wxSlider
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "lenPixels", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int)SWIG_As_int(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->SetThumbLength(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 Py_INCREF(Py_None
); resultobj
= Py_None
;
13781 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxSlider
*arg1
= (wxSlider
*) 0 ;
13785 PyObject
* obj0
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= SWIG_From_int((int)result
);
13807 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
;
13809 wxSlider
*arg1
= (wxSlider
*) 0 ;
13811 int arg3
= (int) 1 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 PyObject
* obj2
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "n",(char *) "pos", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 arg2
= (int)SWIG_As_int(obj1
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 arg3
= (int)SWIG_As_int(obj2
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetTickFreq(arg2
,arg3
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxSlider
*arg1
= (wxSlider
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_int((int)result
);
13868 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxSlider
*arg1
= (wxSlider
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 (arg1
)->ClearTicks();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 Py_INCREF(Py_None
); resultobj
= Py_None
;
13893 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxSlider
*arg1
= (wxSlider
*) 0 ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "tickPos", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13906 arg2
= (int)SWIG_As_int(obj1
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 (arg1
)->SetTick(arg2
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13922 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxSlider
*arg1
= (wxSlider
*) 0 ;
13925 PyObject
* obj0
= 0 ;
13926 char *kwnames
[] = {
13927 (char *) "self", NULL
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 (arg1
)->ClearSel();
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxSlider
*arg1
= (wxSlider
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_From_int((int)result
);
13973 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxSlider
*arg1
= (wxSlider
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_From_int((int)result
);
13999 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxSlider
*arg1
= (wxSlider
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 PyObject
* obj2
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self",(char *) "min",(char *) "max", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14014 arg2
= (int)SWIG_As_int(obj1
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14016 arg3
= (int)SWIG_As_int(obj2
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 (arg1
)->SetSelection(arg2
,arg3
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 Py_INCREF(Py_None
); resultobj
= Py_None
;
14032 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14035 wxVisualAttributes result
;
14036 PyObject
* obj0
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "variant", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14043 arg1
= (int)SWIG_As_int(obj0
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 if (!wxPyCheckForApp()) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 wxVisualAttributes
* resultptr
;
14056 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14065 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
14067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14068 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
14070 return Py_BuildValue((char *)"");
14072 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
14073 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
14078 static PyObject
*_wrap_ToggleButtonNameStr_get() {
14083 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
14092 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxWindow
*arg1
= (wxWindow
*) 0 ;
14095 int arg2
= (int) -1 ;
14096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14102 long arg6
= (long) 0 ;
14103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14105 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
14106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14107 wxToggleButton
*result
;
14108 bool temp3
= false ;
14111 bool temp8
= false ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 PyObject
* obj3
= 0 ;
14116 PyObject
* obj4
= 0 ;
14117 PyObject
* obj5
= 0 ;
14118 PyObject
* obj6
= 0 ;
14119 PyObject
* obj7
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 arg2
= (int)SWIG_As_int(obj1
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14133 arg3
= wxString_in_helper(obj2
);
14134 if (arg3
== NULL
) SWIG_fail
;
14141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14151 arg6
= (long)SWIG_As_long(obj5
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14155 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14158 if (arg7
== NULL
) {
14159 PyErr_SetString(PyExc_TypeError
,"null reference");
14165 arg8
= wxString_in_helper(obj7
);
14166 if (arg8
== NULL
) SWIG_fail
;
14171 if (!wxPyCheckForApp()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14201 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxToggleButton
*result
;
14204 char *kwnames
[] = {
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14210 if (!wxPyCheckForApp()) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (wxToggleButton
*)new wxToggleButton();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14224 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14227 wxWindow
*arg2
= (wxWindow
*) 0 ;
14228 int arg3
= (int) -1 ;
14229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14235 long arg7
= (long) 0 ;
14236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14238 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14241 bool temp4
= false ;
14244 bool temp9
= false ;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 PyObject
* obj2
= 0 ;
14248 PyObject
* obj3
= 0 ;
14249 PyObject
* obj4
= 0 ;
14250 PyObject
* obj5
= 0 ;
14251 PyObject
* obj6
= 0 ;
14252 PyObject
* obj7
= 0 ;
14253 PyObject
* obj8
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 arg3
= (int)SWIG_As_int(obj2
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14269 arg4
= wxString_in_helper(obj3
);
14270 if (arg4
== NULL
) SWIG_fail
;
14277 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14283 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14287 arg7
= (long)SWIG_As_long(obj6
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14294 if (arg8
== NULL
) {
14295 PyErr_SetString(PyExc_TypeError
,"null reference");
14301 arg9
= wxString_in_helper(obj8
);
14302 if (arg9
== NULL
) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14338 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 PyObject
* obj1
= 0 ;
14344 char *kwnames
[] = {
14345 (char *) "self",(char *) "value", NULL
14348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14351 arg2
= (bool)SWIG_As_bool(obj1
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->SetValue(arg2
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14395 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14398 wxString
*arg2
= 0 ;
14399 bool temp2
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "label", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 arg2
= wxString_in_helper(obj1
);
14411 if (arg2
== NULL
) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 (arg1
)->SetLabel((wxString
const &)*arg2
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14439 wxVisualAttributes result
;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "variant", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14447 arg1
= (int)SWIG_As_int(obj0
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 if (!wxPyCheckForApp()) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 wxVisualAttributes
* resultptr
;
14460 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14469 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14472 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14474 return Py_BuildValue((char *)"");
14476 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14477 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14482 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14487 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14489 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14496 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14522 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "n", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14536 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= wxPyMake_wxObject(result
, 0);
14554 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
;
14556 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14558 PyObject
* obj0
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14574 resultobj
= wxPyMake_wxObject(result
, 0);
14582 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int((int)result
);
14608 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14612 wxString
*arg3
= 0 ;
14614 bool temp3
= false ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 PyObject
* obj2
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self",(char *) "n",(char *) "strText", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 arg3
= wxString_in_helper(obj2
);
14629 if (arg3
== NULL
) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14656 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "self",(char *) "n", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14670 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14692 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
;
14694 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14695 wxImageList
*arg2
= (wxImageList
*) 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self",(char *) "imageList", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->SetImageList(arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14724 wxImageList
*arg2
= (wxImageList
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 PyObject
* obj1
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "imageList", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14735 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->AssignImageList(arg2
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14753 wxImageList
*result
;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= wxPyMake_wxObject(result
, 0);
14778 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "n", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_From_int((int)result
);
14808 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 PyObject
* obj2
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self",(char *) "n",(char *) "imageId", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14826 arg3
= (int)SWIG_As_int(obj2
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14844 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14849 PyObject
* obj0
= 0 ;
14850 PyObject
* obj1
= 0 ;
14851 char *kwnames
[] = {
14852 (char *) "self",(char *) "size", NULL
14855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char *kwnames
[] = {
14885 (char *) "self",(char *) "sizePage", NULL
14888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14903 wxSize
* resultptr
;
14904 resultptr
= new wxSize((wxSize
&) result
);
14905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14913 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 PyObject
* obj1
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self",(char *) "n", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->DeletePage(arg2
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 PyObject
* obj1
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self",(char *) "n", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14959 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14963 result
= (bool)(arg1
)->RemovePage(arg2
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14977 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 char *kwnames
[] = {
14983 (char *) "self", NULL
14986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)(arg1
)->DeleteAllPages();
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15008 wxWindow
*arg2
= (wxWindow
*) 0 ;
15009 wxString
*arg3
= 0 ;
15010 bool arg4
= (bool) false ;
15011 int arg5
= (int) -1 ;
15013 bool temp3
= false ;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 PyObject
* obj2
= 0 ;
15017 PyObject
* obj3
= 0 ;
15018 PyObject
* obj4
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 arg3
= wxString_in_helper(obj2
);
15030 if (arg3
== NULL
) SWIG_fail
;
15034 arg4
= (bool)SWIG_As_bool(obj3
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 arg5
= (int)SWIG_As_int(obj4
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15065 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
;
15067 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15069 wxWindow
*arg3
= (wxWindow
*) 0 ;
15070 wxString
*arg4
= 0 ;
15071 bool arg5
= (bool) false ;
15072 int arg6
= (int) -1 ;
15074 bool temp4
= false ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 PyObject
* obj3
= 0 ;
15079 PyObject
* obj4
= 0 ;
15080 PyObject
* obj5
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg4
= wxString_in_helper(obj3
);
15094 if (arg4
== NULL
) SWIG_fail
;
15098 arg5
= (bool)SWIG_As_bool(obj4
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15102 arg6
= (int)SWIG_As_int(obj5
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15129 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "n", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)(arg1
)->SetSelection(arg2
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_From_int((int)result
);
15159 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15162 bool arg2
= (bool) true ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "forward", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 arg2
= (bool)SWIG_As_bool(obj1
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 (arg1
)->AdvanceSelection(arg2
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 Py_INCREF(Py_None
); resultobj
= Py_None
;
15190 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15193 wxVisualAttributes result
;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "variant", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15201 arg1
= (int)SWIG_As_int(obj0
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 if (!wxPyCheckForApp()) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15213 wxVisualAttributes
* resultptr
;
15214 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15223 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
15225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15226 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
15228 return Py_BuildValue((char *)"");
15230 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15233 int arg2
= (int) 0 ;
15234 int arg3
= (int) -1 ;
15235 int arg4
= (int) -1 ;
15236 wxBookCtrlBaseEvent
*result
;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 PyObject
* obj3
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15247 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 arg2
= (int)SWIG_As_int(obj1
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 arg3
= (int)SWIG_As_int(obj2
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15259 arg4
= (int)SWIG_As_int(obj3
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
15276 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_From_int((int)result
);
15302 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 char *kwnames
[] = {
15309 (char *) "self",(char *) "nSel", NULL
15312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 arg2
= (int)SWIG_As_int(obj1
);
15316 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->SetSelection(arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_From_int((int)result
);
15357 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "nOldSel", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 arg2
= (int)SWIG_As_int(obj1
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 (arg1
)->SetOldSelection(arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15386 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
15388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15389 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
15391 return Py_BuildValue((char *)"");
15393 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxWindow
*arg1
= (wxWindow
*) 0 ;
15396 int arg2
= (int) -1 ;
15397 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15398 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15399 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15400 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15401 long arg5
= (long) 0 ;
15402 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15403 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15404 wxNotebook
*result
;
15407 bool temp6
= false ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 PyObject
* obj3
= 0 ;
15412 PyObject
* obj4
= 0 ;
15413 PyObject
* obj5
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15422 arg2
= (int)SWIG_As_int(obj1
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15428 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15434 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15438 arg5
= (long)SWIG_As_long(obj4
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15443 arg6
= wxString_in_helper(obj5
);
15444 if (arg6
== NULL
) SWIG_fail
;
15449 if (!wxPyCheckForApp()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15471 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxNotebook
*result
;
15474 char *kwnames
[] = {
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15480 if (!wxPyCheckForApp()) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (wxNotebook
*)new wxNotebook();
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15494 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15497 wxWindow
*arg2
= (wxWindow
*) 0 ;
15498 int arg3
= (int) -1 ;
15499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15503 long arg6
= (long) 0 ;
15504 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15509 bool temp7
= false ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 PyObject
* obj2
= 0 ;
15513 PyObject
* obj3
= 0 ;
15514 PyObject
* obj4
= 0 ;
15515 PyObject
* obj5
= 0 ;
15516 PyObject
* obj6
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15527 arg3
= (int)SWIG_As_int(obj2
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15543 arg6
= (long)SWIG_As_long(obj5
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15548 arg7
= wxString_in_helper(obj6
);
15549 if (arg7
== NULL
) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15577 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_From_int((int)result
);
15603 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "padding", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15619 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self",(char *) "sz", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 Py_INCREF(Py_None
); resultobj
= Py_None
;
15667 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15670 wxPoint
*arg2
= 0 ;
15671 long *arg3
= (long *) 0 ;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 char *kwnames
[] = {
15679 (char *) "self",(char *) "pt", NULL
15682 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_From_int((int)result
);
15698 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15699 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15706 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
;
15708 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self",(char *) "sizePage", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 wxSize
* resultptr
;
15734 resultptr
= new wxSize((wxSize
&) result
);
15735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15743 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15746 wxVisualAttributes result
;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "variant", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15754 arg1
= (int)SWIG_As_int(obj0
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 if (!wxPyCheckForApp()) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 wxVisualAttributes
* resultptr
;
15767 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15776 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15779 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15781 return Py_BuildValue((char *)"");
15783 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15786 int arg2
= (int) 0 ;
15787 int arg3
= (int) -1 ;
15788 int arg4
= (int) -1 ;
15789 wxNotebookEvent
*result
;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 PyObject
* obj2
= 0 ;
15793 PyObject
* obj3
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15800 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 arg2
= (int)SWIG_As_int(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 arg3
= (int)SWIG_As_int(obj2
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15812 arg4
= (int)SWIG_As_int(obj3
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15829 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15832 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15834 return Py_BuildValue((char *)"");
15836 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxWindow
*arg1
= (wxWindow
*) 0 ;
15839 int arg2
= (int) -1 ;
15840 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15841 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15842 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15843 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15844 long arg5
= (long) 0 ;
15845 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15846 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15847 wxListbook
*result
;
15850 bool temp6
= false ;
15851 PyObject
* obj0
= 0 ;
15852 PyObject
* obj1
= 0 ;
15853 PyObject
* obj2
= 0 ;
15854 PyObject
* obj3
= 0 ;
15855 PyObject
* obj4
= 0 ;
15856 PyObject
* obj5
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 arg2
= (int)SWIG_As_int(obj1
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15881 arg5
= (long)SWIG_As_long(obj4
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15886 arg6
= wxString_in_helper(obj5
);
15887 if (arg6
== NULL
) SWIG_fail
;
15892 if (!wxPyCheckForApp()) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15914 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxListbook
*result
;
15917 char *kwnames
[] = {
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15923 if (!wxPyCheckForApp()) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (wxListbook
*)new wxListbook();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15937 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxListbook
*arg1
= (wxListbook
*) 0 ;
15940 wxWindow
*arg2
= (wxWindow
*) 0 ;
15941 int arg3
= (int) -1 ;
15942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15946 long arg6
= (long) 0 ;
15947 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15952 bool temp7
= false ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 PyObject
* obj2
= 0 ;
15956 PyObject
* obj3
= 0 ;
15957 PyObject
* obj4
= 0 ;
15958 PyObject
* obj5
= 0 ;
15959 PyObject
* obj6
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg3
= (int)SWIG_As_int(obj2
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15976 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15982 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15986 arg6
= (long)SWIG_As_long(obj5
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15991 arg7
= wxString_in_helper(obj6
);
15992 if (arg7
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16020 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxListbook
*arg1
= (wxListbook
*) 0 ;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
16031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxListbook
*arg1
= (wxListbook
*) 0 ;
16051 wxListView
*result
;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (wxListView
*)(arg1
)->GetListView();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
16074 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
16076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16077 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
16079 return Py_BuildValue((char *)"");
16081 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
;
16083 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16084 int arg2
= (int) 0 ;
16085 int arg3
= (int) -1 ;
16086 int arg4
= (int) -1 ;
16087 wxListbookEvent
*result
;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 PyObject
* obj2
= 0 ;
16091 PyObject
* obj3
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16098 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 arg2
= (int)SWIG_As_int(obj1
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 arg3
= (int)SWIG_As_int(obj2
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 arg4
= (int)SWIG_As_int(obj3
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
16127 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
16129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16130 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
16132 return Py_BuildValue((char *)"");
16134 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxWindow
*arg1
= (wxWindow
*) 0 ;
16138 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16139 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16140 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16141 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16142 long arg5
= (long) 0 ;
16143 wxString
const &arg6_defvalue
= wxPyEmptyString
;
16144 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16145 wxChoicebook
*result
;
16148 bool temp6
= false ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 PyObject
* obj2
= 0 ;
16152 PyObject
* obj3
= 0 ;
16153 PyObject
* obj4
= 0 ;
16154 PyObject
* obj5
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16162 arg2
= (int)SWIG_As_int(obj1
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16173 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16177 arg5
= (long)SWIG_As_long(obj4
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16182 arg6
= wxString_in_helper(obj5
);
16183 if (arg6
== NULL
) SWIG_fail
;
16188 if (!wxPyCheckForApp()) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16210 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxChoicebook
*result
;
16213 char *kwnames
[] = {
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
16219 if (!wxPyCheckForApp()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxChoicebook
*)new wxChoicebook();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16233 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16236 wxWindow
*arg2
= (wxWindow
*) 0 ;
16238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16242 long arg6
= (long) 0 ;
16243 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16248 bool temp7
= false ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 PyObject
* obj3
= 0 ;
16253 PyObject
* obj4
= 0 ;
16254 PyObject
* obj5
= 0 ;
16255 PyObject
* obj6
= 0 ;
16256 char *kwnames
[] = {
16257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16265 arg3
= (int)SWIG_As_int(obj2
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16280 arg6
= (long)SWIG_As_long(obj5
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16285 arg7
= wxString_in_helper(obj6
);
16286 if (arg7
== NULL
) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16314 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16328 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16342 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (bool)(arg1
)->DeleteAllPages();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16373 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16375 return Py_BuildValue((char *)"");
16377 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16380 int arg2
= (int) 0 ;
16381 int arg3
= (int) -1 ;
16382 int arg4
= (int) -1 ;
16383 wxChoicebookEvent
*result
;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 PyObject
* obj2
= 0 ;
16387 PyObject
* obj3
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16394 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16398 arg2
= (int)SWIG_As_int(obj1
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 arg3
= (int)SWIG_As_int(obj2
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 arg4
= (int)SWIG_As_int(obj3
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16423 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16426 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16428 return Py_BuildValue((char *)"");
16430 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16433 wxBookCtrlSizer
*result
;
16434 PyObject
* obj0
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "nb", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16456 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->RecalcSizes();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (arg1
)->CalcMin();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 wxSize
* resultptr
;
16502 resultptr
= new wxSize((wxSize
&) result
);
16503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16511 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16514 wxBookCtrlBase
*result
;
16515 PyObject
* obj0
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
16537 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16540 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16542 return Py_BuildValue((char *)"");
16544 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16547 wxNotebookSizer
*result
;
16548 PyObject
* obj0
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "nb", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16570 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 (arg1
)->RecalcSizes();
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 Py_INCREF(Py_None
); resultobj
= Py_None
;
16595 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (arg1
)->CalcMin();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16615 wxSize
* resultptr
;
16616 resultptr
= new wxSize((wxSize
&) result
);
16617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16625 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16628 wxNotebook
*result
;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "self", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= wxPyMake_wxObject(result
, 0);
16653 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16656 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16658 return Py_BuildValue((char *)"");
16660 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "self", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (int)(arg1
)->GetId();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_From_int((int)result
);
16686 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (wxControl
*)(arg1
)->GetControl();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= wxPyMake_wxObject(result
, 0);
16714 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16717 wxToolBarBase
*result
;
16718 PyObject
* obj0
= 0 ;
16719 char *kwnames
[] = {
16720 (char *) "self", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= wxPyMake_wxObject(result
, 0);
16742 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (int)(arg1
)->IsButton();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_From_int((int)result
);
16768 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16772 PyObject
* obj0
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (int)(arg1
)->IsControl();
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_From_int((int)result
);
16794 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (int)(arg1
)->IsSeparator();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_From_int((int)result
);
16820 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (int)(arg1
)->GetStyle();
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_From_int((int)result
);
16846 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (int)(arg1
)->GetKind();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_From_int((int)result
);
16872 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16873 PyObject
*resultobj
;
16874 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (bool)(arg1
)->IsEnabled();
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16900 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (bool)(arg1
)->IsToggled();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16928 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (bool)(arg1
)->CanBeToggled();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16956 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 char *kwnames
[] = {
16962 (char *) "self", NULL
16965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16972 result
= (wxBitmap
*) &_result_ref
;
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16979 wxBitmap
* resultptr
= new wxBitmap(*result
);
16980 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16988 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
17004 result
= (wxBitmap
*) &_result_ref
;
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 wxBitmap
* resultptr
= new wxBitmap(*result
);
17012 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17020 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
;
17022 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
17030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (arg1
)->GetBitmap();
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 wxBitmap
* resultptr
;
17041 resultptr
= new wxBitmap((wxBitmap
&) result
);
17042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17050 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (arg1
)->GetLabel();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17082 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (arg1
)->GetShortHelp();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17114 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (arg1
)->GetLongHelp();
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17146 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self",(char *) "enable", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 arg2
= (bool)SWIG_As_bool(obj1
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)(arg1
)->Enable(arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 Py_INCREF(Py_None
); resultobj
= Py_None
;
17203 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17208 PyObject
* obj0
= 0 ;
17209 PyObject
* obj1
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self",(char *) "toggle", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
17215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17217 arg2
= (bool)SWIG_As_bool(obj1
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (bool)(arg1
)->SetToggle(arg2
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17235 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17238 wxString
*arg2
= 0 ;
17240 bool temp2
= false ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "help", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17251 arg2
= wxString_in_helper(obj1
);
17252 if (arg2
== NULL
) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17282 wxString
*arg2
= 0 ;
17284 bool temp2
= false ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "help", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17295 arg2
= wxString_in_helper(obj1
);
17296 if (arg2
== NULL
) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17323 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17326 wxBitmap
*arg2
= 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "bmp", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17339 if (arg2
== NULL
) {
17340 PyErr_SetString(PyExc_TypeError
,"null reference");
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 Py_INCREF(Py_None
); resultobj
= Py_None
;
17357 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
;
17359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17360 wxBitmap
*arg2
= 0 ;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self",(char *) "bmp", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17373 if (arg2
== NULL
) {
17374 PyErr_SetString(PyExc_TypeError
,"null reference");
17378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17379 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 Py_INCREF(Py_None
); resultobj
= Py_None
;
17391 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17394 wxString
*arg2
= 0 ;
17395 bool temp2
= false ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "label", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17406 arg2
= wxString_in_helper(obj1
);
17407 if (arg2
== NULL
) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 (arg1
)->SetLabel((wxString
const &)*arg2
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 Py_INCREF(Py_None
); resultobj
= Py_None
;
17432 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 Py_INCREF(Py_None
); resultobj
= Py_None
;
17457 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17460 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "tbar", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->Attach(arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
;
17512 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17515 PyObject
*arg2
= (PyObject
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "clientData", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17543 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17545 return Py_BuildValue((char *)"");
17547 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
;
17549 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17551 wxString
*arg3
= 0 ;
17552 wxBitmap
*arg4
= 0 ;
17553 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17554 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17555 int arg6
= (int) wxITEM_NORMAL
;
17556 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17558 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17559 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17560 PyObject
*arg9
= (PyObject
*) NULL
;
17561 wxToolBarToolBase
*result
;
17562 bool temp3
= false ;
17563 bool temp7
= false ;
17564 bool temp8
= false ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 PyObject
* obj3
= 0 ;
17569 PyObject
* obj4
= 0 ;
17570 PyObject
* obj5
= 0 ;
17571 PyObject
* obj6
= 0 ;
17572 PyObject
* obj7
= 0 ;
17573 PyObject
* obj8
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17581 arg2
= (int)SWIG_As_int(obj1
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 arg3
= wxString_in_helper(obj2
);
17585 if (arg3
== NULL
) SWIG_fail
;
17588 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17591 if (arg4
== NULL
) {
17592 PyErr_SetString(PyExc_TypeError
,"null reference");
17596 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17599 if (arg5
== NULL
) {
17600 PyErr_SetString(PyExc_TypeError
,"null reference");
17605 arg6
= (int)SWIG_As_int(obj5
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17610 arg7
= wxString_in_helper(obj6
);
17611 if (arg7
== NULL
) SWIG_fail
;
17617 arg8
= wxString_in_helper(obj7
);
17618 if (arg8
== NULL
) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= wxPyMake_wxObject(result
, 0);
17665 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17670 wxString
*arg4
= 0 ;
17671 wxBitmap
*arg5
= 0 ;
17672 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17673 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17674 int arg7
= (int) wxITEM_NORMAL
;
17675 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17676 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17677 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17678 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17679 PyObject
*arg10
= (PyObject
*) NULL
;
17680 wxToolBarToolBase
*result
;
17681 bool temp4
= false ;
17682 bool temp8
= false ;
17683 bool temp9
= false ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 PyObject
* obj2
= 0 ;
17687 PyObject
* obj3
= 0 ;
17688 PyObject
* obj4
= 0 ;
17689 PyObject
* obj5
= 0 ;
17690 PyObject
* obj6
= 0 ;
17691 PyObject
* obj7
= 0 ;
17692 PyObject
* obj8
= 0 ;
17693 PyObject
* obj9
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17703 arg3
= (int)SWIG_As_int(obj2
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 arg4
= wxString_in_helper(obj3
);
17707 if (arg4
== NULL
) SWIG_fail
;
17710 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17713 if (arg5
== NULL
) {
17714 PyErr_SetString(PyExc_TypeError
,"null reference");
17718 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17721 if (arg6
== NULL
) {
17722 PyErr_SetString(PyExc_TypeError
,"null reference");
17727 arg7
= (int)SWIG_As_int(obj6
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17732 arg8
= wxString_in_helper(obj7
);
17733 if (arg8
== NULL
) SWIG_fail
;
17739 arg9
= wxString_in_helper(obj8
);
17740 if (arg9
== NULL
) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 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
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= wxPyMake_wxObject(result
, 0);
17787 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17790 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17791 wxToolBarToolBase
*result
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "tool", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= wxPyMake_wxObject(result
, 0);
17819 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17823 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17824 wxToolBarToolBase
*result
;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 PyObject
* obj2
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self",(char *) "pos",(char *) "tool", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17835 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17837 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= wxPyMake_wxObject(result
, 0);
17855 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17858 wxControl
*arg2
= (wxControl
*) 0 ;
17859 wxToolBarToolBase
*result
;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "control", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17873 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= wxPyMake_wxObject(result
, 0);
17887 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17891 wxControl
*arg3
= (wxControl
*) 0 ;
17892 wxToolBarToolBase
*result
;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 PyObject
* obj2
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self",(char *) "pos",(char *) "control", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17905 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= wxPyMake_wxObject(result
, 0);
17923 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
;
17925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self",(char *) "id", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 arg2
= (int)SWIG_As_int(obj1
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17947 resultobj
= wxPyMake_wxObject(result
, 0);
17955 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17958 wxToolBarToolBase
*result
;
17959 PyObject
* obj0
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= wxPyMake_wxObject(result
, 0);
17983 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17984 PyObject
*resultobj
;
17985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17987 wxToolBarToolBase
*result
;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "pos", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= wxPyMake_wxObject(result
, 0);
18015 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18019 wxToolBarToolBase
*result
;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "id", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 arg2
= (int)SWIG_As_int(obj1
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= wxPyMake_wxObject(result
, 0);
18047 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char *kwnames
[] = {
18055 (char *) "self",(char *) "pos", NULL
18058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18079 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "id", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 arg2
= (int)SWIG_As_int(obj1
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (bool)(arg1
)->DeleteTool(arg2
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18111 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 (arg1
)->ClearTools();
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 Py_INCREF(Py_None
); resultobj
= Py_None
;
18136 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
;
18138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 char *kwnames
[] = {
18142 (char *) "self", NULL
18145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
18146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (bool)(arg1
)->Realize();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18164 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 PyObject
* obj2
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "id",(char *) "enable", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 arg2
= (int)SWIG_As_int(obj1
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18181 arg3
= (bool)SWIG_As_bool(obj2
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->EnableTool(arg2
,arg3
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 PyObject
* obj2
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self",(char *) "id",(char *) "toggle", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18212 arg2
= (int)SWIG_As_int(obj1
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18214 arg3
= (bool)SWIG_As_bool(obj2
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->ToggleTool(arg2
,arg3
);
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 Py_INCREF(Py_None
); resultobj
= Py_None
;
18230 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18237 PyObject
* obj2
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "id",(char *) "toggle", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (int)SWIG_As_int(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18247 arg3
= (bool)SWIG_As_bool(obj2
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->SetToggle(arg2
,arg3
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 Py_INCREF(Py_None
); resultobj
= Py_None
;
18263 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "id", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (int)SWIG_As_int(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= result
;
18293 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18297 PyObject
*arg3
= (PyObject
*) 0 ;
18298 PyObject
* obj0
= 0 ;
18299 PyObject
* obj1
= 0 ;
18300 PyObject
* obj2
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self",(char *) "id",(char *) "clientData", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 arg2
= (int)SWIG_As_int(obj1
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 Py_INCREF(Py_None
); resultobj
= Py_None
;
18325 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self",(char *) "id", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 arg2
= (int)SWIG_As_int(obj1
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_From_int((int)result
);
18355 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "id", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= (int)SWIG_As_int(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (bool)(arg1
)->GetToolState(arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18387 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self",(char *) "id", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 arg2
= (int)SWIG_As_int(obj1
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18419 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18423 wxString
*arg3
= 0 ;
18424 bool temp3
= false ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "id",(char *) "helpString", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 arg2
= (int)SWIG_As_int(obj1
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 arg3
= wxString_in_helper(obj2
);
18439 if (arg3
== NULL
) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 Py_INCREF(Py_None
); resultobj
= Py_None
;
18464 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 char *kwnames
[] = {
18472 (char *) "self",(char *) "id", NULL
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 arg2
= (int)SWIG_As_int(obj1
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (arg1
)->GetToolShortHelp(arg2
);
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18500 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18504 wxString
*arg3
= 0 ;
18505 bool temp3
= false ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "id",(char *) "helpString", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18516 arg2
= (int)SWIG_As_int(obj1
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 arg3
= wxString_in_helper(obj2
);
18520 if (arg3
== NULL
) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "id", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 arg2
= (int)SWIG_As_int(obj1
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 result
= (arg1
)->GetToolLongHelp(arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18581 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 PyObject
* obj2
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "x",(char *) "y", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 arg2
= (int)SWIG_As_int(obj1
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18598 arg3
= (int)SWIG_As_int(obj2
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->SetMargins(arg2
,arg3
);
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18607 Py_INCREF(Py_None
); resultobj
= Py_None
;
18614 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "size", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self",(char *) "packing", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 arg2
= (int)SWIG_As_int(obj1
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->SetToolPacking(arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 char *kwnames
[] = {
18682 (char *) "self",(char *) "separation", NULL
18685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 arg2
= (int)SWIG_As_int(obj1
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->SetToolSeparation(arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (arg1
)->GetToolMargins();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 wxSize
* resultptr
;
18725 resultptr
= new wxSize((wxSize
&) result
);
18726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18734 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (arg1
)->GetMargins();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 wxSize
* resultptr
;
18755 resultptr
= new wxSize((wxSize
&) result
);
18756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18764 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (int)(arg1
)->GetToolPacking();
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_From_int((int)result
);
18790 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (int)(arg1
)->GetToolSeparation();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_From_int((int)result
);
18816 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "nRows", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",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 (arg1
)->SetRows(arg2
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "rows",(char *) "cols", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18860 arg2
= (int)SWIG_As_int(obj1
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18862 arg3
= (int)SWIG_As_int(obj2
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 Py_INCREF(Py_None
); resultobj
= Py_None
;
18878 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (int)(arg1
)->GetMaxRows();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_From_int((int)result
);
18904 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (int)(arg1
)->GetMaxCols();
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_From_int((int)result
);
18930 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "size", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 Py_INCREF(Py_None
); resultobj
= Py_None
;
18962 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
;
18964 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 char *kwnames
[] = {
18968 (char *) "self", NULL
18971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 result
= (arg1
)->GetToolBitmapSize();
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18982 wxSize
* resultptr
;
18983 resultptr
= new wxSize((wxSize
&) result
);
18984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18992 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18996 PyObject
* obj0
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (arg1
)->GetToolSize();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 wxSize
* resultptr
;
19013 resultptr
= new wxSize((wxSize
&) result
);
19014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19022 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19027 wxToolBarToolBase
*result
;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 PyObject
* obj2
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "x",(char *) "y", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19038 arg2
= (int)SWIG_As_int(obj1
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19040 arg3
= (int)SWIG_As_int(obj2
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= wxPyMake_wxObject(result
, 0);
19058 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19062 wxToolBarToolBase
*result
;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "toolid", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 arg2
= (int)SWIG_As_int(obj1
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= wxPyMake_wxObject(result
, 0);
19090 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19094 PyObject
* obj0
= 0 ;
19095 char *kwnames
[] = {
19096 (char *) "self", NULL
19099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
19100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->IsVertical();
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19118 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
19120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19121 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
19123 return Py_BuildValue((char *)"");
19125 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxWindow
*arg1
= (wxWindow
*) 0 ;
19128 int arg2
= (int) -1 ;
19129 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19130 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19131 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19132 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19133 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19134 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
19135 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19139 bool temp6
= false ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 PyObject
* obj2
= 0 ;
19143 PyObject
* obj3
= 0 ;
19144 PyObject
* obj4
= 0 ;
19145 PyObject
* obj5
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19154 arg2
= (int)SWIG_As_int(obj1
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19170 arg5
= (long)SWIG_As_long(obj4
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19175 arg6
= wxString_in_helper(obj5
);
19176 if (arg6
== NULL
) SWIG_fail
;
19181 if (!wxPyCheckForApp()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19203 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19206 char *kwnames
[] = {
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
19212 if (!wxPyCheckForApp()) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (wxToolBar
*)new wxToolBar();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19226 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
;
19228 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19229 wxWindow
*arg2
= (wxWindow
*) 0 ;
19230 int arg3
= (int) -1 ;
19231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19235 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19236 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
19237 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19241 bool temp7
= false ;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 PyObject
* obj2
= 0 ;
19245 PyObject
* obj3
= 0 ;
19246 PyObject
* obj4
= 0 ;
19247 PyObject
* obj5
= 0 ;
19248 PyObject
* obj6
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19259 arg3
= (int)SWIG_As_int(obj2
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19265 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19271 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19275 arg6
= (long)SWIG_As_long(obj5
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19280 arg7
= wxString_in_helper(obj6
);
19281 if (arg7
== NULL
) SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19309 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19314 wxToolBarToolBase
*result
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self",(char *) "x",(char *) "y", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 arg2
= (int)SWIG_As_int(obj1
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19327 arg3
= (int)SWIG_As_int(obj2
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19337 resultobj
= wxPyMake_wxObject(result
, 0);
19345 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19348 wxVisualAttributes result
;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "variant", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19356 arg1
= (int)SWIG_As_int(obj0
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 if (!wxPyCheckForApp()) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19368 wxVisualAttributes
* resultptr
;
19369 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19378 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19381 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19383 return Py_BuildValue((char *)"");
19385 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19386 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19391 static PyObject
*_wrap_ListCtrlNameStr_get() {
19396 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19398 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19405 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxColour
const &arg1_defvalue
= wxNullColour
;
19408 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19409 wxColour
const &arg2_defvalue
= wxNullColour
;
19410 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19411 wxFont
const &arg3_defvalue
= wxNullFont
;
19412 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19413 wxListItemAttr
*result
;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19427 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19437 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19440 if (arg3
== NULL
) {
19441 PyErr_SetString(PyExc_TypeError
,"null reference");
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19459 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19462 wxColour
*arg2
= 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "colText", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19494 wxColour
*arg2
= 0 ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "colBack", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 Py_INCREF(Py_None
); resultobj
= Py_None
;
19523 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "font", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19539 if (arg2
== NULL
) {
19540 PyErr_SetString(PyExc_TypeError
,"null reference");
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetFont((wxFont
const &)*arg2
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)(arg1
)->HasTextColour();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19585 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (bool)(arg1
)->HasBackgroundColour();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19613 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19617 PyObject
* obj0
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (bool)(arg1
)->HasFont();
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19641 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= (arg1
)->GetTextColour();
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 wxColour
* resultptr
;
19662 resultptr
= new wxColour((wxColour
&) result
);
19663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19671 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19675 PyObject
* obj0
= 0 ;
19676 char *kwnames
[] = {
19677 (char *) "self", NULL
19680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 result
= (arg1
)->GetBackgroundColour();
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19691 wxColour
* resultptr
;
19692 resultptr
= new wxColour((wxColour
&) result
);
19693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19701 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
;
19703 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (arg1
)->GetFont();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 wxFont
* resultptr
;
19722 resultptr
= new wxFont((wxFont
&) result
);
19723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19731 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 wxListItemAttr_Destroy(arg1
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 Py_INCREF(Py_None
); resultobj
= Py_None
;
19756 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19759 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19761 return Py_BuildValue((char *)"");
19763 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxListItem
*result
;
19766 char *kwnames
[] = {
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 result
= (wxListItem
*)new wxListItem();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= wxPyMake_wxObject(result
, 1);
19787 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxListItem
*arg1
= (wxListItem
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxListItem
*arg1
= (wxListItem
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 Py_INCREF(Py_None
); resultobj
= Py_None
;
19837 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxListItem
*arg1
= (wxListItem
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->ClearAttributes();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxListItem
*arg1
= (wxListItem
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self",(char *) "mask", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 arg2
= (long)SWIG_As_long(obj1
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->SetMask(arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxListItem
*arg1
= (wxListItem
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self",(char *) "id", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19904 arg2
= (long)SWIG_As_long(obj1
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->SetId(arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxListItem
*arg1
= (wxListItem
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self",(char *) "col", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= (int)SWIG_As_int(obj1
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 (arg1
)->SetColumn(arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 Py_INCREF(Py_None
); resultobj
= Py_None
;
19949 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxListItem
*arg1
= (wxListItem
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "state", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 arg2
= (long)SWIG_As_long(obj1
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->SetState(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19978 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxListItem
*arg1
= (wxListItem
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self",(char *) "stateMask", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19991 arg2
= (long)SWIG_As_long(obj1
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->SetStateMask(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 Py_INCREF(Py_None
); resultobj
= Py_None
;
20007 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxListItem
*arg1
= (wxListItem
*) 0 ;
20010 wxString
*arg2
= 0 ;
20011 bool temp2
= false ;
20012 PyObject
* obj0
= 0 ;
20013 PyObject
* obj1
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self",(char *) "text", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 arg2
= wxString_in_helper(obj1
);
20023 if (arg2
== NULL
) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 (arg1
)->SetText((wxString
const &)*arg2
);
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxListItem
*arg1
= (wxListItem
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "image", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 arg2
= (int)SWIG_As_int(obj1
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->SetImage(arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 Py_INCREF(Py_None
); resultobj
= Py_None
;
20077 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxListItem
*arg1
= (wxListItem
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self",(char *) "data", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 arg2
= (long)SWIG_As_long(obj1
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->SetData(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxListItem
*arg1
= (wxListItem
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self",(char *) "width", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 arg2
= (int)SWIG_As_int(obj1
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 (arg1
)->SetWidth(arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20135 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxListItem
*arg1
= (wxListItem
*) 0 ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self",(char *) "align", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20148 arg2
= (int)SWIG_As_int(obj1
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxListItem
*arg1
= (wxListItem
*) 0 ;
20167 wxColour
*arg2
= 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "colText", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxListItem
*arg1
= (wxListItem
*) 0 ;
20199 wxColour
*arg2
= 0 ;
20201 PyObject
* obj0
= 0 ;
20202 PyObject
* obj1
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self",(char *) "colBack", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20228 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxListItem
*arg1
= (wxListItem
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self",(char *) "font", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20244 if (arg2
== NULL
) {
20245 PyErr_SetString(PyExc_TypeError
,"null reference");
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 (arg1
)->SetFont((wxFont
const &)*arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 Py_INCREF(Py_None
); resultobj
= Py_None
;
20262 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxListItem
*arg1
= (wxListItem
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 char *kwnames
[] = {
20268 (char *) "self", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",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
= (long)(arg1
)->GetMask();
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 resultobj
= SWIG_From_long((long)result
);
20288 static PyObject
*_wrap_ListItem_GetId(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_GetId",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
= (long)(arg1
)->GetId();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_From_long((long)result
);
20314 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxListItem
*arg1
= (wxListItem
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 result
= (int)(arg1
)->GetColumn();
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_From_int((int)result
);
20340 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
;
20342 wxListItem
*arg1
= (wxListItem
*) 0 ;
20344 PyObject
* obj0
= 0 ;
20345 char *kwnames
[] = {
20346 (char *) "self", NULL
20349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 result
= (long)(arg1
)->GetState();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_From_long((long)result
);
20366 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxListItem
*arg1
= (wxListItem
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 wxString
const &_result_ref
= (arg1
)->GetText();
20382 result
= (wxString
*) &_result_ref
;
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20401 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
;
20403 wxListItem
*arg1
= (wxListItem
*) 0 ;
20405 PyObject
* obj0
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (int)(arg1
)->GetImage();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_From_int((int)result
);
20427 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxListItem
*arg1
= (wxListItem
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (long)(arg1
)->GetData();
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= SWIG_From_long((long)result
);
20453 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 wxListItem
*arg1
= (wxListItem
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (int)(arg1
)->GetWidth();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_From_int((int)result
);
20479 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxListItem
*arg1
= (wxListItem
*) 0 ;
20483 PyObject
* obj0
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (int)(arg1
)->GetAlign();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_From_int((int)result
);
20505 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxListItem
*arg1
= (wxListItem
*) 0 ;
20508 wxListItemAttr
*result
;
20509 PyObject
* obj0
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20531 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxListItem
*arg1
= (wxListItem
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (bool)(arg1
)->HasAttributes();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20559 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxListItem
*arg1
= (wxListItem
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 char *kwnames
[] = {
20565 (char *) "self", NULL
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20579 wxColour
* resultptr
;
20580 resultptr
= new wxColour((wxColour
&) result
);
20581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20589 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20591 wxListItem
*arg1
= (wxListItem
*) 0 ;
20593 PyObject
* obj0
= 0 ;
20594 char *kwnames
[] = {
20595 (char *) "self", NULL
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 wxColour
* resultptr
;
20610 resultptr
= new wxColour((wxColour
&) result
);
20611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20619 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxListItem
*arg1
= (wxListItem
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= ((wxListItem
const *)arg1
)->GetFont();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 wxFont
* resultptr
;
20640 resultptr
= new wxFont((wxFont
&) result
);
20641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20649 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxListItem
*arg1
= (wxListItem
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "m_mask", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 arg2
= (long)SWIG_As_long(obj1
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20664 if (arg1
) (arg1
)->m_mask
= arg2
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxListItem
*arg1
= (wxListItem
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 result
= (long) ((arg1
)->m_mask
);
20687 resultobj
= SWIG_From_long((long)result
);
20694 static PyObject
*_wrap_ListItem_m_itemId_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_itemId", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_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
= (long)SWIG_As_long(obj1
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20709 if (arg1
) (arg1
)->m_itemId
= arg2
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_ListItem_m_itemId_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_itemId_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
= (long) ((arg1
)->m_itemId
);
20732 resultobj
= SWIG_From_long((long)result
);
20739 static PyObject
*_wrap_ListItem_m_col_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_col", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_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
= (int)SWIG_As_int(obj1
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20754 if (arg1
) (arg1
)->m_col
= arg2
;
20756 Py_INCREF(Py_None
); resultobj
= Py_None
;
20763 static PyObject
*_wrap_ListItem_m_col_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_col_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
= (int) ((arg1
)->m_col
);
20777 resultobj
= SWIG_From_int((int)result
);
20784 static PyObject
*_wrap_ListItem_m_state_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_state", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_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
= (long)SWIG_As_long(obj1
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20799 if (arg1
) (arg1
)->m_state
= arg2
;
20801 Py_INCREF(Py_None
); resultobj
= Py_None
;
20808 static PyObject
*_wrap_ListItem_m_state_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_state_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
= (long) ((arg1
)->m_state
);
20822 resultobj
= SWIG_From_long((long)result
);
20829 static PyObject
*_wrap_ListItem_m_stateMask_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_stateMask", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_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
= (long)SWIG_As_long(obj1
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20844 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20846 Py_INCREF(Py_None
); resultobj
= Py_None
;
20853 static PyObject
*_wrap_ListItem_m_stateMask_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_stateMask_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
= (long) ((arg1
)->m_stateMask
);
20867 resultobj
= SWIG_From_long((long)result
);
20874 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxListItem
*arg1
= (wxListItem
*) 0 ;
20877 wxString
*arg2
= (wxString
*) 0 ;
20878 bool temp2
= false ;
20879 PyObject
* obj0
= 0 ;
20880 PyObject
* obj1
= 0 ;
20881 char *kwnames
[] = {
20882 (char *) "self",(char *) "m_text", NULL
20885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20889 arg2
= wxString_in_helper(obj1
);
20890 if (arg2
== NULL
) SWIG_fail
;
20893 if (arg1
) (arg1
)->m_text
= *arg2
;
20895 Py_INCREF(Py_None
); resultobj
= Py_None
;
20910 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxListItem
*arg1
= (wxListItem
*) 0 ;
20914 PyObject
* obj0
= 0 ;
20915 char *kwnames
[] = {
20916 (char *) "self", NULL
20919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 result
= (wxString
*)& ((arg1
)->m_text
);
20926 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20928 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20937 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxListItem
*arg1
= (wxListItem
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self",(char *) "m_image", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20950 arg2
= (int)SWIG_As_int(obj1
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20952 if (arg1
) (arg1
)->m_image
= arg2
;
20954 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxListItem
*arg1
= (wxListItem
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 result
= (int) ((arg1
)->m_image
);
20975 resultobj
= SWIG_From_int((int)result
);
20982 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxListItem
*arg1
= (wxListItem
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "m_data", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= (long)SWIG_As_long(obj1
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20997 if (arg1
) (arg1
)->m_data
= arg2
;
20999 Py_INCREF(Py_None
); resultobj
= Py_None
;
21006 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21007 PyObject
*resultobj
;
21008 wxListItem
*arg1
= (wxListItem
*) 0 ;
21010 PyObject
* obj0
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 result
= (long) ((arg1
)->m_data
);
21020 resultobj
= SWIG_From_long((long)result
);
21027 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxListItem
*arg1
= (wxListItem
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "m_format", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 arg2
= (int)SWIG_As_int(obj1
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21042 if (arg1
) (arg1
)->m_format
= arg2
;
21044 Py_INCREF(Py_None
); resultobj
= Py_None
;
21051 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
;
21053 wxListItem
*arg1
= (wxListItem
*) 0 ;
21055 PyObject
* obj0
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21063 result
= (int) ((arg1
)->m_format
);
21065 resultobj
= SWIG_From_int((int)result
);
21072 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxListItem
*arg1
= (wxListItem
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "m_width", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 arg2
= (int)SWIG_As_int(obj1
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21087 if (arg1
) (arg1
)->m_width
= arg2
;
21089 Py_INCREF(Py_None
); resultobj
= Py_None
;
21096 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxListItem
*arg1
= (wxListItem
*) 0 ;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21108 result
= (int) ((arg1
)->m_width
);
21110 resultobj
= SWIG_From_int((int)result
);
21117 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
21119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21120 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
21122 return Py_BuildValue((char *)"");
21124 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21127 int arg2
= (int) 0 ;
21128 wxListEvent
*result
;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "commandType",(char *) "id", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21137 arg1
= (wxEventType
)SWIG_As_int(obj0
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 arg2
= (int)SWIG_As_int(obj1
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
21158 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self",(char *) "m_code", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 arg2
= (int)SWIG_As_int(obj1
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21173 if (arg1
) (arg1
)->m_code
= arg2
;
21175 Py_INCREF(Py_None
); resultobj
= Py_None
;
21182 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "self", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
21192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 result
= (int) ((arg1
)->m_code
);
21196 resultobj
= SWIG_From_int((int)result
);
21203 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self",(char *) "m_oldItemIndex", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21216 arg2
= (long)SWIG_As_long(obj1
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21218 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
21220 Py_INCREF(Py_None
); resultobj
= Py_None
;
21227 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21239 result
= (long) ((arg1
)->m_oldItemIndex
);
21241 resultobj
= SWIG_From_long((long)result
);
21248 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
;
21250 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "m_itemIndex", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 arg2
= (long)SWIG_As_long(obj1
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21263 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 char *kwnames
[] = {
21278 (char *) "self", NULL
21281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21284 result
= (long) ((arg1
)->m_itemIndex
);
21286 resultobj
= SWIG_From_long((long)result
);
21293 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "m_col", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 arg2
= (int)SWIG_As_int(obj1
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21308 if (arg1
) (arg1
)->m_col
= arg2
;
21310 Py_INCREF(Py_None
); resultobj
= Py_None
;
21317 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21329 result
= (int) ((arg1
)->m_col
);
21331 resultobj
= SWIG_From_int((int)result
);
21338 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21341 wxPoint
*arg2
= (wxPoint
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self",(char *) "m_pointDrag", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21353 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21355 Py_INCREF(Py_None
); resultobj
= Py_None
;
21362 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21366 PyObject
* obj0
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21383 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21386 wxListItem
*result
;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21395 result
= (wxListItem
*)& ((arg1
)->m_item
);
21398 resultobj
= wxPyMake_wxObject(result
, 0);
21406 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (int)(arg1
)->GetKeyCode();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= SWIG_From_int((int)result
);
21432 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (long)(arg1
)->GetIndex();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_From_long((long)result
);
21458 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 char *kwnames
[] = {
21464 (char *) "self", NULL
21467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (int)(arg1
)->GetColumn();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_From_int((int)result
);
21484 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (arg1
)->GetPoint();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 wxPoint
* resultptr
;
21505 resultptr
= new wxPoint((wxPoint
&) result
);
21506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21514 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21518 PyObject
* obj0
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 wxString
const &_result_ref
= (arg1
)->GetLabel();
21530 result
= (wxString
*) &_result_ref
;
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21540 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21549 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 wxString
const &_result_ref
= (arg1
)->GetText();
21565 result
= (wxString
*) &_result_ref
;
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21575 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21584 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 result
= (int)(arg1
)->GetImage();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_From_int((int)result
);
21610 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (long)(arg1
)->GetData();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_From_long((long)result
);
21636 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21637 PyObject
*resultobj
;
21638 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (long)(arg1
)->GetMask();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_long((long)result
);
21662 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21665 wxListItem
*result
;
21666 PyObject
* obj0
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21678 result
= (wxListItem
*) &_result_ref
;
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21691 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (long)(arg1
)->GetCacheFrom();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_From_long((long)result
);
21717 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (long)(arg1
)->GetCacheTo();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_From_long((long)result
);
21743 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21771 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "editCancelled", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 arg2
= (bool)SWIG_As_bool(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 (arg1
)->SetEditCanceled(arg2
);
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 Py_INCREF(Py_None
); resultobj
= Py_None
;
21800 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21803 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21805 return Py_BuildValue((char *)"");
21807 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxWindow
*arg1
= (wxWindow
*) 0 ;
21810 int arg2
= (int) -1 ;
21811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21815 long arg5
= (long) wxLC_ICON
;
21816 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21817 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21818 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21820 wxPyListCtrl
*result
;
21823 bool temp7
= false ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 PyObject
* obj2
= 0 ;
21827 PyObject
* obj3
= 0 ;
21828 PyObject
* obj4
= 0 ;
21829 PyObject
* obj5
= 0 ;
21830 PyObject
* obj6
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 arg2
= (int)SWIG_As_int(obj1
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21855 arg5
= (long)SWIG_As_long(obj4
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21862 if (arg6
== NULL
) {
21863 PyErr_SetString(PyExc_TypeError
,"null reference");
21869 arg7
= wxString_in_helper(obj6
);
21870 if (arg7
== NULL
) SWIG_fail
;
21875 if (!wxPyCheckForApp()) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21897 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxPyListCtrl
*result
;
21900 char *kwnames
[] = {
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21906 if (!wxPyCheckForApp()) SWIG_fail
;
21907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21908 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21920 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
;
21922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21923 wxWindow
*arg2
= (wxWindow
*) 0 ;
21924 int arg3
= (int) -1 ;
21925 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21926 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21927 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21928 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21929 long arg6
= (long) wxLC_ICON
;
21930 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21931 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21932 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21933 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21937 bool temp8
= false ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 PyObject
* obj2
= 0 ;
21941 PyObject
* obj3
= 0 ;
21942 PyObject
* obj4
= 0 ;
21943 PyObject
* obj5
= 0 ;
21944 PyObject
* obj6
= 0 ;
21945 PyObject
* obj7
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 arg3
= (int)SWIG_As_int(obj2
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21972 arg6
= (long)SWIG_As_long(obj5
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21976 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21979 if (arg7
== NULL
) {
21980 PyErr_SetString(PyExc_TypeError
,"null reference");
21986 arg8
= wxString_in_helper(obj7
);
21987 if (arg8
== NULL
) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22015 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22018 PyObject
*arg2
= (PyObject
*) 0 ;
22019 PyObject
*arg3
= (PyObject
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "self",(char *) "_class", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 Py_INCREF(Py_None
); resultobj
= Py_None
;
22046 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22049 wxColour
*arg2
= 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "col", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22081 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22084 wxColour
*arg2
= 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "col", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
;
22118 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22120 wxListItem
*result
;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "col", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 arg2
= (int)SWIG_As_int(obj1
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= wxPyMake_wxObject(result
, 0);
22148 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22152 wxListItem
*arg3
= 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self",(char *) "col",(char *) "item", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22164 arg2
= (int)SWIG_As_int(obj1
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22166 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22169 if (arg3
== NULL
) {
22170 PyErr_SetString(PyExc_TypeError
,"null reference");
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 PyObject
* obj1
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self",(char *) "col", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22203 arg2
= (int)SWIG_As_int(obj1
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_From_int((int)result
);
22219 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "col",(char *) "width", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 arg2
= (int)SWIG_As_int(obj1
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22237 arg3
= (int)SWIG_As_int(obj2
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22255 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22271 wxPyEndAllowThreads(__tstate
);
22272 if (PyErr_Occurred()) SWIG_fail
;
22274 resultobj
= SWIG_From_int((int)result
);
22281 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 wxRect
* resultptr
;
22302 resultptr
= new wxRect((wxRect
&) result
);
22303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22311 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22315 int arg3
= (int) 0 ;
22316 wxListItem
*result
;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "itemId",(char *) "col", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22327 arg2
= (long)SWIG_As_long(obj1
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 arg3
= (int)SWIG_As_int(obj2
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= wxPyMake_wxObject(result
, 0);
22349 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22352 wxListItem
*arg2
= 0 ;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self",(char *) "info", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22366 if (arg2
== NULL
) {
22367 PyErr_SetString(PyExc_TypeError
,"null reference");
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (bool)(arg1
)->SetItem(*arg2
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22386 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22391 wxString
*arg4
= 0 ;
22392 int arg5
= (int) -1 ;
22394 bool temp4
= false ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 PyObject
* obj2
= 0 ;
22398 PyObject
* obj3
= 0 ;
22399 PyObject
* obj4
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg2
= (long)SWIG_As_long(obj1
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22409 arg3
= (int)SWIG_As_int(obj2
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 arg4
= wxString_in_helper(obj3
);
22413 if (arg4
== NULL
) SWIG_fail
;
22417 arg5
= (int)SWIG_As_int(obj4
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_long((long)result
);
22442 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 arg2
= (long)SWIG_As_long(obj1
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22460 arg3
= (long)SWIG_As_long(obj2
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_From_int((int)result
);
22476 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 PyObject
* obj2
= 0 ;
22486 PyObject
* obj3
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 arg2
= (long)SWIG_As_long(obj1
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22496 arg3
= (long)SWIG_As_long(obj2
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22498 arg4
= (long)SWIG_As_long(obj3
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22516 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22521 int arg4
= (int) -1 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 PyObject
* obj2
= 0 ;
22526 PyObject
* obj3
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 arg2
= (long)SWIG_As_long(obj1
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22536 arg3
= (int)SWIG_As_int(obj2
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 arg4
= (int)SWIG_As_int(obj3
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22558 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "item", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 arg2
= (long)SWIG_As_long(obj1
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22594 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22598 wxString
*arg3
= 0 ;
22599 bool temp3
= false ;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 PyObject
* obj2
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "item",(char *) "str", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22610 arg2
= (long)SWIG_As_long(obj1
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 arg3
= wxString_in_helper(obj2
);
22614 if (arg3
== NULL
) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self",(char *) "item", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22653 arg2
= (long)SWIG_As_long(obj1
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_long((long)result
);
22669 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 PyObject
* obj2
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self",(char *) "item",(char *) "data", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22685 arg2
= (long)SWIG_As_long(obj1
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22687 arg3
= (long)SWIG_As_long(obj2
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22705 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "item", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 arg2
= (long)SWIG_As_long(obj1
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 wxPoint
* resultptr
;
22730 resultptr
= new wxPoint((wxPoint
&) result
);
22731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22739 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22743 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22745 PyObject
* obj0
= 0 ;
22746 PyObject
* obj1
= 0 ;
22747 PyObject
* obj2
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self",(char *) "item",(char *) "code", NULL
22752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22755 arg2
= (long)SWIG_As_long(obj1
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 arg3
= (int)SWIG_As_int(obj2
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 wxRect
* resultptr
;
22770 resultptr
= new wxRect((wxRect
&) result
);
22771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22779 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22783 wxPoint
*arg3
= 0 ;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 PyObject
* obj2
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "item",(char *) "pos", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 arg2
= (long)SWIG_As_long(obj1
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22818 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
;
22820 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_From_int((int)result
);
22844 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_From_int((int)result
);
22870 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22872 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22874 PyObject
* obj0
= 0 ;
22875 char *kwnames
[] = {
22876 (char *) "self", NULL
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 wxSize
* resultptr
;
22891 resultptr
= new wxSize((wxSize
&) result
);
22892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22900 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22904 bool arg3
= (bool) false ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22915 arg2
= (int)SWIG_As_int(obj1
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 arg3
= (bool)SWIG_As_bool(obj2
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->SetItemSpacing(arg2
,arg3
);
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 Py_INCREF(Py_None
); resultobj
= Py_None
;
22935 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22939 PyObject
* obj0
= 0 ;
22940 char *kwnames
[] = {
22941 (char *) "self", NULL
22944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_From_int((int)result
);
22961 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22981 wxColour
* resultptr
;
22982 resultptr
= new wxColour((wxColour
&) result
);
22983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22991 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22994 wxColour
*arg2
= 0 ;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self",(char *) "col", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 Py_INCREF(Py_None
); resultobj
= Py_None
;
23023 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_From_long((long)result
);
23049 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23053 bool arg3
= (bool) true ;
23054 PyObject
* obj0
= 0 ;
23055 PyObject
* obj1
= 0 ;
23056 PyObject
* obj2
= 0 ;
23057 char *kwnames
[] = {
23058 (char *) "self",(char *) "style",(char *) "add", NULL
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23064 arg2
= (long)SWIG_As_long(obj1
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 arg3
= (bool)SWIG_As_bool(obj2
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 (arg1
)->SetSingleStyle(arg2
,arg3
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "style", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23097 arg2
= (long)SWIG_As_long(obj1
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->SetWindowStyleFlag(arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23117 int arg3
= (int) wxLIST_NEXT_ALL
;
23118 int arg4
= (int) wxLIST_STATE_DONTCARE
;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 PyObject
* obj2
= 0 ;
23123 PyObject
* obj3
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23131 arg2
= (long)SWIG_As_long(obj1
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 arg3
= (int)SWIG_As_int(obj2
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 arg4
= (int)SWIG_As_int(obj3
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_From_long((long)result
);
23155 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23159 wxImageList
*result
;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self",(char *) "which", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 arg2
= (int)SWIG_As_int(obj1
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= wxPyMake_wxObject(result
, 0);
23187 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23190 wxImageList
*arg2
= (wxImageList
*) 0 ;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 PyObject
* obj2
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self",(char *) "imageList",(char *) "which", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 arg3
= (int)SWIG_As_int(obj2
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetImageList(arg2
,arg3
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 Py_INCREF(Py_None
); resultobj
= Py_None
;
23220 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23223 wxImageList
*arg2
= (wxImageList
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 PyObject
* obj2
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "imageList",(char *) "which", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23236 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23237 arg3
= (int)SWIG_As_int(obj2
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 (arg1
)->AssignImageList(arg2
,arg3
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 Py_INCREF(Py_None
); resultobj
= Py_None
;
23253 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23281 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",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 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23309 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 PyObject
* obj1
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self",(char *) "item", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 arg2
= (long)SWIG_As_long(obj1
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->RefreshItem(arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 PyObject
* obj2
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23353 arg2
= (long)SWIG_As_long(obj1
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23355 arg3
= (long)SWIG_As_long(obj2
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 (arg1
)->RefreshItems(arg2
,arg3
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 Py_INCREF(Py_None
); resultobj
= Py_None
;
23371 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23374 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "flag", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23386 arg2
= (int)SWIG_As_int(obj1
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (bool)(arg1
)->Arrange(arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23405 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self",(char *) "item", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23419 arg2
= (long)SWIG_As_long(obj1
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (bool)(arg1
)->DeleteItem(arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23437 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 result
= (bool)(arg1
)->DeleteAllItems();
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23465 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "col", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23479 arg2
= (int)SWIG_As_int(obj1
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23497 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (bool)(arg1
)->DeleteAllColumns();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23525 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->ClearAll();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self",(char *) "item", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23563 arg2
= (long)SWIG_As_long(obj1
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 (arg1
)->EditLabel(arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 Py_INCREF(Py_None
); resultobj
= Py_None
;
23579 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "item", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23593 arg2
= (long)SWIG_As_long(obj1
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23611 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
;
23613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23615 wxString
*arg3
= 0 ;
23616 bool arg4
= (bool) false ;
23618 bool temp3
= false ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 PyObject
* obj2
= 0 ;
23622 PyObject
* obj3
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23630 arg2
= (long)SWIG_As_long(obj1
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 arg3
= wxString_in_helper(obj2
);
23634 if (arg3
== NULL
) SWIG_fail
;
23638 arg4
= (bool)SWIG_As_bool(obj3
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_From_long((long)result
);
23663 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23669 PyObject
* obj0
= 0 ;
23670 PyObject
* obj1
= 0 ;
23671 PyObject
* obj2
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "start",(char *) "data", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23679 arg2
= (long)SWIG_As_long(obj1
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23681 arg3
= (long)SWIG_As_long(obj2
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_From_long((long)result
);
23697 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23701 wxPoint
*arg3
= 0 ;
23705 PyObject
* obj0
= 0 ;
23706 PyObject
* obj1
= 0 ;
23707 PyObject
* obj2
= 0 ;
23708 PyObject
* obj3
= 0 ;
23709 char *kwnames
[] = {
23710 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23716 arg2
= (long)SWIG_As_long(obj1
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23722 arg4
= (int)SWIG_As_int(obj3
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_From_long((long)result
);
23738 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
;
23740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23741 wxPoint
*arg2
= 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "point", NULL
23753 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_From_long((long)result
);
23769 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23770 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23777 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23780 wxListItem
*arg2
= 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "info", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23794 if (arg2
== NULL
) {
23795 PyErr_SetString(PyExc_TypeError
,"null reference");
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (long)(arg1
)->InsertItem(*arg2
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_From_long((long)result
);
23812 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23816 wxString
*arg3
= 0 ;
23818 bool temp3
= false ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 PyObject
* obj2
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "index",(char *) "label", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23829 arg2
= (long)SWIG_As_long(obj1
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 arg3
= wxString_in_helper(obj2
);
23833 if (arg3
== NULL
) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_long((long)result
);
23858 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23866 PyObject
* obj2
= 0 ;
23867 char *kwnames
[] = {
23868 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23874 arg2
= (long)SWIG_As_long(obj1
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23876 arg3
= (int)SWIG_As_int(obj2
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_From_long((long)result
);
23892 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23896 wxString
*arg3
= 0 ;
23899 bool temp3
= false ;
23900 PyObject
* obj0
= 0 ;
23901 PyObject
* obj1
= 0 ;
23902 PyObject
* obj2
= 0 ;
23903 PyObject
* obj3
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= wxString_in_helper(obj2
);
23915 if (arg3
== NULL
) SWIG_fail
;
23918 arg4
= (int)SWIG_As_int(obj3
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_From_long((long)result
);
23942 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23946 wxListItem
*arg3
= 0 ;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23950 PyObject
* obj2
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "col",(char *) "info", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 arg2
= (long)SWIG_As_long(obj1
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23960 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23963 if (arg3
== NULL
) {
23964 PyErr_SetString(PyExc_TypeError
,"null reference");
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_From_long((long)result
);
23981 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23985 wxString
*arg3
= 0 ;
23986 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23987 int arg5
= (int) -1 ;
23989 bool temp3
= false ;
23990 PyObject
* obj0
= 0 ;
23991 PyObject
* obj1
= 0 ;
23992 PyObject
* obj2
= 0 ;
23993 PyObject
* obj3
= 0 ;
23994 PyObject
* obj4
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24002 arg2
= (long)SWIG_As_long(obj1
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 arg3
= wxString_in_helper(obj2
);
24006 if (arg3
== NULL
) SWIG_fail
;
24010 arg4
= (int)SWIG_As_int(obj3
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24014 arg5
= (int)SWIG_As_int(obj4
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= SWIG_From_long((long)result
);
24039 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "count", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 arg2
= (long)SWIG_As_long(obj1
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 (arg1
)->SetItemCount(arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 Py_INCREF(Py_None
); resultobj
= Py_None
;
24068 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 PyObject
* obj2
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "dx",(char *) "dy", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 arg2
= (int)SWIG_As_int(obj1
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24086 arg3
= (int)SWIG_As_int(obj2
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24104 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24108 wxColour
*arg3
= 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 PyObject
* obj2
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "item",(char *) "col", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 arg2
= (long)SWIG_As_long(obj1
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24124 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24133 Py_INCREF(Py_None
); resultobj
= Py_None
;
24140 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self",(char *) "item", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 arg2
= (long)SWIG_As_long(obj1
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 wxColour
* resultptr
;
24165 resultptr
= new wxColour((wxColour
&) result
);
24166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24174 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24178 wxColour
*arg3
= 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 PyObject
* obj2
= 0 ;
24183 char *kwnames
[] = {
24184 (char *) "self",(char *) "item",(char *) "col", NULL
24187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24190 arg2
= (long)SWIG_As_long(obj1
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24203 Py_INCREF(Py_None
); resultobj
= Py_None
;
24210 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self",(char *) "item", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 arg2
= (long)SWIG_As_long(obj1
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 wxColour
* resultptr
;
24235 resultptr
= new wxColour((wxColour
&) result
);
24236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24244 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24247 PyObject
*arg2
= (PyObject
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "func", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24275 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= wxPyMake_wxObject(result
, 0);
24303 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24306 wxVisualAttributes result
;
24307 PyObject
* obj0
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "variant", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24314 arg1
= (int)SWIG_As_int(obj0
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 if (!wxPyCheckForApp()) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 wxVisualAttributes
* resultptr
;
24327 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24336 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24339 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24341 return Py_BuildValue((char *)"");
24343 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxWindow
*arg1
= (wxWindow
*) 0 ;
24346 int arg2
= (int) -1 ;
24347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24351 long arg5
= (long) wxLC_REPORT
;
24352 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24353 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24354 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24356 wxListView
*result
;
24359 bool temp7
= false ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 PyObject
* obj2
= 0 ;
24363 PyObject
* obj3
= 0 ;
24364 PyObject
* obj4
= 0 ;
24365 PyObject
* obj5
= 0 ;
24366 PyObject
* obj6
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 arg2
= (int)SWIG_As_int(obj1
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24391 arg5
= (long)SWIG_As_long(obj4
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24395 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24398 if (arg6
== NULL
) {
24399 PyErr_SetString(PyExc_TypeError
,"null reference");
24405 arg7
= wxString_in_helper(obj6
);
24406 if (arg7
== NULL
) SWIG_fail
;
24411 if (!wxPyCheckForApp()) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24433 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxListView
*result
;
24436 char *kwnames
[] = {
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24442 if (!wxPyCheckForApp()) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (wxListView
*)new wxListView();
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24456 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxListView
*arg1
= (wxListView
*) 0 ;
24459 wxWindow
*arg2
= (wxWindow
*) 0 ;
24460 int arg3
= (int) -1 ;
24461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24465 long arg6
= (long) wxLC_REPORT
;
24466 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24467 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24468 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24473 bool temp8
= false ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 PyObject
* obj2
= 0 ;
24477 PyObject
* obj3
= 0 ;
24478 PyObject
* obj4
= 0 ;
24479 PyObject
* obj5
= 0 ;
24480 PyObject
* obj6
= 0 ;
24481 PyObject
* obj7
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24492 arg3
= (int)SWIG_As_int(obj2
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24498 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24504 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24508 arg6
= (long)SWIG_As_long(obj5
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24515 if (arg7
== NULL
) {
24516 PyErr_SetString(PyExc_TypeError
,"null reference");
24522 arg8
= wxString_in_helper(obj7
);
24523 if (arg8
== NULL
) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24551 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxListView
*arg1
= (wxListView
*) 0 ;
24555 bool arg3
= (bool) true ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 PyObject
* obj2
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "self",(char *) "n",(char *) "on", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24566 arg2
= (long)SWIG_As_long(obj1
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 arg3
= (bool)SWIG_As_bool(obj2
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 (arg1
)->Select(arg2
,arg3
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 Py_INCREF(Py_None
); resultobj
= Py_None
;
24586 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxListView
*arg1
= (wxListView
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 char *kwnames
[] = {
24593 (char *) "self",(char *) "index", NULL
24596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24599 arg2
= (long)SWIG_As_long(obj1
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 (arg1
)->Focus(arg2
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 Py_INCREF(Py_None
); resultobj
= Py_None
;
24615 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxListView
*arg1
= (wxListView
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_From_long((long)result
);
24641 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxListView
*arg1
= (wxListView
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 PyObject
* obj1
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "item", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 arg2
= (long)SWIG_As_long(obj1
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_From_long((long)result
);
24671 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxListView
*arg1
= (wxListView
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_From_long((long)result
);
24697 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxListView
*arg1
= (wxListView
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "index", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24711 arg2
= (long)SWIG_As_long(obj1
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 result
= (bool)(arg1
)->IsSelected(arg2
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24729 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxListView
*arg1
= (wxListView
*) 0 ;
24734 PyObject
* obj0
= 0 ;
24735 PyObject
* obj1
= 0 ;
24736 PyObject
* obj2
= 0 ;
24737 char *kwnames
[] = {
24738 (char *) "self",(char *) "col",(char *) "image", NULL
24741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24744 arg2
= (int)SWIG_As_int(obj1
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24746 arg3
= (int)SWIG_As_int(obj2
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->SetColumnImage(arg2
,arg3
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 Py_INCREF(Py_None
); resultobj
= Py_None
;
24762 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24763 PyObject
*resultobj
;
24764 wxListView
*arg1
= (wxListView
*) 0 ;
24766 PyObject
* obj0
= 0 ;
24767 PyObject
* obj1
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "col", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24775 arg2
= (int)SWIG_As_int(obj1
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24779 (arg1
)->ClearColumnImage(arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 Py_INCREF(Py_None
); resultobj
= Py_None
;
24791 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24794 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24796 return Py_BuildValue((char *)"");
24798 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24799 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24804 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24809 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24811 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24818 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxTreeItemId
*result
;
24821 char *kwnames
[] = {
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 result
= (wxTreeItemId
*)new wxTreeItemId();
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24840 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24865 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24893 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24896 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self",(char *) "other", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24925 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24928 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "other", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24957 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24960 void *arg2
= (void *) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self",(char *) "m_pItem", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24971 if (arg1
) (arg1
)->m_pItem
= arg2
;
24973 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 result
= (void *) ((arg1
)->m_pItem
);
24994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
25001 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
25003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25004 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
25006 return Py_BuildValue((char *)"");
25008 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
;
25010 PyObject
*arg1
= (PyObject
*) NULL
;
25011 wxPyTreeItemData
*result
;
25012 PyObject
* obj0
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "obj", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
25035 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (PyObject
*)(arg1
)->GetData();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 resultobj
= result
;
25061 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25064 PyObject
*arg2
= (PyObject
*) 0 ;
25065 PyObject
* obj0
= 0 ;
25066 PyObject
* obj1
= 0 ;
25067 char *kwnames
[] = {
25068 (char *) "self",(char *) "obj", NULL
25071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 (arg1
)->SetData(arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 Py_INCREF(Py_None
); resultobj
= Py_None
;
25089 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25092 wxTreeItemId
*result
;
25093 PyObject
* obj0
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
25099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
25105 result
= (wxTreeItemId
*) &_result_ref
;
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
25118 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25121 wxTreeItemId
*arg2
= 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self",(char *) "id", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25134 if (arg2
== NULL
) {
25135 PyErr_SetString(PyExc_TypeError
,"null reference");
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 Py_INCREF(Py_None
); resultobj
= Py_None
;
25152 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25155 PyObject
* obj0
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 wxPyTreeItemData_Destroy(arg1
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
25179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25180 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
25182 return Py_BuildValue((char *)"");
25184 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
;
25186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25187 int arg2
= (int) 0 ;
25188 wxTreeEvent
*result
;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char *kwnames
[] = {
25192 (char *) "commandType",(char *) "id", NULL
25195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25197 arg1
= (wxEventType
)SWIG_As_int(obj0
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 arg2
= (int)SWIG_As_int(obj1
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
25218 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
;
25220 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25221 wxTreeItemId result
;
25222 PyObject
* obj0
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "self", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
25228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 wxTreeItemId
* resultptr
;
25239 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25248 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25251 wxTreeItemId
*arg2
= 0 ;
25252 PyObject
* obj0
= 0 ;
25253 PyObject
* obj1
= 0 ;
25254 char *kwnames
[] = {
25255 (char *) "self",(char *) "item", NULL
25258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25264 if (arg2
== NULL
) {
25265 PyErr_SetString(PyExc_TypeError
,"null reference");
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25285 wxTreeItemId result
;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 wxTreeItemId
* resultptr
;
25303 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25312 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25315 wxTreeItemId
*arg2
= 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self",(char *) "item", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25328 if (arg2
== NULL
) {
25329 PyErr_SetString(PyExc_TypeError
,"null reference");
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25366 wxPoint
* resultptr
;
25367 resultptr
= new wxPoint((wxPoint
&) result
);
25368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25376 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25379 wxPoint
*arg2
= 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self",(char *) "pt", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 Py_INCREF(Py_None
); resultobj
= Py_None
;
25408 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25411 wxKeyEvent
*result
;
25412 PyObject
* obj0
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25424 result
= (wxKeyEvent
*) &_result_ref
;
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25437 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 char *kwnames
[] = {
25443 (char *) "self", NULL
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_From_int((int)result
);
25463 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25466 wxKeyEvent
*arg2
= 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self",(char *) "evt", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25479 if (arg2
== NULL
) {
25480 PyErr_SetString(PyExc_TypeError
,"null reference");
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 Py_INCREF(Py_None
); resultobj
= Py_None
;
25497 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25513 result
= (wxString
*) &_result_ref
;
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25523 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25532 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
;
25534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25535 wxString
*arg2
= 0 ;
25536 bool temp2
= false ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "label", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 arg2
= wxString_in_helper(obj1
);
25548 if (arg2
== NULL
) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->SetLabel((wxString
const &)*arg2
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25573 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25577 PyObject
* obj0
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25601 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self",(char *) "editCancelled", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25614 arg2
= (bool)SWIG_As_bool(obj1
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 (arg1
)->SetEditCanceled(arg2
);
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 Py_INCREF(Py_None
); resultobj
= Py_None
;
25630 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25633 wxString
*arg2
= 0 ;
25634 bool temp2
= false ;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "toolTip", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 arg2
= wxString_in_helper(obj1
);
25646 if (arg2
== NULL
) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25674 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25676 return Py_BuildValue((char *)"");
25678 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxWindow
*arg1
= (wxWindow
*) 0 ;
25681 int arg2
= (int) -1 ;
25682 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25683 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25684 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25685 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25686 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25687 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25688 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25689 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25690 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25691 wxPyTreeCtrl
*result
;
25694 bool temp7
= false ;
25695 PyObject
* obj0
= 0 ;
25696 PyObject
* obj1
= 0 ;
25697 PyObject
* obj2
= 0 ;
25698 PyObject
* obj3
= 0 ;
25699 PyObject
* obj4
= 0 ;
25700 PyObject
* obj5
= 0 ;
25701 PyObject
* obj6
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 arg2
= (int)SWIG_As_int(obj1
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25726 arg5
= (long)SWIG_As_long(obj4
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25733 if (arg6
== NULL
) {
25734 PyErr_SetString(PyExc_TypeError
,"null reference");
25740 arg7
= wxString_in_helper(obj6
);
25741 if (arg7
== NULL
) SWIG_fail
;
25746 if (!wxPyCheckForApp()) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25768 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyTreeCtrl
*result
;
25771 char *kwnames
[] = {
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25777 if (!wxPyCheckForApp()) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25791 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25794 wxWindow
*arg2
= (wxWindow
*) 0 ;
25795 int arg3
= (int) -1 ;
25796 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25797 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25798 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25799 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25800 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25801 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25802 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25803 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25804 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25808 bool temp8
= false ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 PyObject
* obj2
= 0 ;
25812 PyObject
* obj3
= 0 ;
25813 PyObject
* obj4
= 0 ;
25814 PyObject
* obj5
= 0 ;
25815 PyObject
* obj6
= 0 ;
25816 PyObject
* obj7
= 0 ;
25817 char *kwnames
[] = {
25818 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 arg3
= (int)SWIG_As_int(obj2
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25833 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25839 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25843 arg6
= (long)SWIG_As_long(obj5
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25847 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25850 if (arg7
== NULL
) {
25851 PyErr_SetString(PyExc_TypeError
,"null reference");
25857 arg8
= wxString_in_helper(obj7
);
25858 if (arg8
== NULL
) SWIG_fail
;
25863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25886 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25889 PyObject
*arg2
= (PyObject
*) 0 ;
25890 PyObject
*arg3
= (PyObject
*) 0 ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 PyObject
* obj2
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "self",(char *) "_class", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 Py_INCREF(Py_None
); resultobj
= Py_None
;
25917 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
;
25919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25921 PyObject
* obj0
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25943 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25946 unsigned int result
;
25947 PyObject
* obj0
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25969 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25972 unsigned int arg2
;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "indent", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->SetIndent(arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26001 unsigned int result
;
26002 PyObject
* obj0
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
26008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
26024 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 unsigned int arg2
;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "spacing", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26041 (arg1
)->SetSpacing(arg2
);
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 Py_INCREF(Py_None
); resultobj
= Py_None
;
26053 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26056 wxImageList
*result
;
26057 PyObject
* obj0
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= wxPyMake_wxObject(result
, 0);
26081 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26084 wxImageList
*result
;
26085 PyObject
* obj0
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= wxPyMake_wxObject(result
, 0);
26109 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26112 wxImageList
*arg2
= (wxImageList
*) 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "imageList", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 (arg1
)->SetImageList(arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 Py_INCREF(Py_None
); resultobj
= Py_None
;
26138 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26141 wxImageList
*arg2
= (wxImageList
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "imageList", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->SetStateImageList(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26170 wxImageList
*arg2
= (wxImageList
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char *kwnames
[] = {
26174 (char *) "self",(char *) "imageList", NULL
26177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26181 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 (arg1
)->AssignImageList(arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 Py_INCREF(Py_None
); resultobj
= Py_None
;
26196 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26199 wxImageList
*arg2
= (wxImageList
*) 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "imageList", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26210 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 (arg1
)->AssignStateImageList(arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 Py_INCREF(Py_None
); resultobj
= Py_None
;
26225 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26228 wxTreeItemId
*arg2
= 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "item", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26242 if (arg2
== NULL
) {
26243 PyErr_SetString(PyExc_TypeError
,"null reference");
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26266 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26269 wxTreeItemId
*arg2
= 0 ;
26270 int arg3
= (int) wxTreeItemIcon_Normal
;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self",(char *) "item",(char *) "which", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26285 if (arg2
== NULL
) {
26286 PyErr_SetString(PyExc_TypeError
,"null reference");
26290 arg3
= (int)SWIG_As_int(obj2
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_From_int((int)result
);
26307 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
;
26309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26310 wxTreeItemId
*arg2
= 0 ;
26311 wxPyTreeItemData
*result
;
26312 PyObject
* obj0
= 0 ;
26313 PyObject
* obj1
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self",(char *) "item", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26324 if (arg2
== NULL
) {
26325 PyErr_SetString(PyExc_TypeError
,"null reference");
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26342 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26345 wxTreeItemId
*arg2
= 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self",(char *) "item", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26359 if (arg2
== NULL
) {
26360 PyErr_SetString(PyExc_TypeError
,"null reference");
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
;
26377 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
;
26379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26380 wxTreeItemId
*arg2
= 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "item", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26394 if (arg2
== NULL
) {
26395 PyErr_SetString(PyExc_TypeError
,"null reference");
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 wxColour
* resultptr
;
26407 resultptr
= new wxColour((wxColour
&) result
);
26408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26416 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26419 wxTreeItemId
*arg2
= 0 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "item", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26433 if (arg2
== NULL
) {
26434 PyErr_SetString(PyExc_TypeError
,"null reference");
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26445 wxColour
* resultptr
;
26446 resultptr
= new wxColour((wxColour
&) result
);
26447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26455 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 wxTreeItemId
*arg2
= 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "item", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26472 if (arg2
== NULL
) {
26473 PyErr_SetString(PyExc_TypeError
,"null reference");
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26484 wxFont
* resultptr
;
26485 resultptr
= new wxFont((wxFont
&) result
);
26486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26494 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26497 wxTreeItemId
*arg2
= 0 ;
26498 wxString
*arg3
= 0 ;
26499 bool temp3
= false ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 PyObject
* obj2
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "item",(char *) "text", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26513 if (arg2
== NULL
) {
26514 PyErr_SetString(PyExc_TypeError
,"null reference");
26518 arg3
= wxString_in_helper(obj2
);
26519 if (arg3
== NULL
) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 Py_INCREF(Py_None
); resultobj
= Py_None
;
26544 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26547 wxTreeItemId
*arg2
= 0 ;
26549 int arg4
= (int) wxTreeItemIcon_Normal
;
26550 PyObject
* obj0
= 0 ;
26551 PyObject
* obj1
= 0 ;
26552 PyObject
* obj2
= 0 ;
26553 PyObject
* obj3
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26564 if (arg2
== NULL
) {
26565 PyErr_SetString(PyExc_TypeError
,"null reference");
26568 arg3
= (int)SWIG_As_int(obj2
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 arg4
= (int)SWIG_As_int(obj3
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 Py_INCREF(Py_None
); resultobj
= Py_None
;
26588 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26589 PyObject
*resultobj
;
26590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26591 wxTreeItemId
*arg2
= 0 ;
26592 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 PyObject
* obj2
= 0 ;
26596 char *kwnames
[] = {
26597 (char *) "self",(char *) "item",(char *) "data", NULL
26600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26606 if (arg2
== NULL
) {
26607 PyErr_SetString(PyExc_TypeError
,"null reference");
26610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 Py_INCREF(Py_None
); resultobj
= Py_None
;
26626 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
;
26628 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26629 wxTreeItemId
*arg2
= 0 ;
26630 PyObject
*arg3
= (PyObject
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 PyObject
* obj2
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "item",(char *) "obj", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26644 if (arg2
== NULL
) {
26645 PyErr_SetString(PyExc_TypeError
,"null reference");
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 Py_INCREF(Py_None
); resultobj
= Py_None
;
26663 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26666 wxTreeItemId
*arg2
= 0 ;
26667 bool arg3
= (bool) true ;
26668 PyObject
* obj0
= 0 ;
26669 PyObject
* obj1
= 0 ;
26670 PyObject
* obj2
= 0 ;
26671 char *kwnames
[] = {
26672 (char *) "self",(char *) "item",(char *) "has", NULL
26675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26681 if (arg2
== NULL
) {
26682 PyErr_SetString(PyExc_TypeError
,"null reference");
26686 arg3
= (bool)SWIG_As_bool(obj2
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 Py_INCREF(Py_None
); resultobj
= Py_None
;
26703 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26706 wxTreeItemId
*arg2
= 0 ;
26707 bool arg3
= (bool) true ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 PyObject
* obj2
= 0 ;
26711 char *kwnames
[] = {
26712 (char *) "self",(char *) "item",(char *) "bold", NULL
26715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26721 if (arg2
== NULL
) {
26722 PyErr_SetString(PyExc_TypeError
,"null reference");
26726 arg3
= (bool)SWIG_As_bool(obj2
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 Py_INCREF(Py_None
); resultobj
= Py_None
;
26743 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26746 wxTreeItemId
*arg2
= 0 ;
26747 wxColour
*arg3
= 0 ;
26749 PyObject
* obj0
= 0 ;
26750 PyObject
* obj1
= 0 ;
26751 PyObject
* obj2
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self",(char *) "item",(char *) "col", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26762 if (arg2
== NULL
) {
26763 PyErr_SetString(PyExc_TypeError
,"null reference");
26768 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 Py_INCREF(Py_None
); resultobj
= Py_None
;
26784 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26787 wxTreeItemId
*arg2
= 0 ;
26788 wxColour
*arg3
= 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 PyObject
* obj2
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self",(char *) "item",(char *) "col", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26803 if (arg2
== NULL
) {
26804 PyErr_SetString(PyExc_TypeError
,"null reference");
26809 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26813 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 Py_INCREF(Py_None
); resultobj
= Py_None
;
26825 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26828 wxTreeItemId
*arg2
= 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "item",(char *) "font", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26843 if (arg2
== NULL
) {
26844 PyErr_SetString(PyExc_TypeError
,"null reference");
26847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26850 if (arg3
== NULL
) {
26851 PyErr_SetString(PyExc_TypeError
,"null reference");
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 Py_INCREF(Py_None
); resultobj
= Py_None
;
26868 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26871 wxTreeItemId
*arg2
= 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "item", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26885 if (arg2
== NULL
) {
26886 PyErr_SetString(PyExc_TypeError
,"null reference");
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26893 wxPyEndAllowThreads(__tstate
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26905 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26908 wxTreeItemId
*arg2
= 0 ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self",(char *) "item", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26922 if (arg2
== NULL
) {
26923 PyErr_SetString(PyExc_TypeError
,"null reference");
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26942 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26945 wxTreeItemId
*arg2
= 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "item", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26959 if (arg2
== NULL
) {
26960 PyErr_SetString(PyExc_TypeError
,"null reference");
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26979 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26982 wxTreeItemId
*arg2
= 0 ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "item", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26996 if (arg2
== NULL
) {
26997 PyErr_SetString(PyExc_TypeError
,"null reference");
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27016 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27019 wxTreeItemId
*arg2
= 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "item", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27033 if (arg2
== NULL
) {
27034 PyErr_SetString(PyExc_TypeError
,"null reference");
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27053 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27056 wxTreeItemId
*arg2
= 0 ;
27057 bool arg3
= (bool) true ;
27059 PyObject
* obj0
= 0 ;
27060 PyObject
* obj1
= 0 ;
27061 PyObject
* obj2
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "self",(char *) "item",(char *) "recursively", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27072 if (arg2
== NULL
) {
27073 PyErr_SetString(PyExc_TypeError
,"null reference");
27077 arg3
= (bool)SWIG_As_bool(obj2
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
27094 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27097 wxTreeItemId result
;
27098 PyObject
* obj0
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 wxTreeItemId
* resultptr
;
27115 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27124 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27127 wxTreeItemId result
;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 wxTreeItemId
* resultptr
;
27145 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27154 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27155 PyObject
*resultobj
;
27156 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 char *kwnames
[] = {
27160 (char *) "self", NULL
27163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
27164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= result
;
27180 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27183 wxTreeItemId
*arg2
= 0 ;
27184 wxTreeItemId result
;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "item", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27197 if (arg2
== NULL
) {
27198 PyErr_SetString(PyExc_TypeError
,"null reference");
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 wxTreeItemId
* resultptr
;
27210 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27219 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27220 PyObject
*resultobj
;
27221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27222 wxTreeItemId
*arg2
= 0 ;
27224 PyObject
* obj0
= 0 ;
27225 PyObject
* obj1
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "item", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27236 if (arg2
== NULL
) {
27237 PyErr_SetString(PyExc_TypeError
,"null reference");
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= result
;
27254 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27257 wxTreeItemId
*arg2
= 0 ;
27258 void *arg3
= (void *) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 PyObject
* obj2
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "item",(char *) "cookie", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27273 if (arg2
== NULL
) {
27274 PyErr_SetString(PyExc_TypeError
,"null reference");
27277 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= result
;
27292 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27295 wxTreeItemId
*arg2
= 0 ;
27296 wxTreeItemId result
;
27297 PyObject
* obj0
= 0 ;
27298 PyObject
* obj1
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self",(char *) "item", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27309 if (arg2
== NULL
) {
27310 PyErr_SetString(PyExc_TypeError
,"null reference");
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 wxTreeItemId
* resultptr
;
27322 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27331 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27334 wxTreeItemId
*arg2
= 0 ;
27335 wxTreeItemId result
;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "item", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27348 if (arg2
== NULL
) {
27349 PyErr_SetString(PyExc_TypeError
,"null reference");
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 wxTreeItemId
* resultptr
;
27361 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27370 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27373 wxTreeItemId
*arg2
= 0 ;
27374 wxTreeItemId result
;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "item", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27387 if (arg2
== NULL
) {
27388 PyErr_SetString(PyExc_TypeError
,"null reference");
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27399 wxTreeItemId
* resultptr
;
27400 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27409 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27412 wxTreeItemId result
;
27413 PyObject
* obj0
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27423 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27429 wxTreeItemId
* resultptr
;
27430 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27439 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27442 wxTreeItemId
*arg2
= 0 ;
27443 wxTreeItemId result
;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "item", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27456 if (arg2
== NULL
) {
27457 PyErr_SetString(PyExc_TypeError
,"null reference");
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 wxTreeItemId
* resultptr
;
27469 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27478 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
;
27480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27481 wxTreeItemId
*arg2
= 0 ;
27482 wxTreeItemId result
;
27483 PyObject
* obj0
= 0 ;
27484 PyObject
* obj1
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self",(char *) "item", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27495 if (arg2
== NULL
) {
27496 PyErr_SetString(PyExc_TypeError
,"null reference");
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27507 wxTreeItemId
* resultptr
;
27508 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27517 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27520 wxString
*arg2
= 0 ;
27521 int arg3
= (int) -1 ;
27522 int arg4
= (int) -1 ;
27523 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27524 wxTreeItemId result
;
27525 bool temp2
= false ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 PyObject
* obj2
= 0 ;
27529 PyObject
* obj3
= 0 ;
27530 PyObject
* obj4
= 0 ;
27531 char *kwnames
[] = {
27532 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27539 arg2
= wxString_in_helper(obj1
);
27540 if (arg2
== NULL
) SWIG_fail
;
27544 arg3
= (int)SWIG_As_int(obj2
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 arg4
= (int)SWIG_As_int(obj3
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27552 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27563 wxTreeItemId
* resultptr
;
27564 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27581 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27584 wxTreeItemId
*arg2
= 0 ;
27585 wxString
*arg3
= 0 ;
27586 int arg4
= (int) -1 ;
27587 int arg5
= (int) -1 ;
27588 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27589 wxTreeItemId result
;
27590 bool temp3
= false ;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 PyObject
* obj2
= 0 ;
27594 PyObject
* obj3
= 0 ;
27595 PyObject
* obj4
= 0 ;
27596 PyObject
* obj5
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27605 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27607 if (arg2
== NULL
) {
27608 PyErr_SetString(PyExc_TypeError
,"null reference");
27612 arg3
= wxString_in_helper(obj2
);
27613 if (arg3
== NULL
) SWIG_fail
;
27617 arg4
= (int)SWIG_As_int(obj3
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 arg5
= (int)SWIG_As_int(obj4
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27636 wxTreeItemId
* resultptr
;
27637 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27654 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27657 wxTreeItemId
*arg2
= 0 ;
27658 wxTreeItemId
*arg3
= 0 ;
27659 wxString
*arg4
= 0 ;
27660 int arg5
= (int) -1 ;
27661 int arg6
= (int) -1 ;
27662 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27663 wxTreeItemId result
;
27664 bool temp4
= false ;
27665 PyObject
* obj0
= 0 ;
27666 PyObject
* obj1
= 0 ;
27667 PyObject
* obj2
= 0 ;
27668 PyObject
* obj3
= 0 ;
27669 PyObject
* obj4
= 0 ;
27670 PyObject
* obj5
= 0 ;
27671 PyObject
* obj6
= 0 ;
27672 char *kwnames
[] = {
27673 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27682 if (arg2
== NULL
) {
27683 PyErr_SetString(PyExc_TypeError
,"null reference");
27686 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27689 if (arg3
== NULL
) {
27690 PyErr_SetString(PyExc_TypeError
,"null reference");
27694 arg4
= wxString_in_helper(obj3
);
27695 if (arg4
== NULL
) SWIG_fail
;
27699 arg5
= (int)SWIG_As_int(obj4
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 arg6
= (int)SWIG_As_int(obj5
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27707 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27718 wxTreeItemId
* resultptr
;
27719 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27736 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27739 wxTreeItemId
*arg2
= 0 ;
27741 wxString
*arg4
= 0 ;
27742 int arg5
= (int) -1 ;
27743 int arg6
= (int) -1 ;
27744 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27745 wxTreeItemId result
;
27746 bool temp4
= false ;
27747 PyObject
* obj0
= 0 ;
27748 PyObject
* obj1
= 0 ;
27749 PyObject
* obj2
= 0 ;
27750 PyObject
* obj3
= 0 ;
27751 PyObject
* obj4
= 0 ;
27752 PyObject
* obj5
= 0 ;
27753 PyObject
* obj6
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27764 if (arg2
== NULL
) {
27765 PyErr_SetString(PyExc_TypeError
,"null reference");
27768 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 arg4
= wxString_in_helper(obj3
);
27772 if (arg4
== NULL
) SWIG_fail
;
27776 arg5
= (int)SWIG_As_int(obj4
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 arg6
= (int)SWIG_As_int(obj5
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27784 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27795 wxTreeItemId
* resultptr
;
27796 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27813 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27816 wxTreeItemId
*arg2
= 0 ;
27817 wxString
*arg3
= 0 ;
27818 int arg4
= (int) -1 ;
27819 int arg5
= (int) -1 ;
27820 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27821 wxTreeItemId result
;
27822 bool temp3
= false ;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 PyObject
* obj2
= 0 ;
27826 PyObject
* obj3
= 0 ;
27827 PyObject
* obj4
= 0 ;
27828 PyObject
* obj5
= 0 ;
27829 char *kwnames
[] = {
27830 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27839 if (arg2
== NULL
) {
27840 PyErr_SetString(PyExc_TypeError
,"null reference");
27844 arg3
= wxString_in_helper(obj2
);
27845 if (arg3
== NULL
) SWIG_fail
;
27849 arg4
= (int)SWIG_As_int(obj3
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27853 arg5
= (int)SWIG_As_int(obj4
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27857 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27868 wxTreeItemId
* resultptr
;
27869 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27886 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27889 wxTreeItemId
*arg2
= 0 ;
27890 PyObject
* obj0
= 0 ;
27891 PyObject
* obj1
= 0 ;
27892 char *kwnames
[] = {
27893 (char *) "self",(char *) "item", NULL
27896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27902 if (arg2
== NULL
) {
27903 PyErr_SetString(PyExc_TypeError
,"null reference");
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 Py_INCREF(Py_None
); resultobj
= Py_None
;
27920 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27923 wxTreeItemId
*arg2
= 0 ;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char *kwnames
[] = {
27927 (char *) "self",(char *) "item", NULL
27930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27936 if (arg2
== NULL
) {
27937 PyErr_SetString(PyExc_TypeError
,"null reference");
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 Py_INCREF(Py_None
); resultobj
= Py_None
;
27954 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
;
27956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->DeleteAllItems();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27979 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27982 wxTreeItemId
*arg2
= 0 ;
27983 PyObject
* obj0
= 0 ;
27984 PyObject
* obj1
= 0 ;
27985 char *kwnames
[] = {
27986 (char *) "self",(char *) "item", NULL
27989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27995 if (arg2
== NULL
) {
27996 PyErr_SetString(PyExc_TypeError
,"null reference");
28000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28001 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 Py_INCREF(Py_None
); resultobj
= Py_None
;
28013 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
;
28015 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28016 wxTreeItemId
*arg2
= 0 ;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "item", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28029 if (arg2
== NULL
) {
28030 PyErr_SetString(PyExc_TypeError
,"null reference");
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28040 Py_INCREF(Py_None
); resultobj
= Py_None
;
28047 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28048 PyObject
*resultobj
;
28049 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28050 wxTreeItemId
*arg2
= 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 char *kwnames
[] = {
28054 (char *) "self",(char *) "item", NULL
28057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
28058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28060 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28061 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28063 if (arg2
== NULL
) {
28064 PyErr_SetString(PyExc_TypeError
,"null reference");
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 Py_INCREF(Py_None
); resultobj
= Py_None
;
28081 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28082 PyObject
*resultobj
;
28083 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28084 wxTreeItemId
*arg2
= 0 ;
28085 PyObject
* obj0
= 0 ;
28086 PyObject
* obj1
= 0 ;
28087 char *kwnames
[] = {
28088 (char *) "self",(char *) "item", NULL
28091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
28092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28097 if (arg2
== NULL
) {
28098 PyErr_SetString(PyExc_TypeError
,"null reference");
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 Py_INCREF(Py_None
); resultobj
= Py_None
;
28115 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28128 (arg1
)->Unselect();
28130 wxPyEndAllowThreads(__tstate
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28133 Py_INCREF(Py_None
); resultobj
= Py_None
;
28140 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28143 wxTreeItemId
*arg2
= 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "item", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28156 if (arg2
== NULL
) {
28157 PyErr_SetString(PyExc_TypeError
,"null reference");
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 Py_INCREF(Py_None
); resultobj
= Py_None
;
28174 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
;
28176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 (arg1
)->UnselectAll();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 Py_INCREF(Py_None
); resultobj
= Py_None
;
28199 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28200 PyObject
*resultobj
;
28201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28202 wxTreeItemId
*arg2
= 0 ;
28203 bool arg3
= (bool) true ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 PyObject
* obj2
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "item",(char *) "select", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28217 if (arg2
== NULL
) {
28218 PyErr_SetString(PyExc_TypeError
,"null reference");
28222 arg3
= (bool)SWIG_As_bool(obj2
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 Py_INCREF(Py_None
); resultobj
= Py_None
;
28239 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28242 wxTreeItemId
*arg2
= 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self",(char *) "item", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28252 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28255 if (arg2
== NULL
) {
28256 PyErr_SetString(PyExc_TypeError
,"null reference");
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 Py_INCREF(Py_None
); resultobj
= Py_None
;
28273 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
;
28275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28276 wxTreeItemId
*arg2
= 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char *kwnames
[] = {
28280 (char *) "self",(char *) "item", NULL
28283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28287 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28289 if (arg2
== NULL
) {
28290 PyErr_SetString(PyExc_TypeError
,"null reference");
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 Py_INCREF(Py_None
); resultobj
= Py_None
;
28307 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28308 PyObject
*resultobj
;
28309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28310 wxTreeItemId
*arg2
= 0 ;
28311 PyObject
* obj0
= 0 ;
28312 PyObject
* obj1
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "self",(char *) "item", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28323 if (arg2
== NULL
) {
28324 PyErr_SetString(PyExc_TypeError
,"null reference");
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 Py_INCREF(Py_None
); resultobj
= Py_None
;
28341 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
;
28343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28344 wxTreeItemId
*arg2
= 0 ;
28345 PyObject
* obj0
= 0 ;
28346 PyObject
* obj1
= 0 ;
28347 char *kwnames
[] = {
28348 (char *) "self",(char *) "item", NULL
28351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28357 if (arg2
== NULL
) {
28358 PyErr_SetString(PyExc_TypeError
,"null reference");
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28368 Py_INCREF(Py_None
); resultobj
= Py_None
;
28375 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28376 PyObject
*resultobj
;
28377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28378 wxTextCtrl
*result
;
28379 PyObject
* obj0
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= wxPyMake_wxObject(result
, 0);
28403 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28406 wxTreeItemId
*arg2
= 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self",(char *) "item", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28419 if (arg2
== NULL
) {
28420 PyErr_SetString(PyExc_TypeError
,"null reference");
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28437 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28440 wxPoint
*arg2
= 0 ;
28442 wxTreeItemId result
;
28446 PyObject
* obj0
= 0 ;
28447 PyObject
* obj1
= 0 ;
28448 char *kwnames
[] = {
28449 (char *) "self",(char *) "point", NULL
28452 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 wxTreeItemId
* resultptr
;
28469 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28472 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28473 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28480 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28483 wxTreeItemId
*arg2
= 0 ;
28484 bool arg3
= (bool) false ;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 PyObject
* obj2
= 0 ;
28489 char *kwnames
[] = {
28490 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28499 if (arg2
== NULL
) {
28500 PyErr_SetString(PyExc_TypeError
,"null reference");
28504 arg3
= (bool)SWIG_As_bool(obj2
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= result
;
28521 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
;
28523 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28524 wxVisualAttributes result
;
28525 PyObject
* obj0
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "variant", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28532 arg1
= (int)SWIG_As_int(obj0
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28536 if (!wxPyCheckForApp()) SWIG_fail
;
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 wxVisualAttributes
* resultptr
;
28545 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28554 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28557 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28559 return Py_BuildValue((char *)"");
28561 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28562 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28567 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28572 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28574 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28581 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
;
28583 wxWindow
*arg1
= (wxWindow
*) 0 ;
28584 int arg2
= (int) (int)-1 ;
28585 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28587 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28588 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28589 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28590 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28591 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28592 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28593 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28594 int arg8
= (int) 0 ;
28595 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28596 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28597 wxGenericDirCtrl
*result
;
28598 bool temp3
= false ;
28601 bool temp7
= false ;
28602 bool temp9
= false ;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 PyObject
* obj2
= 0 ;
28606 PyObject
* obj3
= 0 ;
28607 PyObject
* obj4
= 0 ;
28608 PyObject
* obj5
= 0 ;
28609 PyObject
* obj6
= 0 ;
28610 PyObject
* obj7
= 0 ;
28611 PyObject
* obj8
= 0 ;
28612 char *kwnames
[] = {
28613 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 arg2
= (int)SWIG_As_int(obj1
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28625 arg3
= wxString_in_helper(obj2
);
28626 if (arg3
== NULL
) SWIG_fail
;
28633 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28639 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28643 arg6
= (long)SWIG_As_long(obj5
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28648 arg7
= wxString_in_helper(obj6
);
28649 if (arg7
== NULL
) SWIG_fail
;
28654 arg8
= (int)SWIG_As_int(obj7
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28659 arg9
= wxString_in_helper(obj8
);
28660 if (arg9
== NULL
) SWIG_fail
;
28665 if (!wxPyCheckForApp()) SWIG_fail
;
28666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28667 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28703 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxGenericDirCtrl
*result
;
28706 char *kwnames
[] = {
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28712 if (!wxPyCheckForApp()) SWIG_fail
;
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28726 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
;
28728 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28729 wxWindow
*arg2
= (wxWindow
*) 0 ;
28730 int arg3
= (int) (int)-1 ;
28731 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28733 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28734 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28735 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28736 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28737 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28738 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28740 int arg9
= (int) 0 ;
28741 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28742 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28744 bool temp4
= false ;
28747 bool temp8
= false ;
28748 bool temp10
= false ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 PyObject
* obj2
= 0 ;
28752 PyObject
* obj3
= 0 ;
28753 PyObject
* obj4
= 0 ;
28754 PyObject
* obj5
= 0 ;
28755 PyObject
* obj6
= 0 ;
28756 PyObject
* obj7
= 0 ;
28757 PyObject
* obj8
= 0 ;
28758 PyObject
* obj9
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28769 arg3
= (int)SWIG_As_int(obj2
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28774 arg4
= wxString_in_helper(obj3
);
28775 if (arg4
== NULL
) SWIG_fail
;
28782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28788 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28792 arg7
= (long)SWIG_As_long(obj6
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28797 arg8
= wxString_in_helper(obj7
);
28798 if (arg8
== NULL
) SWIG_fail
;
28803 arg9
= (int)SWIG_As_int(obj8
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28808 arg10
= wxString_in_helper(obj9
);
28809 if (arg10
== NULL
) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28853 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28856 wxString
*arg2
= 0 ;
28858 bool temp2
= false ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "path", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 arg2
= wxString_in_helper(obj1
);
28870 if (arg2
== NULL
) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28897 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
;
28899 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28929 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
;
28931 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28932 wxString
*arg2
= 0 ;
28933 bool temp2
= false ;
28934 PyObject
* obj0
= 0 ;
28935 PyObject
* obj1
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self",(char *) "path", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 arg2
= wxString_in_helper(obj1
);
28945 if (arg2
== NULL
) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28970 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28974 PyObject
* obj0
= 0 ;
28975 char *kwnames
[] = {
28976 (char *) "self", NULL
28979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29002 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29034 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29037 wxString
*arg2
= 0 ;
29038 bool temp2
= false ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self",(char *) "path", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29049 arg2
= wxString_in_helper(obj1
);
29050 if (arg2
== NULL
) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->SetPath((wxString
const &)*arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29075 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self",(char *) "show", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= (bool)SWIG_As_bool(obj1
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 (arg1
)->ShowHidden(arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 Py_INCREF(Py_None
); resultobj
= Py_None
;
29104 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29118 result
= (bool)(arg1
)->GetShowHidden();
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29133 PyObject
*resultobj
;
29134 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29136 PyObject
* obj0
= 0 ;
29137 char *kwnames
[] = {
29138 (char *) "self", NULL
29141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
29142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29164 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29165 PyObject
*resultobj
;
29166 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29167 wxString
*arg2
= 0 ;
29168 bool temp2
= false ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self",(char *) "filter", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 arg2
= wxString_in_helper(obj1
);
29180 if (arg2
== NULL
) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->SetFilter((wxString
const &)*arg2
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29205 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
;
29207 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "self", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
29215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_From_int((int)result
);
29231 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29235 PyObject
* obj0
= 0 ;
29236 PyObject
* obj1
= 0 ;
29237 char *kwnames
[] = {
29238 (char *) "self",(char *) "n", NULL
29241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
29242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 arg2
= (int)SWIG_As_int(obj1
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 (arg1
)->SetFilterIndex(arg2
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 Py_INCREF(Py_None
); resultobj
= Py_None
;
29260 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
;
29262 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29263 wxTreeItemId result
;
29264 PyObject
* obj0
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29274 result
= (arg1
)->GetRootId();
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29280 wxTreeItemId
* resultptr
;
29281 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29290 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29291 PyObject
*resultobj
;
29292 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29293 wxPyTreeCtrl
*result
;
29294 PyObject
* obj0
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= wxPyMake_wxObject(result
, 0);
29318 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29321 wxDirFilterListCtrl
*result
;
29322 PyObject
* obj0
= 0 ;
29323 char *kwnames
[] = {
29324 (char *) "self", NULL
29327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29344 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29347 wxTreeItemId arg2
;
29348 wxString
*arg3
= 0 ;
29350 wxTreeItemId result
;
29351 wxTreeItemId
*argp2
;
29352 bool temp3
= false ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 PyObject
* obj2
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "parentId",(char *) "path", NULL
29362 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29366 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29367 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29370 arg3
= wxString_in_helper(obj2
);
29371 if (arg3
== NULL
) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29382 wxTreeItemId
* resultptr
;
29383 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29386 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29387 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29402 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "self", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 (arg1
)->DoResize();
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 Py_INCREF(Py_None
); resultobj
= Py_None
;
29427 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 (arg1
)->ReCreateTree();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29445 Py_INCREF(Py_None
); resultobj
= Py_None
;
29452 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29455 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29457 return Py_BuildValue((char *)"");
29459 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29462 int arg2
= (int) (int)-1 ;
29463 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29464 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29465 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29466 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29467 long arg5
= (long) 0 ;
29468 wxDirFilterListCtrl
*result
;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 PyObject
* obj3
= 0 ;
29475 PyObject
* obj4
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 arg2
= (int)SWIG_As_int(obj1
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29500 arg5
= (long)SWIG_As_long(obj4
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 if (!wxPyCheckForApp()) SWIG_fail
;
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29508 wxPyEndAllowThreads(__tstate
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29518 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxDirFilterListCtrl
*result
;
29521 char *kwnames
[] = {
29525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29527 if (!wxPyCheckForApp()) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29541 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
;
29543 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29544 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29545 int arg3
= (int) (int)-1 ;
29546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29550 long arg6
= (long) 0 ;
29554 PyObject
* obj0
= 0 ;
29555 PyObject
* obj1
= 0 ;
29556 PyObject
* obj2
= 0 ;
29557 PyObject
* obj3
= 0 ;
29558 PyObject
* obj4
= 0 ;
29559 PyObject
* obj5
= 0 ;
29560 char *kwnames
[] = {
29561 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29570 arg3
= (int)SWIG_As_int(obj2
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29576 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29582 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29586 arg6
= (long)SWIG_As_long(obj5
);
29587 if (PyErr_Occurred()) SWIG_fail
;
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29605 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29606 PyObject
*resultobj
;
29607 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29608 wxString
*arg2
= 0 ;
29610 bool temp2
= false ;
29611 PyObject
* obj0
= 0 ;
29612 PyObject
* obj1
= 0 ;
29613 PyObject
* obj2
= 0 ;
29614 char *kwnames
[] = {
29615 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29622 arg2
= wxString_in_helper(obj1
);
29623 if (arg2
== NULL
) SWIG_fail
;
29626 arg3
= (int)SWIG_As_int(obj2
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 Py_INCREF(Py_None
); resultobj
= Py_None
;
29650 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29653 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29655 return Py_BuildValue((char *)"");
29657 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
;
29659 wxWindow
*arg1
= (wxWindow
*) 0 ;
29660 int arg2
= (int) (int)-1 ;
29661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29665 long arg5
= (long) 0 ;
29666 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29667 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29668 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29669 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29670 wxPyControl
*result
;
29673 bool temp7
= false ;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 PyObject
* obj2
= 0 ;
29677 PyObject
* obj3
= 0 ;
29678 PyObject
* obj4
= 0 ;
29679 PyObject
* obj5
= 0 ;
29680 PyObject
* obj6
= 0 ;
29681 char *kwnames
[] = {
29682 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29689 arg2
= (int)SWIG_As_int(obj1
);
29690 if (PyErr_Occurred()) SWIG_fail
;
29695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29701 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29705 arg5
= (long)SWIG_As_long(obj4
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29712 if (arg6
== NULL
) {
29713 PyErr_SetString(PyExc_TypeError
,"null reference");
29719 arg7
= wxString_in_helper(obj6
);
29720 if (arg7
== NULL
) SWIG_fail
;
29725 if (!wxPyCheckForApp()) SWIG_fail
;
29726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29727 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29747 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxPyControl
*result
;
29750 char *kwnames
[] = {
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29756 if (!wxPyCheckForApp()) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= (wxPyControl
*)new wxPyControl();
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29770 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
;
29772 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29773 PyObject
*arg2
= (PyObject
*) 0 ;
29774 PyObject
*arg3
= (PyObject
*) 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 PyObject
* obj2
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self",(char *) "self",(char *) "_class", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 Py_INCREF(Py_None
); resultobj
= Py_None
;
29801 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
;
29803 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "self",(char *) "size", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 Py_INCREF(Py_None
); resultobj
= Py_None
;
29833 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 PyObject
* obj2
= 0 ;
29843 PyObject
* obj3
= 0 ;
29844 PyObject
* obj4
= 0 ;
29845 char *kwnames
[] = {
29846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29852 arg2
= (int)SWIG_As_int(obj1
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29854 arg3
= (int)SWIG_As_int(obj2
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29856 arg4
= (int)SWIG_As_int(obj3
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29858 arg5
= (int)SWIG_As_int(obj4
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29862 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29864 wxPyEndAllowThreads(__tstate
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 Py_INCREF(Py_None
); resultobj
= Py_None
;
29874 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29875 PyObject
*resultobj
;
29876 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29881 int arg6
= (int) wxSIZE_AUTO
;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 PyObject
* obj5
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 arg2
= (int)SWIG_As_int(obj1
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29897 arg3
= (int)SWIG_As_int(obj2
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29899 arg4
= (int)SWIG_As_int(obj3
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29901 arg5
= (int)SWIG_As_int(obj4
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 arg6
= (int)SWIG_As_int(obj5
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 Py_INCREF(Py_None
); resultobj
= Py_None
;
29921 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
;
29923 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29926 PyObject
* obj0
= 0 ;
29927 PyObject
* obj1
= 0 ;
29928 PyObject
* obj2
= 0 ;
29929 char *kwnames
[] = {
29930 (char *) "self",(char *) "width",(char *) "height", NULL
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 arg2
= (int)SWIG_As_int(obj1
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29938 arg3
= (int)SWIG_As_int(obj2
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 Py_INCREF(Py_None
); resultobj
= Py_None
;
29954 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29959 PyObject
* obj0
= 0 ;
29960 PyObject
* obj1
= 0 ;
29961 PyObject
* obj2
= 0 ;
29962 char *kwnames
[] = {
29963 (char *) "self",(char *) "x",(char *) "y", NULL
29966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29969 arg2
= (int)SWIG_As_int(obj1
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29971 arg3
= (int)SWIG_As_int(obj2
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29977 wxPyEndAllowThreads(__tstate
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 Py_INCREF(Py_None
); resultobj
= Py_None
;
29987 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29988 PyObject
*resultobj
;
29989 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29990 int *arg2
= (int *) 0 ;
29991 int *arg3
= (int *) 0 ;
29996 PyObject
* obj0
= 0 ;
29997 char *kwnames
[] = {
29998 (char *) "self", NULL
30001 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30002 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
30004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30008 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 Py_INCREF(Py_None
); resultobj
= Py_None
;
30014 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30015 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30016 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30017 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30024 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
;
30026 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30027 int *arg2
= (int *) 0 ;
30028 int *arg3
= (int *) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self", NULL
30038 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30039 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
30041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 Py_INCREF(Py_None
); resultobj
= Py_None
;
30051 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30052 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30053 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30054 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30061 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
;
30063 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30064 int *arg2
= (int *) 0 ;
30065 int *arg3
= (int *) 0 ;
30070 PyObject
* obj0
= 0 ;
30071 char *kwnames
[] = {
30072 (char *) "self", NULL
30075 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30076 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
30078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 Py_INCREF(Py_None
); resultobj
= Py_None
;
30088 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30089 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30090 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30091 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30098 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30102 PyObject
* obj0
= 0 ;
30103 char *kwnames
[] = {
30104 (char *) "self", NULL
30107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
30108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
30114 wxPyEndAllowThreads(__tstate
);
30115 if (PyErr_Occurred()) SWIG_fail
;
30118 wxSize
* resultptr
;
30119 resultptr
= new wxSize((wxSize
&) result
);
30120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30128 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30129 PyObject
*resultobj
;
30130 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30132 PyObject
* obj0
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
30138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30148 wxSize
* resultptr
;
30149 resultptr
= new wxSize((wxSize
&) result
);
30150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30158 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30159 PyObject
*resultobj
;
30160 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30161 PyObject
* obj0
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
30167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 (arg1
)->base_InitDialog();
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 Py_INCREF(Py_None
); resultobj
= Py_None
;
30183 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
;
30185 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30187 PyObject
* obj0
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self", NULL
30192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
30193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (bool)(arg1
)->base_TransferDataToWindow();
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30211 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30215 PyObject
* obj0
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
30221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 result
= (bool)(arg1
)->base_TransferDataFromWindow();
30227 wxPyEndAllowThreads(__tstate
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30239 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
;
30241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30243 PyObject
* obj0
= 0 ;
30244 char *kwnames
[] = {
30245 (char *) "self", NULL
30248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
30249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (bool)(arg1
)->base_Validate();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30267 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30295 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30323 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30324 PyObject
*resultobj
;
30325 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30327 PyObject
* obj0
= 0 ;
30328 char *kwnames
[] = {
30329 (char *) "self", NULL
30332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 wxSize
* resultptr
;
30344 resultptr
= new wxSize((wxSize
&) result
);
30345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30353 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30354 PyObject
*resultobj
;
30355 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30356 wxWindow
*arg2
= (wxWindow
*) 0 ;
30357 PyObject
* obj0
= 0 ;
30358 PyObject
* obj1
= 0 ;
30359 char *kwnames
[] = {
30360 (char *) "self",(char *) "child", NULL
30363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->base_AddChild(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30382 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30385 wxWindow
*arg2
= (wxWindow
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "child", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->base_RemoveChild(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30411 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30415 PyObject
* obj0
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30439 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
;
30441 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30442 wxColour
*arg2
= 0 ;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char *kwnames
[] = {
30447 (char *) "self",(char *) "c", NULL
30450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 Py_INCREF(Py_None
); resultobj
= Py_None
;
30471 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30472 PyObject
*resultobj
;
30473 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30474 wxVisualAttributes result
;
30475 PyObject
* obj0
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= (arg1
)->base_GetDefaultAttributes();
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30491 wxVisualAttributes
* resultptr
;
30492 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30501 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30504 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30506 return Py_BuildValue((char *)"");
30508 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30511 int arg2
= (int) 0 ;
30512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30514 wxHelpEvent
*result
;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "type",(char *) "winid",(char *) "pt", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30525 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30529 arg2
= (int)SWIG_As_int(obj1
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30535 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30552 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
;
30554 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30566 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30572 wxPoint
* resultptr
;
30573 resultptr
= new wxPoint((wxPoint
&) result
);
30574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30582 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30585 wxPoint
*arg2
= 0 ;
30587 PyObject
* obj0
= 0 ;
30588 PyObject
* obj1
= 0 ;
30589 char *kwnames
[] = {
30590 (char *) "self",(char *) "pos", NULL
30593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 Py_INCREF(Py_None
); resultobj
= Py_None
;
30614 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
;
30616 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "self", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30630 result
= (wxString
*) &_result_ref
;
30633 wxPyEndAllowThreads(__tstate
);
30634 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30640 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30649 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
;
30651 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30652 wxString
*arg2
= 0 ;
30653 bool temp2
= false ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self",(char *) "link", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30664 arg2
= wxString_in_helper(obj1
);
30665 if (arg2
== NULL
) SWIG_fail
;
30669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30670 (arg1
)->SetLink((wxString
const &)*arg2
);
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 Py_INCREF(Py_None
); resultobj
= Py_None
;
30690 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30706 result
= (wxString
*) &_result_ref
;
30709 wxPyEndAllowThreads(__tstate
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30725 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30728 wxString
*arg2
= 0 ;
30729 bool temp2
= false ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "self",(char *) "target", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30740 arg2
= wxString_in_helper(obj1
);
30741 if (arg2
== NULL
) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 (arg1
)->SetTarget((wxString
const &)*arg2
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30766 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30769 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30771 return Py_BuildValue((char *)"");
30773 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30774 PyObject
*resultobj
;
30775 wxWindow
*arg1
= (wxWindow
*) NULL
;
30776 bool arg2
= (bool) true ;
30777 wxContextHelp
*result
;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 char *kwnames
[] = {
30781 (char *) "window",(char *) "doNow", NULL
30784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30790 arg2
= (bool)SWIG_As_bool(obj1
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30794 if (!wxPyCheckForApp()) SWIG_fail
;
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30808 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30811 PyObject
* obj0
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 Py_INCREF(Py_None
); resultobj
= Py_None
;
30833 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30834 PyObject
*resultobj
;
30835 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30836 wxWindow
*arg2
= (wxWindow
*) NULL
;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self",(char *) "window", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30867 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30871 PyObject
* obj0
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (bool)(arg1
)->EndContextHelp();
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30895 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30898 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30900 return Py_BuildValue((char *)"");
30902 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxWindow
*arg1
= (wxWindow
*) 0 ;
30905 int arg2
= (int) wxID_CONTEXT_HELP
;
30906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30910 long arg5
= (long) wxBU_AUTODRAW
;
30911 wxContextHelpButton
*result
;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 PyObject
* obj2
= 0 ;
30917 PyObject
* obj3
= 0 ;
30918 PyObject
* obj4
= 0 ;
30919 char *kwnames
[] = {
30920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30927 arg2
= (int)SWIG_As_int(obj1
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30943 arg5
= (long)SWIG_As_long(obj4
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30947 if (!wxPyCheckForApp()) SWIG_fail
;
30948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30949 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30961 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30964 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30966 return Py_BuildValue((char *)"");
30968 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30969 PyObject
*resultobj
;
30970 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30971 wxHelpProvider
*result
;
30972 PyObject
* obj0
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "helpProvider", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30982 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30994 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
;
30996 wxHelpProvider
*result
;
30997 char *kwnames
[] = {
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxHelpProvider
*)wxHelpProvider::Get();
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
31016 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31019 wxWindow
*arg2
= (wxWindow
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 PyObject
* obj1
= 0 ;
31023 char *kwnames
[] = {
31024 (char *) "self",(char *) "window", NULL
31027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31052 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31055 wxWindow
*arg2
= (wxWindow
*) 0 ;
31057 PyObject
* obj0
= 0 ;
31058 PyObject
* obj1
= 0 ;
31059 char *kwnames
[] = {
31060 (char *) "self",(char *) "window", NULL
31063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (bool)(arg1
)->ShowHelp(arg2
);
31072 wxPyEndAllowThreads(__tstate
);
31073 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31084 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31085 PyObject
*resultobj
;
31086 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31087 wxWindow
*arg2
= (wxWindow
*) 0 ;
31088 wxString
*arg3
= 0 ;
31089 bool temp3
= false ;
31090 PyObject
* obj0
= 0 ;
31091 PyObject
* obj1
= 0 ;
31092 PyObject
* obj2
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "window",(char *) "text", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31103 arg3
= wxString_in_helper(obj2
);
31104 if (arg3
== NULL
) SWIG_fail
;
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 Py_INCREF(Py_None
); resultobj
= Py_None
;
31129 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31133 wxString
*arg3
= 0 ;
31134 bool temp3
= false ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 PyObject
* obj2
= 0 ;
31138 char *kwnames
[] = {
31139 (char *) "self",(char *) "id",(char *) "text", NULL
31142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31145 arg2
= (int)SWIG_As_int(obj1
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 arg3
= wxString_in_helper(obj2
);
31149 if (arg3
== NULL
) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 Py_INCREF(Py_None
); resultobj
= Py_None
;
31174 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
;
31176 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31177 wxWindow
*arg2
= (wxWindow
*) 0 ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 char *kwnames
[] = {
31181 (char *) "self",(char *) "window", NULL
31184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31191 (arg1
)->RemoveHelp(arg2
);
31193 wxPyEndAllowThreads(__tstate
);
31194 if (PyErr_Occurred()) SWIG_fail
;
31196 Py_INCREF(Py_None
); resultobj
= Py_None
;
31203 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31206 PyObject
* obj0
= 0 ;
31207 char *kwnames
[] = {
31208 (char *) "self", NULL
31211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
31212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 wxHelpProvider_Destroy(arg1
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 Py_INCREF(Py_None
); resultobj
= Py_None
;
31228 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31231 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
31233 return Py_BuildValue((char *)"");
31235 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxSimpleHelpProvider
*result
;
31238 char *kwnames
[] = {
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31245 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31247 wxPyEndAllowThreads(__tstate
);
31248 if (PyErr_Occurred()) SWIG_fail
;
31250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31257 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31260 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31262 return Py_BuildValue((char *)"");
31264 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxBitmap
*arg1
= 0 ;
31267 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31268 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31269 wxGenericDragImage
*result
;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char *kwnames
[] = {
31273 (char *) "image",(char *) "cursor", NULL
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31280 if (arg1
== NULL
) {
31281 PyErr_SetString(PyExc_TypeError
,"null reference");
31285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31288 if (arg2
== NULL
) {
31289 PyErr_SetString(PyExc_TypeError
,"null reference");
31294 if (!wxPyCheckForApp()) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31308 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31311 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31312 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31313 wxGenericDragImage
*result
;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "image",(char *) "cursor", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31324 if (arg1
== NULL
) {
31325 PyErr_SetString(PyExc_TypeError
,"null reference");
31329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31332 if (arg2
== NULL
) {
31333 PyErr_SetString(PyExc_TypeError
,"null reference");
31338 if (!wxPyCheckForApp()) SWIG_fail
;
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31342 wxPyEndAllowThreads(__tstate
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31352 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31353 PyObject
*resultobj
;
31354 wxString
*arg1
= 0 ;
31355 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31356 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31357 wxGenericDragImage
*result
;
31358 bool temp1
= false ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "str",(char *) "cursor", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31367 arg1
= wxString_in_helper(obj0
);
31368 if (arg1
== NULL
) SWIG_fail
;
31372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31373 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31375 if (arg2
== NULL
) {
31376 PyErr_SetString(PyExc_TypeError
,"null reference");
31381 if (!wxPyCheckForApp()) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31403 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31404 PyObject
*resultobj
;
31405 wxPyTreeCtrl
*arg1
= 0 ;
31406 wxTreeItemId
*arg2
= 0 ;
31407 wxGenericDragImage
*result
;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "treeCtrl",(char *) "id", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31418 if (arg1
== NULL
) {
31419 PyErr_SetString(PyExc_TypeError
,"null reference");
31422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31425 if (arg2
== NULL
) {
31426 PyErr_SetString(PyExc_TypeError
,"null reference");
31430 if (!wxPyCheckForApp()) SWIG_fail
;
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31434 wxPyEndAllowThreads(__tstate
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31444 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31445 PyObject
*resultobj
;
31446 wxPyListCtrl
*arg1
= 0 ;
31448 wxGenericDragImage
*result
;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char *kwnames
[] = {
31452 (char *) "listCtrl",(char *) "id", NULL
31455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31459 if (arg1
== NULL
) {
31460 PyErr_SetString(PyExc_TypeError
,"null reference");
31463 arg2
= (long)SWIG_As_long(obj1
);
31464 if (PyErr_Occurred()) SWIG_fail
;
31466 if (!wxPyCheckForApp()) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31480 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31483 PyObject
* obj0
= 0 ;
31484 char *kwnames
[] = {
31485 (char *) "self", NULL
31488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 Py_INCREF(Py_None
); resultobj
= Py_None
;
31505 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
;
31507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31508 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31509 PyObject
* obj0
= 0 ;
31510 PyObject
* obj1
= 0 ;
31511 char *kwnames
[] = {
31512 (char *) "self",(char *) "bitmap", NULL
31515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 (arg1
)->SetBackingBitmap(arg2
);
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 Py_INCREF(Py_None
); resultobj
= Py_None
;
31534 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31535 PyObject
*resultobj
;
31536 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31537 wxPoint
*arg2
= 0 ;
31538 wxWindow
*arg3
= (wxWindow
*) 0 ;
31539 bool arg4
= (bool) false ;
31540 wxRect
*arg5
= (wxRect
*) NULL
;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 PyObject
* obj2
= 0 ;
31546 PyObject
* obj3
= 0 ;
31547 PyObject
* obj4
= 0 ;
31548 char *kwnames
[] = {
31549 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31562 arg4
= (bool)SWIG_As_bool(obj3
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31566 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31571 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31585 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
;
31587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31588 wxPoint
*arg2
= 0 ;
31589 wxWindow
*arg3
= (wxWindow
*) 0 ;
31590 wxWindow
*arg4
= (wxWindow
*) 0 ;
31593 PyObject
* obj0
= 0 ;
31594 PyObject
* obj1
= 0 ;
31595 PyObject
* obj2
= 0 ;
31596 PyObject
* obj3
= 0 ;
31597 char *kwnames
[] = {
31598 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31608 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31610 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31628 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (bool)(arg1
)->EndDrag();
31644 wxPyEndAllowThreads(__tstate
);
31645 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31656 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31659 wxPoint
*arg2
= 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char *kwnames
[] = {
31665 (char *) "self",(char *) "pt", NULL
31668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31691 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
;
31693 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31695 PyObject
* obj0
= 0 ;
31696 char *kwnames
[] = {
31697 (char *) "self", NULL
31700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (bool)(arg1
)->Show();
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31719 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 char *kwnames
[] = {
31725 (char *) "self", NULL
31728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 result
= (bool)(arg1
)->Hide();
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31747 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31748 PyObject
*resultobj
;
31749 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31750 wxPoint
*arg2
= 0 ;
31753 PyObject
* obj0
= 0 ;
31754 PyObject
* obj1
= 0 ;
31755 char *kwnames
[] = {
31756 (char *) "self",(char *) "pos", NULL
31759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31774 wxRect
* resultptr
;
31775 resultptr
= new wxRect((wxRect
&) result
);
31776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31784 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31785 PyObject
*resultobj
;
31786 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31788 wxPoint
*arg3
= 0 ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 PyObject
* obj2
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "dc",(char *) "pos", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31804 if (arg2
== NULL
) {
31805 PyErr_SetString(PyExc_TypeError
,"null reference");
31810 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31828 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
;
31830 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31832 wxMemoryDC
*arg3
= 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 PyObject
* obj2
= 0 ;
31841 PyObject
* obj3
= 0 ;
31842 PyObject
* obj4
= 0 ;
31843 char *kwnames
[] = {
31844 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31853 if (arg2
== NULL
) {
31854 PyErr_SetString(PyExc_TypeError
,"null reference");
31857 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31860 if (arg3
== NULL
) {
31861 PyErr_SetString(PyExc_TypeError
,"null reference");
31866 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31870 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31874 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31888 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31889 PyObject
*resultobj
;
31890 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31891 wxPoint
*arg2
= 0 ;
31892 wxPoint
*arg3
= 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 PyObject
* obj2
= 0 ;
31901 PyObject
* obj3
= 0 ;
31902 PyObject
* obj4
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31916 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31918 arg4
= (bool)SWIG_As_bool(obj3
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31920 arg5
= (bool)SWIG_As_bool(obj4
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31938 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31941 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31943 return Py_BuildValue((char *)"");
31945 static PyMethodDef SwigMethods
[] = {
31946 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
32037 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
32044 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
32049 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
32080 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
32120 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
32181 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
32193 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
32206 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
32218 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
32222 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
32240 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
32247 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32281 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
32303 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
32309 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32319 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32321 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32327 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32329 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32335 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32337 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32342 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32347 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32377 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32422 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32428 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32440 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32492 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32519 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32590 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32602 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32610 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32617 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32633 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32708 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32730 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32735 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32761 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32769 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32774 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32776 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32785 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32787 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32794 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32802 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32805 { NULL
, NULL
, 0, NULL
}
32809 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32811 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32812 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32814 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32815 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32817 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32818 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32820 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32821 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32823 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32824 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32826 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32827 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32829 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32830 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32832 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32833 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32835 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32838 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32839 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32841 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32842 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32844 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32845 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32847 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32848 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32850 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
32851 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
32853 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32854 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32856 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32857 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32859 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32860 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32862 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32865 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32866 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32868 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32869 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32871 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32874 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32875 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32877 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32878 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
32880 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32881 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
32883 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32884 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
32886 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32889 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32890 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32892 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32895 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32896 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32898 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32899 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32901 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32902 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32904 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32905 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32907 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32908 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32910 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32911 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32913 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32914 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32916 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32917 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32919 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32922 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32923 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32925 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32926 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32928 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32929 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32931 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32932 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32934 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32935 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32937 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32938 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32940 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32941 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32943 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32944 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32946 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32947 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32949 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32952 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32953 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32955 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32956 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32958 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32959 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32961 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32962 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32964 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32965 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32967 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32968 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32970 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32971 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32973 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32974 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32976 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32977 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32979 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32980 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32982 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32983 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32985 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32986 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32988 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
32989 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
32991 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32992 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32994 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32995 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32997 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32998 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
33000 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
33001 return (void *)((wxControl
*) ((wxPyControl
*) x
));
33003 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
33004 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
33006 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
33007 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33009 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
33010 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
33012 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
33013 return (void *)((wxControl
*) ((wxComboBox
*) x
));
33015 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
33016 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
33018 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
33019 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
33021 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
33022 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
33024 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
33025 return (void *)((wxControl
*) ((wxGauge
*) x
));
33027 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
33028 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
33030 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
33031 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33033 static void *_p_wxListbookTo_p_wxControl(void *x
) {
33034 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
33036 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
33037 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
33039 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
33040 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
33042 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
33043 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
33045 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
33046 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33048 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
33049 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33051 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
33052 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33054 static void *_p_wxListViewTo_p_wxControl(void *x
) {
33055 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
33057 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
33058 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
33060 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
33061 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
33063 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
33064 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
33066 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
33067 return (void *)((wxControl
*) ((wxStaticText
*) x
));
33069 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
33070 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
33072 static void *_p_wxSliderTo_p_wxControl(void *x
) {
33073 return (void *)((wxControl
*) ((wxSlider
*) x
));
33075 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
33076 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33078 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
33079 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
33081 static void *_p_wxButtonTo_p_wxControl(void *x
) {
33082 return (void *)((wxControl
*) ((wxButton
*) x
));
33084 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
33085 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
33087 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
33088 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
33090 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
33091 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
33093 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
33094 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33096 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
33097 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33099 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
33100 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33102 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
33103 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
33105 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
33106 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33108 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
33109 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33111 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
33112 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33114 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
33115 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33117 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
33118 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33120 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
33121 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
33123 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
33124 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
33126 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33127 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33129 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
33130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33132 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33133 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33135 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33136 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33138 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
33139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33141 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33142 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33144 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
33145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33147 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
33148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33150 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33151 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33153 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33154 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33156 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
33157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33159 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
33160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33162 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
33163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33165 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
33166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33168 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
33169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33171 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33172 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33174 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
33175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33177 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
33178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33180 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33183 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
33184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33186 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
33187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33189 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
33190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33192 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
33193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33195 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
33196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33198 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
33199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33201 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
33202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33204 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
33205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33207 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
33208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33210 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
33211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33213 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
33214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33216 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
33217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33219 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
33220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33222 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
33223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33225 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
33226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33228 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
33229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33231 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
33232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33234 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
33235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33237 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
33238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33240 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
33241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33243 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
33244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33246 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
33247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33249 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
33250 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33252 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33253 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33255 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33256 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33258 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33259 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33261 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33262 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33264 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33267 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33270 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33273 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33276 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33279 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33282 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33285 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33288 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) ((wxSizer
*) x
));
33291 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33294 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33297 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33300 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33303 static void *_p_wxEventTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) ((wxEvent
*) x
));
33306 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33309 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33312 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33315 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33318 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33321 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33324 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33327 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33330 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33333 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33336 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33339 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33342 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33345 static void *_p_wxControlTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33348 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33351 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33354 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33357 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33360 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33363 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33364 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33366 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33369 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33370 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33372 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33373 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33375 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33378 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33381 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33384 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33385 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33387 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33390 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33393 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33396 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33397 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33399 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33402 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33405 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33406 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33408 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33409 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33411 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33414 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33415 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33417 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33418 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33420 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33421 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33423 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33424 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33426 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33427 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33429 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33430 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33432 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33435 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33436 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33438 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
33439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33441 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33444 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33447 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33448 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33450 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33453 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33456 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33459 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33460 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33462 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33463 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33465 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33466 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33468 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33471 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33472 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33474 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33477 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33478 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33480 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33483 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33486 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33489 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33492 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33495 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33498 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33501 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33502 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33504 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33507 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33510 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33513 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33516 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33517 return (void *)((wxObject
*) ((wxListItem
*) x
));
33519 static void *_p_wxImageTo_p_wxObject(void *x
) {
33520 return (void *)((wxObject
*) ((wxImage
*) x
));
33522 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33523 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33525 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33526 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33528 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33531 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33532 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33534 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33537 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33540 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33543 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33546 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33549 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33550 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33552 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33553 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33555 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33558 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33559 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33561 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33564 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33565 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33567 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33570 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33571 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33573 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33574 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33576 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33577 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33579 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33580 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33582 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33583 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33585 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
33586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33588 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33591 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33594 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33595 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33597 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33600 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33601 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33603 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33604 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33606 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33609 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33612 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33613 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33615 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33618 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33621 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33624 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33625 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33627 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33628 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33630 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
33631 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
33633 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33634 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33636 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33637 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33639 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33640 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33642 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33643 return (void *)((wxWindow
*) ((wxControl
*) x
));
33645 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33646 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33648 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33649 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33651 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33652 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33654 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33655 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33657 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33658 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33660 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33661 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33663 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33664 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33666 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33667 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33669 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33670 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33672 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33673 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33675 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33676 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33678 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33679 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33681 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33682 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33684 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33685 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33687 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33688 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33690 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33691 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33693 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33694 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33696 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33697 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33699 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33700 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33702 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33703 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33705 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33706 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33708 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33709 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33711 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33712 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33714 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33715 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33717 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33718 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33720 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33721 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33723 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33724 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33726 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33727 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33729 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33730 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33732 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33733 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33735 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33736 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33738 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33739 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33741 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33742 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33744 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33745 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33747 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33748 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33750 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33751 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33753 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33754 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33756 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33757 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33759 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33760 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33762 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33763 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33765 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33766 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33768 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33769 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33771 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33772 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33774 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33775 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33777 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
33778 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33780 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33781 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33783 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33784 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33786 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33787 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33789 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33790 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33792 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33793 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33795 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33796 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33798 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33799 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33801 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33802 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33804 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33805 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33807 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33808 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33810 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}};
33811 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}};
33812 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}};
33813 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}};
33814 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}};
33815 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}};
33816 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}};
33817 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}};
33818 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}};
33819 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}};
33820 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}};
33821 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}};
33822 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}};
33823 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}};
33824 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}};
33825 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}};
33826 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}};
33827 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}};
33828 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}};
33829 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}};
33830 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}};
33831 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}};
33832 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}};
33833 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}};
33834 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}};
33835 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}};
33836 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}};
33837 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}};
33838 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}};
33839 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}};
33840 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}};
33841 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}};
33842 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}};
33843 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}};
33844 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}};
33845 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}};
33846 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}};
33847 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}};
33848 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}};
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 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}};
33854 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}};
33855 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}};
33856 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}};
33857 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}};
33858 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}};
33859 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}};
33860 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}};
33861 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}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33867 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}};
33868 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}};
33869 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}};
33870 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}};
33871 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}};
33872 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}};
33873 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}};
33874 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}};
33875 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}};
33876 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}};
33877 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}};
33878 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}};
33879 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}};
33880 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}};
33881 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}};
33882 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}};
33883 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}};
33884 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}};
33885 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}};
33886 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}};
33887 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}};
33888 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}};
33889 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}};
33890 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}};
33891 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}};
33892 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}};
33893 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}};
33894 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}};
33895 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}};
33896 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}};
33898 static swig_type_info
*swig_types_initial
[] = {
33899 _swigt__p_wxTextUrlEvent
,
33901 _swigt__p_wxCheckBox
,
33902 _swigt__p_wxPyTreeCtrl
,
33904 _swigt__p_wxGenericDirCtrl
,
33906 _swigt__p_wxPyTreeItemData
,
33907 _swigt__p_wxItemContainer
,
33908 _swigt__p_wxPyListCtrl
,
33909 _swigt__p_wxDirFilterListCtrl
,
33910 _swigt__p_wxStaticLine
,
33911 _swigt__p_wxControl
,
33912 _swigt__p_wxPyControl
,
33914 _swigt__p_wxToolBarBase
,
33916 _swigt__p_wxToggleButton
,
33917 _swigt__p_wxRadioButton
,
33918 _swigt__p_wxChoice
,
33919 _swigt__p_wxMemoryDC
,
33920 _swigt__p_wxListItemAttr
,
33925 _swigt__p_wxListView
,
33927 _swigt__p_wxVisualAttributes
,
33928 _swigt__p_wxTextCtrl
,
33929 _swigt__p_wxNotebook
,
33930 _swigt__p_wxChoicebook
,
33931 _swigt__p_wxNotifyEvent
,
33932 _swigt__p_wxArrayString
,
33933 _swigt__p_wxListbook
,
33934 _swigt__p_wxStaticBitmap
,
33935 _swigt__p_wxSlider
,
33936 _swigt__p_wxStaticBox
,
33937 _swigt__p_wxArrayInt
,
33938 _swigt__p_wxContextHelp
,
33940 _swigt__p_wxBookCtrlBase
,
33941 _swigt__p_wxEvtHandler
,
33942 _swigt__p_wxListEvent
,
33943 _swigt__p_wxCheckListBox
,
33944 _swigt__p_wxListBox
,
33945 _swigt__p_wxSpinButton
,
33946 _swigt__p_wxButton
,
33947 _swigt__p_wxBitmapButton
,
33949 _swigt__p_wxContextHelpButton
,
33950 _swigt__p_wxRadioBox
,
33951 _swigt__p_wxScrollBar
,
33953 _swigt__p_wxTreeItemId
,
33954 _swigt__p_wxComboBox
,
33955 _swigt__p_wxHelpEvent
,
33956 _swigt__p_wxListItem
,
33957 _swigt__p_wxNotebookSizer
,
33958 _swigt__p_wxSpinEvent
,
33959 _swigt__p_wxGenericDragImage
,
33960 _swigt__p_wxSpinCtrl
,
33961 _swigt__p_wxImageList
,
33962 _swigt__p_wxHelpProvider
,
33963 _swigt__p_wxTextAttr
,
33964 _swigt__p_wxSimpleHelpProvider
,
33966 _swigt__p_wxChoicebookEvent
,
33967 _swigt__p_wxListbookEvent
,
33968 _swigt__p_wxNotebookEvent
,
33969 _swigt__p_wxObject
,
33970 _swigt__p_wxCursor
,
33971 _swigt__p_wxKeyEvent
,
33972 _swigt__p_wxWindow
,
33973 _swigt__p_wxString
,
33974 _swigt__p_wxBitmap
,
33975 _swigt__p_wxTreeEvent
,
33976 _swigt__p_wxMouseEvent
,
33977 _swigt__p_wxBookCtrlBaseEvent
,
33978 _swigt__p_wxCommandEvent
,
33979 _swigt__p_wxStaticText
,
33980 _swigt__p_wxControlWithItems
,
33981 _swigt__p_wxToolBarToolBase
,
33982 _swigt__p_wxColour
,
33983 _swigt__p_wxToolBar
,
33984 _swigt__p_wxBookCtrlSizer
,
33985 _swigt__p_wxValidator
,
33990 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33992 static swig_const_info swig_const_table
[] = {
33993 {0, 0, 0, 0.0, 0, 0}};
34002 SWIGEXPORT(void) SWIG_init(void) {
34003 static PyObject
*SWIG_globals
= 0;
34004 static int typeinit
= 0;
34007 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34008 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34009 d
= PyModule_GetDict(m
);
34012 for (i
= 0; swig_types_initial
[i
]; i
++) {
34013 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34017 SWIG_InstallConstants(d
,swig_const_table
);
34019 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
34020 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
34021 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
34022 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
34023 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
34024 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
34025 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
34026 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
34027 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
34028 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
34029 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
34030 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
34031 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
34032 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
34033 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
34034 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
34035 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
34036 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
34037 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
34038 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
34039 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
34040 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
34041 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
34042 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
34043 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
34044 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
34045 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
34046 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
34047 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
34048 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
34049 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
34050 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
34051 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
34052 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
34053 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
34054 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
34055 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
34056 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
34057 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
34058 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
34059 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
34060 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
34061 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
34062 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
34063 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
34064 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
34065 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
34066 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
34067 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
34068 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
34069 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
34070 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
34071 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
34072 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
34073 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
34074 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
34075 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
34076 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
34077 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
34078 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
34079 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
34080 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
34081 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
34082 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
34083 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
34084 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
34085 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
34086 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
34087 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
34088 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
34089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
34090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
34091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
34092 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
34093 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
34094 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
34095 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
34096 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
34097 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
34098 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
34099 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
34100 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
34101 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
34102 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
34103 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
34104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
34105 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
34106 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
34107 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
34108 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
34109 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
34110 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
34111 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
34112 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
34113 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
34114 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
34115 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
34116 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
34117 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
34118 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
34119 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
34120 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
34121 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
34122 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
34123 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
34124 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
34125 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
34126 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
34127 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
34128 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
34129 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
34130 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
34131 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
34132 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
34133 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
34134 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
34135 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
34136 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
34137 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
34138 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
34139 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
34140 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
34141 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
34142 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
34143 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
34144 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
34145 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
34146 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
34147 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
34148 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
34149 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
34150 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
34151 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
34152 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
34153 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
34154 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
34155 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
34156 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
34157 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
34158 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
34159 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
34160 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
34161 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
34162 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
34163 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
34164 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
34165 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
34166 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
34167 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
34168 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
34169 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
34170 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
34171 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
34172 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
34173 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
34174 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
34175 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
34176 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
34177 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
34178 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
34179 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
34180 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
34181 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
34182 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
34183 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
34184 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
34185 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
34186 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
34187 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
34188 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
34189 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
34190 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
34191 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
34192 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
34193 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
34194 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
34195 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
34196 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
34197 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
34198 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
34199 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
34200 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
34201 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
34202 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
34203 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
34204 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
34205 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
34206 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
34207 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
34208 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
34209 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
34210 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
34211 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
34212 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
34213 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
34214 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
34215 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
34216 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
34217 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
34218 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
34219 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
34220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
34221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
34222 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
34223 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
34224 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
34225 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
34226 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
34227 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
34228 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
34229 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
34230 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
34231 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
34232 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
34233 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
34234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
34235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
34236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
34237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
34238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
34240 // Map renamed classes back to their common name for OOR
34241 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34243 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
34244 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
34245 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
34246 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
34247 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
34248 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
34249 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
34250 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
34251 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34252 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34253 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34254 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34255 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34256 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34257 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34258 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34259 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34260 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34261 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34262 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34263 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34264 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34265 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34266 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34267 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34268 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34269 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34270 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34271 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34272 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34273 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34274 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34275 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34276 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34277 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34278 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34282 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34283 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34284 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34285 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34286 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34287 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34288 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34289 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34290 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34291 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34292 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34293 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34294 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34295 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34300 // Map renamed classes back to their common name for OOR
34301 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34302 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34304 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34305 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34306 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34307 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34308 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34309 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34310 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34311 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34312 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34313 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34315 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");